Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://youtu.be/Fb4epvAJNu8
- Activation Loader V2.2 ( Memory Patching + Extra Features ) : by countryboy
- The version 2 Loader Code has been totally rewritten ! Unlimited Memory Writes, and executable commands !
- Version 2 has Extra features that previously required writing New Code, and compiling Loader for specific programs.
- Need a Loader to patch a program in memory because of CRC, File Certificate, or Packed to prevent File changes ?
- A Loader so simple, and easy to use : Just enter a Name, Version, File to Patch in a text file using Windows Notepad.
- EDIT BLANK EXAMPLE with Notepad : Name, Version, FileName, FileSize, OFFSET, CODE, NewCODE to create memory patch.
- EXTRA FEATURES : Run : Programs, Dos, Files : Open, Copy, Delete, Registry : Edit, Add, Delete, Import. Need a TRIAL RESET ?
- Version 2.1 has extra features : Test=1 under [Window] enables Test Mode to display received Command Line Parameters, and
- the Command Line sent to Program being Loaded if used as a Plugin by another program. The Loader can also be placed in a
- Sub Folder inside the Folder of Program being Loaded, but LoaderConfig.txt must be in same Folder as Loader. The Loader
- allows any Name for Sub Folder, and Loader itself can be Re-Named to Load a Renamed Program, but Name must be correctly
- listed as FileName= in LoaderConfig.txt. Test= will allow view of Parameters Passed, typing mistakes, and errors.
- Using Loader as Trial Reset with FileName= BLANK : Now requires [Patch] not be listed in LoaderConfig.txt := Error Message.
- HOW THE ACTIVATION LOADER WORKS :
- I wrote the v1 Loader Code many years ago for HitFilm 64 bit, and BuildBox 32 bit, because no 64 bit Loaders were available.
- HitFilm can be run in a Debugger, and Code changed, but changes can't be saved, because all Files check others CRC.
- BuildBox is slow, unpacks in memory, checks CRC of Patched Network.dll, and checks Code Segment Memory CRC of itself.
- LOADER START : Open LoaderConfig.TXT : Set Defaults, Check version, File Size, Setup messages, and minimize Window.
- KILL TASK( Program to Patch ) in case it's hung in memory from a previous run.
- KILL TASK( START ) : Protection Guards, or Crack protection programs loaded by Program to Patch. Needed in HitFilm.
- Message Box( START ), RUN( START ), RUN REGISTRY( Start only ), RUN( BEFOREPATCH ), and after Registry is done.
- ASLR : Windows loads programs into random selected Memory requiring search for Program Name to get Segment offset.
- GOD LIKE PRIVILEGES are requested to Debug, and change programs memory before loading, and starting.
- TIME CRITICAL : Need to wait for Windows to read Hard drive, and load program into Memory before starting search.
- Windows Function WaitForSingleObject() waits ReadmemWaitTime : max time in milliseconds to load, and exist in memory,
- and Windows Function WaitForDebugEvent waits additional 10 milliseconds maximum to finish loading.
- LET THE SEARCH BEGIN : Windows Function EnumProcessModules() used to search for Programs Name in Memory.
- While not found : If error then wait 1 millisecond before trying again & if not found after ASLRmemory_MaxAttempts=5000
- Set Image Base to Default ASLR, and create a Image Base not found message after 5 seconds the Attempt count.
- PACKED SLOW LOADING PROGRAMS : use Windows Function WaitForInputIdle() to wait for program to unpack itself.
- IMAGE BASE FOUND : Program Thread is suspended for Patching, and any Error Messages saved.
- LoaderConfig.txt opened, and list of Patches done. Code verified to exist before NewCode is written at Offset.
- If a Error occurs, Patch number is saved, and Patching continues. Critical Errors are displayed later in a Message Box.
- While Thread is suspended : Error messages displayed, and any RUN( AFTERPATCH ), or MsgBox( AFTERPATCH ) are done.
- CONTINUE : Resume Thread with Program continuing to Load. Restore any defaults changed like Normal Dos video.
- If Close Pop Up Box then Loop through list, close WindowName, and all numerical WindowName1 starting with 1,2,3
- If WaitTime= Default wait 35 seconds Maximum for Pop up to load. HitFilm Pop up slow due to Loading Internet images.
- BEFORE QUIT : KILL TASK( END ) Kill Programs, RUN( END ) Start Programs, or Message Box( END ), and QUIT !
- PROBLEMS : ERRORS Numbering Patch, Wait2, Run3, Message Box4 prevents Run of next item listed under that Section.
- INI SECTIONS : Read in loop, numbering, missing items like Destination for Copy, or any Error mark end & breaks the loop.
- If only part of Section in LoaderConfig.TXT is done then check for Typing, and numbering Errors as I had a few.
- SHOW ALL MESSAGES when Creating, Setting ReadmemWaitTime, and Testing Loader. Disable after Testing if desired.
- USE LoaderConfig.TXT EXAMPLES TUTORIAL AS GUIDELINE TO SETUP PATCHES, RUNS, TASK KILLS, AND MESSAGE BOXES.
- Released to Public Domain <(:-)> by countryboy
- Credit to countryboy for creating Loader would be nice ...
- Happy cracking, and Have a great day, countryboy
Add Comment
Please, Sign In to add comment