本文整理汇总了Python中w3af.core.controllers.plugins.infrastructure_plugin.InfrastructurePlugin类的典型用法代码示例。如果您正苦于以下问题:Python InfrastructurePlugin类的具体用法?Python InfrastructurePlugin怎么用?Python InfrastructurePlugin使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了InfrastructurePlugin类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
# Internal variables
self._first_exec = True
self._already_queried = ScalableBloomFilter()
self._can_resolve_domain_names = False
示例2: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
#
# Could change in time,
#
self._xssed_url = URL("http://www.xssed.com")
self._fixed = "<img src='http://data.xssed.org/images/fixed.gif'> FIXED</th>"
示例3: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
# Internal variables
self._accounts = []
# User configured
self._result_limit = 300
示例4: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
#
# Internal variables
#
self._not_filtered = []
self._filtered = []
示例5: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
# Internal variables
self._already_tested = ScalableBloomFilter()
# On real web applications, if we can't trigger an error in the first
# MAX_TESTS tests, it simply won't happen and we have to stop testing.
self.MAX_TESTS = 25
示例6: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
# Internal variables
self._version = None
# User configured parameters
self._db_file = os.path.join(ROOT_PATH, 'plugins', 'infrastructure',
'favicon', 'favicon-md5')
示例7: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
#
# Depend on xssed.com
#
self.XSSED_URL = URL("http://www.xssed.com")
self.UNFIXED = "UNFIXED"
self.XSSED_DOMAIN_RE = re.compile("<a href='(/mirror/\d*/)'" " target='_blank'>")
self.XSSED_URL_RE = re.compile("URL: (.*?)</th>")
示例8: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
# Already analyzed extensions
self._already_analyzed_ext = ScalableBloomFilter()
# Internal DB
self._db_file = os.path.join(ROOT_PATH, 'plugins', 'infrastructure',
'php_eggs', 'eggs.json')
# Get data from external JSON file and fill EGG_DB array
data = self.read_jsondata(self._db_file)
self.EGG_DB = self.fill_egg_array(data)
示例9: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
# Internal variables
self._exec = True
self._already_tested = ScalableBloomFilter()
# Methods
self._supported_methods = self.DAV_METHODS | self.COMMON_METHODS | \
self.UNCOMMON_METHODS | self.PROPOSED_METHODS | \
self.EXTRA_METHODS | self.VERSION_CONTROL
# User configured variables
self._exec_one_time = True
self._report_dav_only = True
示例10: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
# User variables
self._result_limit = 300
示例11: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
self._http_port = 80
self._https_port = 443
示例12: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
示例13: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
self._proxy_header_list = ['Via', 'Reverse-Via', 'X-Forwarded-For',
'Proxy-Connection', 'Max-Forwards',
'X-Forwarded-Host', 'X-Forwarded-Server']
示例14: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
# Internal variables
self._analyzed_dirs = ScalableBloomFilter()
示例15: __init__
def __init__(self):
InfrastructurePlugin.__init__(self)
self._exec = True