metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Exploit::Seh#generate_seh_record
Generates an SEH record with zero or more options. The supported options
are:
NopGenerator
The NOP generator instance to use, if any.
Space
The amount of room the SEH record generator has to play with for
random padding. This should be derived from the maximum amount of
space available to the exploit for payloads minus the current payload
size.Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/exploit/seh.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Exploit--Seh-generate_seh_record-for-pr
# Commit to gitgit add lib/msf/core/exploit/seh.rbgit commit -m "better docs for Msf::Exploit::Seh#generate_seh_record"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Exploit--Seh-generate_seh_record-for-pr
hub pull-request
# Celebrate!