Skip to content

Proccess launch CLI (env + DLL inject)

License

Notifications You must be signed in to change notification settings

hyperbolus/blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

license version Discord

Usage

Grab a build from the Releases section or compile with Visual Studio

Usage: Blackjack [options] executable

Positional arguments:
executable              The executable you wish to launch

Optional arguments:
-h --help               shows help message and exits [default: false]
-v --version            prints version information and exits [default: false]
-q --quiet              Don't output any messages [default: false]
-d --working-dir        Set the working directory to launch
-l --dll                DLL file to be injected (multiple)
-e --env                Start proccess with environment variable (multiple)

Injecting DLLs

Using the --dll or -l flag you can create the process with the specified DLL injected. You can use it multiple times.

blackjack prog.exe -l mod-menu.dll -l crash-logger.dll

Environment Variables

Using the --env or -e flag you can create the process with custom environment variables. You can use it multiple times.

blackjack prog.exe -e EDITOR=nano -e SHIRT=cool

Note about 32 bit vs 64 bit

Make sure that the executable and the DLLs you load have the same bitness. ALSO make sure the version of Blackjack you use ALSO has the same bitness as the executable you wish to launch and DLLs you wish to inject. It may start, but the DLLs will not inject!

License

Blackjack is released under the MIT License