Merge branch 'master' of github.com:byt3bl33d3r/MITMf

This commit is contained in:
byt3bl33d3r 2015-11-03 17:57:47 -07:00
commit d542dc139f
2 changed files with 5 additions and 2 deletions

View file

@ -134,6 +134,6 @@ For a complete list of available options, just run ```python mitmf.py --help```
- **Inject** : Inject arbitrary content into HTML content - **Inject** : Inject arbitrary content into HTML content
- **BrowserSniper** : Performs drive-by attacks on clients with out-of-date browser plugins - **BrowserSniper** : Performs drive-by attacks on clients with out-of-date browser plugins
- **JSkeylogger** : Injects a Javascript keylogger into a client's webpages - **JSkeylogger** : Injects a Javascript keylogger into a client's webpages
- **Replace** : Replace arbitary content in HTML content - **Replace** : Replace arbitrary content in HTML content
- **SMBAuth** : Evoke SMB challenge-response authentication attempts - **SMBAuth** : Evoke SMB challenge-response authentication attempts
- **Upsidedownternet** : Flips images 180 degrees - **Upsidedownternet** : Flips images 180 degrees

View file

@ -82,7 +82,10 @@ class ProxyPlugins:
self.plugin_list.remove(p) self.plugin_list.remove(p)
log.debug("Removing {} plugin".format(p.name)) log.debug("Removing {} plugin".format(p.name))
for mthd,pmthd in self.mthdDict.iteritems(): for mthd,pmthd in self.mthdDict.iteritems():
self.plugin_mthds[mthd].remove(p) try:
self.plugin_mthds[mthd].remove(getattr(p,pmthd))
except KeyError:
pass #nothing to remove
def hook(self): def hook(self):
'''Magic to hook various function calls in sslstrip''' '''Magic to hook various function calls in sslstrip'''