Skip to content

zeropio/ShellcodeTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shellcode Template

Overview

This Rust-based tool translates assembly instructions into raw and Python-escaped opcodes.

Features

  • Translates assembly instructions to machine code opcodes.
  • Outputs raw byte representation of the opcodes.
  • Generates Python-escaped string for the opcodes.
  • Provides disassembly output for verification and readability.

Requirements

  • Rust
  • Keystone Engine (for assembly)

Installation

  1. Ensure Rust is installed on your system.
  2. Install Keystone. On Ubuntu, for example:
sudo apt-get install libkeystone-dev
paru -S keystone

Usage

Add your ASM code inside the code variable and:

cargo run

About

Simple Shellcode Template for Linux

Resources

License

Stars

Watchers

Forks

Languages