Skip to content

dbd4/debugMyShellcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debugMyShellcode

				+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
				|d|e|b|u|g|M|y|S|h|e|l|l|c|o|d|e|
				+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  by Dbd4
      

Description

Set of easy to use and fast tools to test or debug your shellcode. The tools included are:

Installation

Run the following commands in bash:

git clone https://github.com/dbd4/debugMyShellcode
cd debugMyShellcode
chmod +x debugMyShellcode.sh setup.sh
./setup.sh

Usage

  • testMyShellcode/testMyShellcode_noNX Just run testMyShellcode <file> or enter your shellcode as input in stdin (E.g. as a pipe) cat shellcode | testMyShellcode. You can also use the no NX version just by typing "testMyShellcode_noNX" instead of "testMyShellcode".

  • debugMyShellcode.sh Put your shellcode in bytes in "payload" and run debugMyShellcode.sh or use any of the other options:

    ----------------------------------------
    usage: ./debugMyShellcode.sh [-h] [-nNX] [-f <file>]
    ----------------------------------------
    -h, --help	Shows this help message
    -nNX	  	Uses the noNX binary. Use this if your shellcode
    		calls or jumps to the stack
    -f <file>	Uses the file specified as the shellcode to input
    	      	(the default file is "./payload")
    --pwn		Tries to use pwndbg instead of defined hooks. This
            	option will use "init-pwndbg" so make sure you have
            	set it up correctly in "~/.gdbinit"
    

    Then use gdb commands for debugging.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published