Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Print3M/shellcoder

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  1. Write your shellcode in shellcode.asm
  2. Run python shellcoder.py
  3. Execute output .exe file in out/ directory!

IMPORTANT: Indicate that you are using 64-bit mode at the beginning of the assembly file. Add [bits 64] to the shellcode.asm.

External dependencies

  • Python 3
  • NASM (Netwide Assembler)
  • Visual Studio 2022

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.