コード例 #1
0
ファイル: ServerConnection.py プロジェクト: episage/sslstrip
 def __init__(self, command, uri, postData, headers, client):
     self.command          = command
     self.uri              = uri
     self.postData         = postData
     self.headers          = headers
     self.client           = client
     self.urlMonitor       = URLMonitor.getInstance()
     self.responseTamperer = ResponseTampererFactory.getTampererInstance()
     self.isImageRequest   = False
     self.isCompressed     = False
     self.contentLength    = None
     self.shutdownComplete = False
コード例 #2
0
 def __init__(self, command, uri, postData, headers, client):
     self.command          = command
     self.uri              = uri
     self.postData         = postData
     self.headers          = headers
     self.client           = client
     self.urlMonitor       = URLMonitor.getInstance()
     self.responseTamperer = ResponseTampererFactory.getTampererInstance()
     self.isImageRequest   = False
     self.isCompressed     = False
     self.contentLength    = None
     self.shutdownComplete = False
コード例 #3
0
 def __init__(self, command, uri, postData, headers, client):
     self.command          = command
     self.uri              = uri
     self.postData         = postData
     self.headers          = headers
     self.client           = client
     self.urlMonitor       = URLMonitor.getInstance()
     self.responseTamperer = ResponseTampererFactory.getTampererInstance()
     self.isImageRequest   = False
     self.isCompressed     = False
     self.contentLength    = None
     self.shutdownComplete = False
     self.plugins          = {}
     plugin_classes = Plugin.PluginProxy.__subclasses__()
     for p in plugin_classes: self.plugins[p._name] = p()
     for pluginscheck in self.plugins.keys():
         if self.plugins[pluginscheck].getInstance()._activated:
             self.HTMLInjector = self.plugins[pluginscheck].getInstance()
コード例 #4
0
 def __init__(self, command, uri, postData, headers, client):
     self.command          = command
     self.uri              = uri
     self.postData         = postData
     self.headers          = headers
     self.client           = client
     self.urlMonitor       = URLMonitor.getInstance()
     self.responseTamperer = ResponseTampererFactory.getTampererInstance()
     self.isImageRequest   = False
     self.isCompressed     = False
     self.contentLength    = None
     self.shutdownComplete = False
     self.plugins          = {}
     plugin_classes = Plugin.PluginProxy.__subclasses__()
     for p in plugin_classes: self.plugins[p._name] = p()
     for pluginscheck in self.plugins.keys():
         if self.plugins[pluginscheck].getInstance()._activated:
             self.HTMLInjector = self.plugins[pluginscheck].getInstance()