Results 1 to 2 of 2
  1. #1
    0Bx's Avatar
    Join Date
    Feb 2021
    Gender
    male
    Location
    Finland
    Posts
    7
    Reputation
    10
    Thanks
    1
    My Mood
    Drunk

    Batch-file Junk code generator

    Exactly what the title says

    If you don't want to download unknown exe files this one is for you!
    "Batch-file" is a native "coding" language based on Windows OS and practically any Windows based operating system can run it.
    The source code is further down for those who want to have a look/just copy it from below!

    Basically creates some very basic junk code into a separate text file, will update + add a little bit of variation!


    https://www.virustotal.com/gui/file/...cbf5/detection Virustotal

    https://imgur.com/d8Mq55D

    https://imgur.com/GX9pCx7

    SOURCE CODE:

    Code:
       @EcHo off
    if exist "Generated code" goto skip
    md "Generated code"
    :skip
    if exist "Data" goto skip2
    md "Data"
    :skip2
    if exist "%CD%\Data\eula.txt" goto skip3
    echo eula=true>>"%CD%\Data\eula.txt"
    :skip3
    rem This was written by 0BX
    rem Could not find the artist behind the header skull so: https://www.asciiworld.com/-Death-Co-.html
    title %random%
    set /a junkc=100
    set /a headercd=5
    set "linecount=100"
    set "voidname=Project::JustJunk"
    set cc=00
    set ss=00
       @EcHo off
    findstr /m "eula=true" "%CD%\Data\eula.txt"
    cls
    if %errorlevel%==0 (
    goto header
    ) else (
    goto eerror )
    cls
    :header
    title %random%
    mode con cols=70 lines=22
    color 4
    echo                      Junk code generator V0.1 (C++)
    echo     .o oOOOOOOOo                                            OOOo
    echo     Ob.OOOOOOOo  OOOo.      oOOo.                      .adOOOOOOO
    echo     OboO"""""""""""".OOo. .oOOOOOo.    OOOo.oOOOOOo.."""""""""'OO
    echo     OOP.oOOOOOOOOOOO "POOOOOOOOOOOo.   `"OOOOOOOOOP,OOOOOOOOOOOB'
    echo     `O'OOOO'     `OOOOo"OOOOOOOOOOO` .adOOOOOOOOO"oOOO'    `OOOOo
    echo     .OOOO'            `OOOOOOOOOOOOOOOOOOOOOOOOOO'            `OO
    echo     OOOOO    by 0Bx     '"OOOOOOOOOOOOOOOO"`      @ MPGH      oOO
    echo    oOOOOOba.                .adOOOOOOOOOOba               .adOOOOo.
    echo   oOOOOOOOOOOOOOba.    .adOOOOOOOOOO@^OOOOOOOba.     .adOOOOOOOOOOOO
    echo  OOOOOOOOOOOOOOOOO.OOOOOOOOOOOOOO"`  '"OOOOOOOOOOOOO.OOOOOOOOOOOOOO
    echo  "OOOO"       "YOoOOOOMOIONODOO"`  .   '"OOROAOPOEOOOoOY"     "OOO"
    echo     Y           'OOOOOOOOOOOOOO: .oOOo. :OOOOOOOOOOO?'         :`
    echo     :            .oO%OOOOOOOOOOo.OOOOOO.oOOOOOOOOOOOO?         .
    echo     .            oOOP"%OOOOOOOOoOOOOOOO?oOOOOO?OOOO"OOo
    echo                  '%o  OOOO"%OOOO%"%OOOOO"OOOOOO"OOO':
    echo                       `$"  `OOOO' `O"Y ' `OOOO'  o             .
    echo     .                  .     OP"          : o     .
    echo                               :
    echo                               .
    echo                      Continuing in %headercd% seconds.
    set /a headercd=%headercd%-1
    if %headercd%==-1 goto menu
    ping localhost -n 2 >nul
    cls
    goto header
    cls
    :menu
    mode con cols=76 lines=17
    title Junk code generator V0.1
    cls
    color E
    echo #          Made by 0BX @ MPGH.net
    echo #          Please make your selection below:                        
    echo #                                                                   
    echo #          [1] Start writing                Logged in as: 0Bx
    echo #          [2] *Coming soon*                Expiration date: never
    echo #          [3] *Coming soon*                Sexiness: Hyper
    echo #          [4] *Coming soon*                   
    echo #          [5] Exit                                                  
    echo #                                                                   
    echo #          + This is a beta version and all options 
    echo #            may not work as intended 
    echo #          + Generating speed depends on your computer
    echo #          + A lot of junk code may slow down your script
    echo #      
    echo #          Previous time: %ss%,%cc% seconds                                               
    set /P mmenuc=Input: 
    if %mmenuc%==1 goto sw
    if %mmenuc%==2 goto ivip
    if %mmenuc% GEQ 3 goto ivip
    if %mmenuc%==5 exit
    :ivip
    cls
    color C
    echo Invalid input, try again...
    ping localhost -n 2 >nul
    goto menu
    
    :sw
    color E
    cls
    :writeform
    mode con:cols=70 lines=14
    echo Set your file name:
    set /P filename=Input: 
    cls
    color E
    :linecount
    cls
    if not defined voidname set "voidname=Project::JustJunk"
    echo How many lines do you want? (20-1000000)
    set /P linecount=Input: 
    if %linecount%== goto linecount
    if %linecount% GEQ 1000001 goto linecount
    echo set linecount=%linecount%>>"%CD%\Data\settings"
    goto writeprocesswin1
    exit
    :settingsb
    cls
    findstr /m "set filename=%filename%"
    findstr /m "set linecount=%linecount%" "%CD%\Data\Settings"
    echo Line count: %linecount% 
    ping localhost -n 3 >nul
    :writeprocesswin1
    title Generating...
    for /F "tokens=1-4 delims=:.," %%a in ("%time%") do (
       set /A "start=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100"
    )
    cls
    color E
    if not defined filename set filename=Generated_Junk
    echo void %voidname% ()>>"%CD%\Generated code\%filename%.txt"
    echo {>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-2
    goto nextstepf
    exit
    :nextstepf
    echo 	float pJC = %random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = 3rf%random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 		pJC = %random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 		pJC = %random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 		pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	if (pJC = %random%%random%);>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    echo 	pJC = %random%%random%%random%;>>"%CD%\Generated code\%filename%.txt"
    set /a linecount=%linecount%-1
    if %linecount%==0 goto stop
    if %linecount% GEQ 2 goto nextstepf
    :stop
    title Generating done,
    echo }>>"%CD%\Generated code\%filename%.txt"
    echo . >>"%CD%\Generated code\%filename%.txt"
    echo This was generated with 0BX's junk code generator.>>"%CD%\Generated code\%filename%.txt"
    for /F "tokens=1-4 delims=:.," %%a in ("%time%") do (
       set /A "end=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100"
    )
    set /A elapsed=end-start
    set /A hh=elapsed/(60*60*100), rest=elapsed%%(60*60*100), mm=rest/(60*100), rest%%=60*100, ss=rest/100, cc=rest%%100
    if %mm% lss 10 set mm=0%mm%
    if %ss% lss 10 set ss=0%ss%
    if %cc% lss 10 set cc=0%cc%
    title Generating done, time elapsed: %ss%,%cc%
    echo Code written in %ss%,%cc% seconds>>"%CD%\Generated code\%filename%.txt"
    echo Done, you can find the generated text from the
    echo same directory as this application.                                                   
    echo             + Code written in %ss%,%cc% seconds 
    echo                               sec, 100th of a sec              
    ping localhost -n 10 >nul
    title Junk code generator V0.1
    goto menu
    exit
    
    
    
    
    
    
    
    :eerror
    cls
    color 4
    echo Error! You must accept the eula first!
    ping localhost -n 4 >nul
    exit
    Last edited by 0Bx; 02-24-2021 at 10:24 AM. Reason: Added a bit of text

  2. #2
    bravo32s's Avatar
    Join Date
    Nov 2022
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    juck code

    thank you for your hard work

Similar Threads

  1. [Release] Batch-file Junk code generator
    By 0Bx in forum Counter-Strike 2 Coding & Resources
    Replies: 0
    Last Post: 02-24-2021, 10:01 AM
  2. Junk Code Generators
    By BOT SMiia in forum Counter-Strike 2 Coding & Resources
    Replies: 23
    Last Post: 07-29-2017, 02:04 AM
  3. [Release] [LUA] VB.NET Junk Code Generator
    By sethxi in forum Counter-Strike 2 Coding & Resources
    Replies: 45
    Last Post: 10-30-2015, 11:00 PM
  4. [Release] [LUA] VB.NET Junk Code Generator [FIX]
    By sethxi in forum Counter-Strike 2 Coding & Resources
    Replies: 0
    Last Post: 10-12-2015, 11:24 PM
  5. if anyone has junk code generator throw me some junk code here please
    By fwsefwsgrgwhergr in forum Visual Basic Programming
    Replies: 7
    Last Post: 07-30-2015, 10:22 AM