mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-19 13:10:03 -07:00
-Added check for correct version of NetfilterQueue library
-Updated README
This commit is contained in:
parent
10468bfa5e
commit
0bc4f8e1c3
2 changed files with 10 additions and 2 deletions
|
@ -11,7 +11,7 @@ This tool is completely based on sergio-proxy https://code.google.com/p/sergio-p
|
||||||
|
|
||||||
Dependency change!
|
Dependency change!
|
||||||
===================
|
===================
|
||||||
As of MITMF v0.9.5, DNS tampering support needs NetfilterQueue v0.6 which has yet to be merged into the main repo so it *cannot* be installed via pip or easy_install.
|
As of v0.9.5 DNS tampering support needs NetfilterQueue v0.6 which is currently a fork, so it *cannot* be installed via pip or easy_install.
|
||||||
|
|
||||||
Download it from here https://github.com/fqrouter/python-netfilterqueue and manually install it.
|
Download it from here https://github.com/fqrouter/python-netfilterqueue and manually install it.
|
||||||
|
|
||||||
|
|
10
mitmf.py
10
mitmf.py
|
@ -21,9 +21,17 @@ import sys
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
try:
|
||||||
|
import netfilterqueue
|
||||||
|
if netfilterqueue.VERSION[1] is not 6:
|
||||||
|
print "[-] Wrong version of NetfilterQueue library installed!"
|
||||||
|
print "[-] Download it from here https://github.com/fqrouter/python-netfilterqueue and manually install it!"
|
||||||
|
except ImportError:
|
||||||
|
print "[-] NetfilterQueue library missing! DNS tampering will not work"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import user_agents
|
import user_agents
|
||||||
except:
|
except ImportError:
|
||||||
print "[-] user_agents library missing! User-Agent parsing will be disabled!"
|
print "[-] user_agents library missing! User-Agent parsing will be disabled!"
|
||||||
|
|
||||||
mitmf_version = "0.9.5"
|
mitmf_version = "0.9.5"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue