mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-03-12 04:35:49 -07:00
- Added 'args' option in config file - HSTS bypass is now a plugin (SSLstrip+) - SMBAuth now defaults to specified interface IP if --host is not passed - Modified plugins for new config support - Changed appoison and responder plugin for ConfigObj library support - Minor visual argparse changes - Slapped santa on the head with a trout - Gave rudolf a new nose
21 lines
520 B
Python
21 lines
520 B
Python
from plugins.plugin import Plugin
|
|
from libs.sslstrip.URLMonitor import URLMonitor
|
|
import sys
|
|
|
|
class HSTSbypass(Plugin):
|
|
name = 'SSLstrip+'
|
|
optname = 'hsts'
|
|
desc = 'Enables SSLstrip+ for partial HSTS bypass'
|
|
has_opts = False
|
|
|
|
def initialize(self, options):
|
|
self.options = options
|
|
|
|
try:
|
|
config = options.configfile['SSLstrip+']
|
|
except Exception, e:
|
|
sys.exit("[-] Error parsing config for SSLstrip+: " + str(e))
|
|
|
|
print "[*] SSLstrip+ plugin online"
|
|
URLMonitor.getInstance().setHstsBypass(config)
|