mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-20 05:23:28 -07:00
fixed logging in responder and some plugins
This commit is contained in:
parent
5ce49d2ff2
commit
5b0a15ea56
10 changed files with 36 additions and 14 deletions
5
mitmf.py
5
mitmf.py
|
@ -28,6 +28,7 @@ from twisted.internet import reactor
|
|||
from core.sslstrip.CookieCleaner import CookieCleaner
|
||||
from core.sergioproxy.ProxyPlugins import ProxyPlugins
|
||||
from core.utils import Banners
|
||||
from core.utils import PrintException
|
||||
from configobj import ConfigObj
|
||||
|
||||
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) #Gets rid of IPV6 Error when importing scapy
|
||||
|
@ -166,8 +167,8 @@ for p in plugins:
|
|||
for line in p.tree_output:
|
||||
print "| |_ %s" % line
|
||||
|
||||
except Exception, e:
|
||||
print "[-] Error loading plugin %s: %s" % (p.name, str(e))
|
||||
except Exception:
|
||||
print "[-] Error loading plugin %s: %s" % (p.name, PrintException())
|
||||
|
||||
#Plugins are ready to go, start MITMf
|
||||
if args.disproxy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue