Zalthorias Posted September 1, 2014 Share Posted September 1, 2014 Hey guys. im new on here and the registration question was really confusing. anyway back to why im here. I've recently started messing arnd with metasploit (in a lan enviroment) and its worked so far. so i tried to send the connection through the internet rather than through the lan network. i've not been able to get any kind of success and i hope that you guys could point out my errors. ive taken several screenshots to show what Ive done. For security's sake ive covered the LHOST and LPORTS. but basically the LHOST is my external IP which i got from - http://www.whatsmyip.org/ and I've already port fowarded my LPORT. When i run exploit and run the program on my victim computer nothing happens. can any one share with me where i have gone wrong? Many many thanks in advance Quote Link to comment Share on other sites More sharing options...
cooper Posted September 1, 2014 Share Posted September 1, 2014 Is something listening on this port and does your router know that incoming traffic on LPORT needs to be directed towards your machine? Quote Link to comment Share on other sites More sharing options...
Zalthorias Posted September 1, 2014 Author Share Posted September 1, 2014 ive set my router to port forward. not really sure what else i can do or how to check :/ Quote Link to comment Share on other sites More sharing options...
cooper Posted September 1, 2014 Share Posted September 1, 2014 How 'remote' is the remote machine? Is it accessible to you via the internet or on your lan? Is the target machine able to create an outbound connection to you at the specified port? Maybe it needs a proxy or whatever. I'm a bit puzzled though. Isn't the idea of using metasploit that you can tunnel whatever traffic you want through it rather than calling home via a separate link? Quote Link to comment Share on other sites More sharing options...
Zalthorias Posted September 2, 2014 Author Share Posted September 2, 2014 it is connected to lan as well as internet. metasploit can use the lan but its the over the internet that cant work. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 3, 2014 Share Posted September 3, 2014 Go into your router's admin panel, check the external IP address. Then make sure that matches the IP from like ipchicken or other means. If they match, all you should need to do is port forward. May need to modify local firewall settings. Quote Link to comment Share on other sites More sharing options...
i8igmac Posted September 6, 2014 Share Posted September 6, 2014 When kali has the exploit handler running on the port of your choice... if your router is configured properly then the tool below will show the port is open http://www.t1shopper.com/tools/port-scan/ My guess, if the port is open and responds then i bet you may have generated the payload wrong Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.