metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Sessions::Meterpreter#native_arch
Get a string representation of the architecture of the process in which the current session is running. This defaults to the same value of arch but can be overridden by specific meterpreter implementations to add support.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/base/sessions/meterpreter.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Sessions--Meterpreter-native_arch-for-pr
# Commit to gitgit add lib/msf/base/sessions/meterpreter.rbgit commit -m "better docs for Msf::Sessions::Meterpreter#native_arch"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Sessions--Meterpreter-native_arch-for-pr
hub pull-request
# Celebrate!