Skip to content
This repository has been archived by the owner on Aug 28, 2018. It is now read-only.

fixes #201 #204

Merged
merged 1 commit into from
Oct 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion core/proxyplugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ def remove_plugin(self,p):
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'''
Expand Down