mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 13:32:18 -07:00
bugfix
This commit is contained in:
parent
f6ffad2879
commit
f7396d631d
1 changed files with 4 additions and 1 deletions
|
@ -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'''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue