metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#set_value
Sets the value of one static field. Each field must be member of the class type or one of its superclasses, superinterfaces, or implemented interfaces. Access control is not enforced; for example, the values of private fields can be set. Final fields cannot be set.For primitive values, the value's type must match the field's type exactly. For object values, there must exist a widening reference conversion from the value's type to the field's type and the field's type must be loaded.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/multi/misc/java_jdwp_debugger.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-set_value-for-pr
# Commit to gitgit add modules/exploits/multi/misc/java_jdwp_debugger.rbgit commit -m "better docs for MetasploitModule#set_value"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-set_value-for-pr
hub pull-request
# Celebrate!