mirror of
https://github.com/Print3M/shellcoder
synced 2026-06-08 12:15:36 +00:00
6c25796d2b580bc51cee204ddaeecb57a51f4478
Shellcoder.py
Write your shellcode in Assembly and execute it with one command!
This script helps automate the shellcode testing process. It takes an Assembly file with the shellcode (shellcode.asm), compiles it into machine code (NASM), generates a payload in C with that, and pastes it into the loader.c file. Finally, the prepared C file is compiled using MSVC. With this script you go from Assembly shellcode to executable file with one command!
Usage
Shellcoder script most probably should be used on Windows because of the MSVC requirement.
- Write your shellcode in
shellcode.asm - Run
python shellcoder.py - Execute output
.exefile inout/directory!
Important
: Indicate that you are using 64-bit mode at the beginning of the assembly file. Add
[bits 64]to theshellcode.asm.
External dependencies
- Python 3
- NASM (Netwide Assembler)
- Visual Studio 2022
Description
Languages
Assembly
52.7%
Python
41.3%
C
6%