mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-14 02:37:06 -07:00
version bump
This commit is contained in:
parent
fcdbe49df9
commit
caaee53079
7 changed files with 12 additions and 37 deletions
10
mitmf.py
10
mitmf.py
|
@ -5,7 +5,7 @@ from twisted.internet import reactor
|
|||
|
||||
from libs.sslstrip.CookieCleaner import CookieCleaner
|
||||
from libs.sergioproxy.ProxyPlugins import ProxyPlugins
|
||||
from libs.banners import get
|
||||
from libs.banners import get_banner
|
||||
|
||||
import logging
|
||||
|
||||
|
@ -30,7 +30,7 @@ mitmf_version = "0.9.5"
|
|||
sslstrip_version = "0.9"
|
||||
sergio_version = "0.2.1"
|
||||
|
||||
banner = get()
|
||||
banner = get_banner()
|
||||
print banner
|
||||
|
||||
parser = argparse.ArgumentParser(description="MITMf v%s - Framework for MITM attacks" % mitmf_version, version=mitmf_version, usage='', epilog="Use wisely, young Padawan.",fromfile_prefix_chars='@')
|
||||
|
@ -138,12 +138,12 @@ load = []
|
|||
|
||||
for p in plugins:
|
||||
try:
|
||||
if vars(args)[p.optname] is True:
|
||||
print "|_ %s v%s" % (p.name, p.version)
|
||||
|
||||
if getattr(args, p.optname):
|
||||
p.initialize(args)
|
||||
load.append(p)
|
||||
|
||||
if vars(args)[p.optname] is True:
|
||||
print "|_ %s v%s" % (p.name, p.version)
|
||||
except Exception, e:
|
||||
print "[-] Error loading plugin: " + str(e)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue