mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-30 11:48:27 -07:00
revamped appoison plugin and fixed some bugs
This commit is contained in:
parent
ca28de91f6
commit
0defaf7b86
12 changed files with 223 additions and 333 deletions
|
@ -20,7 +20,6 @@ import logging, re, string, random, zlib, gzip, StringIO
|
|||
import plugins
|
||||
|
||||
from twisted.web.http import HTTPClient
|
||||
from libs.ssltripkoto.ResponseTampererFactory import ResponseTampererFactory
|
||||
from URLMonitor import URLMonitor
|
||||
from libs.sergioproxy.ProxyPlugins import ProxyPlugins
|
||||
|
||||
|
@ -174,11 +173,6 @@ class ServerConnection(HTTPClient):
|
|||
#logging.log(self.getLogLevel(), "Read from server:\n <large data>" )
|
||||
|
||||
data = self.replaceSecureLinks(data)
|
||||
|
||||
#Hook the ResponseTampererFactory
|
||||
if self.responseTamperer:
|
||||
data = self.responseTamperer.tamper(self.client.uri, data, self.client.responseHeaders, self.client.getAllHeaders(), self.client.getClientIP())
|
||||
|
||||
res = self.plugins.hook()
|
||||
data = res['data']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue