Skip to content

kylewillmon/shellcode-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shellcode-rs

shellcode-rs is a shellcode runner for Windows written it Rust and assembly. It may be useful for testing shellcode.

Usage

If you have shellcode in a file test.bin, you can run it:

shellcode-rs.exe test.bin

The runner can use multiple execution methods to test different scenarios:

  • tail - Tail call uses a jmp at the end of the calling function
  • ret - Ret call overwrites the return address with the address of the shellcode and then returns into it

You can try out these methods with the -m flag like so:

shellcode-rs.exe -m tail test.bin

Hello World

For additional help in testing, this project also creates hello-world.exe. This binary can be run through a shellcode generator and the resulting shellcode can be tested with shellcode-rs.

About

Rust shellcode runner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published