From f7396d631d431d68a644be28c67b1f479b4bbc80 Mon Sep 17 00:00:00 2001 From: xiao-mou Date: Mon, 28 Sep 2015 21:22:10 +0800 Subject: [PATCH 1/2] bugfix --- core/proxyplugins.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/proxyplugins.py b/core/proxyplugins.py index 7ea6c54..ff4390e 100644 --- a/core/proxyplugins.py +++ b/core/proxyplugins.py @@ -82,7 +82,10 @@ class ProxyPlugins: self.plugin_list.remove(p) log.debug("Removing {} plugin".format(p.name)) 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): '''Magic to hook various function calls in sslstrip''' From ba280cc64c08c2a250fe40cd6d52dd0bc84b7951 Mon Sep 17 00:00:00 2001 From: orthographic-pedant Date: Wed, 30 Sep 2015 18:51:40 -0400 Subject: [PATCH 2/2] Fixed typographical error, changed arbitary to arbitrary in README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37236bc..43f541c 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,6 @@ For a complete list of available options, just run ```python mitmf.py --help``` - **Inject** : Inject arbitrary content into HTML content - **BrowserSniper** : Performs drive-by attacks on clients with out-of-date browser plugins - **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 - **Upsidedownternet** : Flips images 180 degrees