Exemplo n.º 1
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._first_exec = True
        self._already_queried = ScalableBloomFilter()
        self._can_resolve_domain_names = False
Exemplo n.º 2
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._server_headers = set()
        self._x_powered = set()
        self._lock = RLock()
Exemplo n.º 3
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._first_exec = True
        self._already_queried = ScalableBloomFilter()
        self._can_resolve_domain_names = False
Exemplo n.º 4
0
    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'
        ]
Exemplo n.º 5
0
    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
Exemplo n.º 6
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._accounts = []

        # User configured
        self._result_limit = 300
Exemplo n.º 7
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        #
        #   Internal variables
        #
        self._not_filtered = []
        self._filtered = []
Exemplo n.º 8
0
Arquivo: afd.py Projeto: RON313/w3af
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        #
        #   Internal variables
        #
        self._not_filtered = []
        self._filtered = []
Exemplo n.º 9
0
    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'>&nbsp;FIXED</th>"
Exemplo n.º 10
0
    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
Exemplo n.º 11
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._accounts = []

        # User configured
        self._result_limit = 300
Exemplo n.º 12
0
    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')
Exemplo n.º 13
0
    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')
Exemplo n.º 14
0
    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>")
Exemplo n.º 15
0
    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>')
Exemplo n.º 16
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._accounts = []
        self._google = None
        self._domain = None
        self._domain_root = None

        # User configured
        self._result_limit = 300
        self._fast_search = False
Exemplo n.º 17
0
    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)
Exemplo n.º 18
0
    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)
Exemplo n.º 19
0
    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
Exemplo n.º 20
0
    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
Exemplo n.º 21
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        self._exec = True
Exemplo n.º 22
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._first_exec = True
        self._already_queried_dns = ScalableBloomFilter()
Exemplo n.º 23
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        self._http_port = 80
        self._https_port = 443
Exemplo n.º 24
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._shared_hosting_hosts = []
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._shared_hosting_hosts = []
Exemplo n.º 26
0
 def __init__(self):
     InfrastructurePlugin.__init__(self)
     self._dns_zone = ''
     self._resolver = None
Exemplo n.º 27
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._server_header = True
        self._x_powered = True
Exemplo n.º 28
0
 def __init__(self):
     InfrastructurePlugin.__init__(self)
Exemplo n.º 29
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._already_tested = set()
Exemplo n.º 30
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._analyzed_dirs = ScalableBloomFilter()
Exemplo n.º 31
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._analyzed_dirs = ScalableBloomFilter()
Exemplo n.º 32
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # User variables
        self._result_limit = 300
Exemplo n.º 33
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        self._exec = True
Exemplo n.º 34
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        self._http_port = 80
        self._https_port = 443
Exemplo n.º 35
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # User configured parameters
        self._gen_fp = False
        self._threads = 4
Exemplo n.º 36
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Already analyzed extensions
        self._already_analyzed_ext = ScalableBloomFilter()
Exemplo n.º 37
0
 def __init__(self):
     InfrastructurePlugin.__init__(self)