Skip to content

Batcherss/shellconverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

This tool is for educational and research purposes only. The author is not responsible for any misuse or illegal activity.

goexectoshell

Go
Platform
License
Shellcode A simple and fast .exe / .dll to raw .bin shellcode converter with optional AES encryption and shellcode optimization.


Features

  • Converts PE files (.exe or .dll) into shellcode (.bin)
  • Optional AES encryption (CTR mode) using a passphrase
  • Optional shellcode optimization (removes commas for cleaner output)
  • Minimal and fast, written in pure Go
  • Required library "golang.org/x/crypto/chacha20"

Usage

shellconverter -i <input_file> -o <output_file> [-crypt <passphrase>] [-opt]

or

go run main.go -i <input_file> -o <output_file> [-crypt <passphrase>] [-opt]
  • What it does?:
    • -i Input file (.exe or .dll)
    • -o Output file (.bin shellcode)
    • -crypt (Optional) AES encryption passphrase
    • -opt (Optional) Optimizes shellcode (removes commas)

Example

shellconverter -i input.exe -o output.bin -crypt="mysecurepassword" -opt

or

go run main.go -i input.exe -o output.bin -crypt="mysecurepassword" -opt

The resulting output.bin contains raw shellcode, ready for use in loaders or injection tools.


Can be installed like tool

go install github.com/Batcherss/shellconverter@latest

And use like this

shellconverter

Automaticly added to the path.