Skip to content

Script to create a Windows executable (x86/64) from a given shellcode file.

License

Notifications You must be signed in to change notification settings

TheEnergyStory/shellcode_to_exe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

shellcode_to_exe

Script to create a Windows executable (x86/64) from a given shellcode file.

Usage

The script has the following options:

usage: shellcode_to_exe.py [-h] -b BITNESS -s SHELLCODE [-e EXECUTABLE]

Create a Windows executable (x86/64) from a shellcode file

options:
  -h, --help            show this help message and exit
  -b, --bitness BITNESS
                        "32" or "64" (bitness)
  -s, --shellcode SHELLCODE
                        Shellcode file path
  -e, --executable EXECUTABLE
                        Executable output path

For example, if you want to create a 64-bit EXE file x64_executable.exe from an extracted 64-bit shellcode file x64_shellcode.bin:

python shellcode_to_exe.py -b 64 -s C:\x64_shellcode.bin -e C:\x64_executable.exe

About

Script to create a Windows executable (x86/64) from a given shellcode file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages