Sinisterly
How to use BeEF cross-network - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Hacking (https://sinister.ly/Forum-Hacking)
+--- Forum: Network Hacking (https://sinister.ly/Forum-Network-Hacking)
+--- Thread: How to use BeEF cross-network (/Thread-How-to-use-BeEF-cross-network)



How to use BeEF cross-network - Potur - 06-28-2016

Hi

I'm experimenting with BeEF. And I'm able to hook on a browser of a PC which is on the SAME network. But as soon as I try to do it with a PC on another network, I can't get it to hook on.

Mainly, because you need to hook the hook.js file. But BeEF only gives you a hook.js file for localhost (127.0.0.1), and one for your internal-network ip (192.156.0.1 for example).

If I make a quick index.html on e.g a 000webhost.com server (e.g www.example.com), and link my 192.156.0.1/hook.js to it I can hook up browsers which are on the same network. But I cannot hook a browser if I visit the website from another network.

So basically:
How do you hook-up a browser on another network than you, with BeEF?

Thanks a lot!


RE: How to use BeEF cross-network - meow - 06-28-2016

If you can't figure this out then you shouldn't be trying to use BeEF.


RE: How to use BeEF cross-network - Potur - 06-29-2016

Nvm, had to port-forward. Working now.