mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-14 10:47:05 -07:00
debug logs now show command string used on startup
This commit is contained in:
parent
0aba2ad62c
commit
c527dc1d21
1 changed files with 9 additions and 3 deletions
12
mitmf.py
12
mitmf.py
|
@ -78,6 +78,12 @@ options.mac = get_mac(options.interface)
|
|||
|
||||
settings.Config.populate(options)
|
||||
|
||||
from core.logger import logger
|
||||
formatter = logging.Formatter("%(asctime)s %(message)s", datefmt="%Y-%m-%d %H:%M:%S")
|
||||
log = logger().setup_logger("MITMf", formatter)
|
||||
|
||||
log.debug("MITMf started:{}".format(sys.argv))
|
||||
|
||||
from core.sslstrip.CookieCleaner import CookieCleaner
|
||||
from core.proxyplugins import ProxyPlugins
|
||||
from core.sslstrip.StrippingProxy import StrippingProxy
|
||||
|
@ -130,9 +136,9 @@ if options.filter:
|
|||
print "| |_ Applying filter {} to incoming packets".format(options.filter)
|
||||
|
||||
#Start mitmf-api
|
||||
#from core.mitmfapi import mitmfapi
|
||||
#print "|_ MITMf-API online"
|
||||
#mitmfapi().start()
|
||||
from core.mitmfapi import mitmfapi
|
||||
print "|_ MITMf-API online"
|
||||
mitmfapi().start()
|
||||
|
||||
#Start Net-Creds
|
||||
from core.netcreds import NetCreds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue