metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
#chkvm
Function to check if Target Machine a VM Note: will add soon Hyper-v and Citrix Xen check.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open scripts/meterpreter/winenum.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs--chkvm-for-pr
# Commit to gitgit add scripts/meterpreter/winenum.rbgit commit -m "better docs for #chkvm"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs--chkvm-for-pr
hub pull-request
# Celebrate!