Exemple #1
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'
        ]
Exemple #2
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

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

        # Internal variables
        self._first_exec = True
        self._already_queried = ScalableBloomFilter()
        self._can_resolve_domain_names = False
Exemple #4
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._first_exec = True
        self._already_queried = ScalableBloomFilter()
        self._can_resolve_domain_names = False
Exemple #5
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        #
        #   Internal variables
        #
        self._not_filtered = []
        self._filtered = []
Exemple #6
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._accounts = []

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

        # Internal variables
        self._accounts = []

        # User configured
        self._result_limit = 300
Exemple #8
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        #
        #   Internal variables
        #
        self._not_filtered = []
        self._filtered = []
Exemple #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>"
Exemple #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
Exemple #11
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
    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')
Exemple #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')
Exemple #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>")
Exemple #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>')
Exemple #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
Exemple #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)
Exemple #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)
Exemple #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
Exemple #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
Exemple #21
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._shared_hosting_hosts = []
Exemple #22
0
 def __init__(self):
     InfrastructurePlugin.__init__(self)
Exemple #23
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._already_tested = set()
Exemple #24
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # User variables
        self._result_limit = 300
Exemple #25
0
 def __init__(self):
     InfrastructurePlugin.__init__(self)
     self._dns_zone = ''
     self._resolver = None
Exemple #26
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._analyzed_dirs = ScalableBloomFilter()
    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']
Exemple #28
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        self._exec = True
Exemple #29
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # User configured parameters
        self._gen_fp = False
        self._threads = 4
Exemple #30
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Already analyzed extensions
        self._already_analyzed_ext = ScalableBloomFilter()
Exemple #31
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._server_header = True
        self._x_powered = True
Exemple #32
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._server_header = True
        self._x_powered = True
Exemple #33
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        self._http_port = 80
        self._https_port = 443
Exemple #34
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._analyzed_dirs = ScalableBloomFilter()
Exemple #35
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._first_exec = True
        self._already_queried_dns = ScalableBloomFilter()
Exemple #36
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._already_tested = set()
Exemple #37
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        self._exec = True
Exemple #38
0
 def __init__(self):
     InfrastructurePlugin.__init__(self)
Exemple #39
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        self._http_port = 80
        self._https_port = 443
Exemple #40
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # User configured parameters
        self._gen_fp = False
Exemple #41
0
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # User variables
        self._result_limit = 300
    def __init__(self):
        InfrastructurePlugin.__init__(self)

        # Internal variables
        self._shared_hosting_hosts = []