-Added check for correct version of NetfilterQueue library

-Updated README
This commit is contained in:
byt3bl33d3r 2015-03-14 14:17:58 +01:00
commit 0bc4f8e1c3
2 changed files with 10 additions and 2 deletions

View file

@ -21,9 +21,17 @@ import sys
import argparse
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:
import user_agents
except:
except ImportError:
print "[-] user_agents library missing! User-Agent parsing will be disabled!"
mitmf_version = "0.9.5"