metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

Msf::Exploit::Remote::Gdb#step

Executes one instruction on the remote process

The results of running "step" will look like:
x86: $T0505:00000000;04:a0f7ffbf;08:d2f0fdb7;thread:p2d39.2d39;core:0;#53
x64: $T0506:0000000000000000;07:b0587f9fff7f0000;10:d3e29d03057f0000;thread:p8bf9.8bf9;core:0;#df
The third comma-separated field will contain EIP, and the register index
will let us deduce the remote architecture (through PC_REGISTERS lookup)

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/msf/core/exploit/gdb.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--Exploit--Remote--Gdb-step-for-pr


# Commit to git

git add lib/msf/core/exploit/gdb.rbgit commit -m "better docs for Msf::Exploit::Remote::Gdb#step"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Msf--Exploit--Remote--Gdb-step-for-pr

hub pull-request


# Celebrate!