上QQ阅读APP看书,第一时间看更新
Installing Metasploit Community Edition on Windows
For a successful installation on Windows, follow these steps:
- First of all, please make sure that you have disabled the anti-virus (AV) and firewall on your system. AV generally detects and flags some files as malicious in Metasploit CE:
- Also, please make sure that you put the Metasploit installation folder in your AV and firewall exceptions list if you're running Windows. This way, your generated payloads will be excluded from the AV:
- Since Metasploit CE can also be accessed via a web interface (over SSL), please make sure you provide the correct Server Name (hostname) for the SSL certificate generation process:
- Once the installation is complete, you can check all the files in the C:\metasploit directory:
- Before you can start using the web interface, you need to initialize the user account. If you try accessing the web server using the hostname instead of localhost, you'll get a warning message. To continue, just follow the instructions given:
- To initialize the user account, you need to execute the createuser Batch script available in the C:\metasploit directory:
- There is just one last step left now. Once the user has been created, you will be redirected to the activation page. To activate the CE instance, you need to get the product key, which can be retrieved from the registered email ID you used at the time of registration (this is why registration is important – so you can receive the activation code via email):
- Use the product key from your email and activate Metasploit CE:
On successful activation, you'll be redirected to the Project Listing page:
Before you can start using the Metasploit web interface, you need to develop an understanding of the interface itself.
Note: The trial key can't be reused and will expire in 14 days.