A runtime Assembly (Shellcode) Development and Analysis Tool
This is a Assembly REPL (Read-Eval-Print Loop) tool for assembling, analyzing, and executing x86-64 assembly as form of shellcode.
- Symbol introspection with base address resolution
- Interactive shellcode development environment
- Symbol lookup and analysis tools
- File save/load asm/shellcode
Ensure you have the following dependencies installed:
- Nasm: Netwide Assembler
- Capstone: Disassembler library
- Readline: Command-line editing library
git clone https://github.com/x3ric/asm
cd asm
make
make run
h
/hex
: Enter shellcode as hexadecimala
/asm
: Enter shellcode in assembly language
r
/run
: Execute the assembled codes
/show
: Disassemble and display the coded
/dump
: Hex dump the raw shellcode bytesc
/clear
: Clear the shellcode buffer
sv
/save
: Save asm/shellcode to a fileld
/load
: Load asm/shellcode from a file
b
/base
: Set the base addresssy
/syntax
: Toggle between Intel/AT&T syntax
sm
/symbols
: List all symbolssg
/symgrep
: Search symbols by patternso
/symoffset
: Get offset from mainsr
/symraw
: Generate shellcode for an offset
?
/help
: Display help messageq
/exit
: Quit the program