Fixed bug where Net-Creds wouldn't parse URL's and HTTP data when reading from pcap

Active packet filtering engine and proxy + servers are now mutually exclusive , you can only start one of them (iptable conflicts)
This commit is contained in:
byt3bl33d3r 2015-09-01 14:15:21 +02:00
parent 28fc081068
commit 986b2b851f
9 changed files with 179 additions and 160 deletions

View file

@ -108,9 +108,10 @@ class ProxyPlugins:
log.debug("hooking {}()".format(fname))
#calls any plugin that has this hook
try:
for f in self.plugin_mthds[fname]:
a = f(**args)
if a != None: args = a
if self.plugin_mthds:
for f in self.plugin_mthds[fname]:
a = f(**args)
if a != None: args = a
except Exception as e:
#This is needed because errors in hooked functions won't raise an Exception + Traceback (which can be infuriating)
log.error("Exception occurred in hooked function")