Forked from dafthack/gist:8aa4ff60cd9352448a372ce1a7b2e27e
Created
November 19, 2019 02:10
-
-
Save JonnyBanana/d0a6d5b39c932614d100618354ad226f to your computer and use it in GitHub Desktop.
Easy Metasploit Install on Windows Subsystem for Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps to install Metasploit on Windows 10 using the Windows Subsystem for Linux | |
1.) Enable Developer Mode | |
C:\> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1" | |
2.) Enable Windows Subsystem for Linux | |
C:\> DISM /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux | |
3.) Reboot | |
4.) Type "bash" at cmd line to get into Windows Subsystem for Linux and create a new password for your user. | |
5.) Install Metasploit | |
test@Desktop:/mnt/c$ curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment