当前位置: 首页>>代码示例>>Python>>正文


Python CrawlPlugin.__init__方法代码示例

本文整理汇总了Python中w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python CrawlPlugin.__init__方法的具体用法?Python CrawlPlugin.__init__怎么用?Python CrawlPlugin.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin的用法示例。


在下文中一共展示了CrawlPlugin.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # Internal variables
        self._exec = True
        self._release_db = os.path.join(ROOT_PATH, 'plugins', 'crawl',
                                        'wordpress_fingerprint', 'release.db')
开发者ID:3rdDegree,项目名称:w3af,代码行数:9,代码来源:wordpress_fingerprint.py

示例2: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # internal variables
        self._exec = True
        self._already_analyzed = ScalableBloomFilter()

        # User configured parameters
        self._db_file = os.path.join(ROOT_PATH, 'plugins', 'crawl', 'pykto',
                                     'scan_database.db')
        self._extra_db_file = os.path.join(ROOT_PATH, 'plugins', 'crawl',
                                           'pykto', 'w3af_scan_database.db')

        self._cgi_dirs = ['/cgi-bin/']
        self._admin_dirs = ['/admin/', '/adm/']

        self._users = ['adm', 'bin', 'daemon', 'ftp', 'guest', 'listen', 'lp',
                       'mysql', 'noaccess', 'nobody', 'nobody4', 'nuucp',
                       'operator', 'root', 'smmsp', 'smtp', 'sshd', 'sys',
                       'test', 'unknown']

        self._nuke = ['/', '/postnuke/', '/postnuke/html/', '/modules/',
                      '/phpBB/', '/forum/']

        self._mutate_tests = False
开发者ID:0x554simon,项目名称:w3af,代码行数:27,代码来源:pykto.py

示例3: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)
        self._first_captured_request = True

        # User configured parameters
        self._listen_address = '127.0.0.1'
        self._listen_port = ports.SPIDERMAN
开发者ID:carriercomm,项目名称:w3af_analyse,代码行数:9,代码来源:spider_man.py

示例4: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        self._headers = None
        self._first_time = True
        self._fuzz_images = False
        self._seen = ScalableBloomFilter()
开发者ID:andresriancho,项目名称:w3af-kali,代码行数:9,代码来源:url_fuzzer.py

示例5: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)
        self._already_visited = ScalableBloomFilter()

        # User options
        self._fuzz_images = False
        self._max_digit_sections = 4
开发者ID:jatkatz,项目名称:w3af,代码行数:9,代码来源:digit_sum.py

示例6: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # User configured parameters
        self._wordlist = os.path.join(ROOT_PATH, 'plugins', 'crawl',
                                      'ria_enumerator', 'common_filenames.db')

        # This is a list of common file extensions for google gears manifest:
        self._extensions = ['', '.php', '.json', '.txt', '.gears']
开发者ID:ElAleyo,项目名称:w3af,代码行数:11,代码来源:ria_enumerator.py

示例7: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # Internal variables
        self._ghdb_file = os.path.join(ROOT_PATH, 'plugins', 'crawl',
                                       'ghdb', 'GHDB.xml')

        # User configured variables
        self._result_limit = 300
开发者ID:3rdDegree,项目名称:w3af,代码行数:11,代码来源:ghdb.py

示例8: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # User configured variables
        self._identify_OS = True
        self._identify_applications = True

        # For testing
        self._do_fast_search = False
开发者ID:Adastra-thw,项目名称:Tortazo,代码行数:11,代码来源:user_dir.py

示例9: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # Internal variables
        self._already_crawled = ScalableBloomFilter()
        self._already_verified = ScalableBloomFilter()

        # User configured parameters
        self._max_depth = 3
开发者ID:andresriancho,项目名称:w3af-kali,代码行数:11,代码来源:archive_dot_org.py

示例10: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # Internal variables
        self._analyzed_dirs = ScalableBloomFilter()

        # -rw-r--r--    1 andresr   w3af         8139 Apr 12 13:23 foo.zip
        regex_str = '[a-z-]{10}\s*\d+\s*(.*?)\s+(.*?)\s+\d+\s+\w+\s+\d+\s+[0-9:]{4,5}\s+(.*)'
        self._listing_parser_re = re.compile(regex_str)
开发者ID:3rdDegree,项目名称:w3af,代码行数:11,代码来源:dot_listing.py

示例11: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        """
        CHANGELOG:
            Feb/17/2009- Added PHP Settings Audit Checks by Aung Khant
            (aungkhant[at]yehg.net)
        """
        CrawlPlugin.__init__(self)

        # Internal variables
        self._analyzed_dirs = DiskSet()
        self._has_audited = 0
开发者ID:ElAleyo,项目名称:w3af,代码行数:13,代码来源:phpinfo.py

示例12: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # User configured parameters
        self._dir_list = os.path.join(self.BASE_PATH, 'common_dirs_small.db')
        self._file_list = os.path.join(self.BASE_PATH, 'common_files_small.db')

        self._bf_directories = True
        self._bf_files = False
        self._be_recursive = False

        # Internal variables
        self._exec = True
        self._already_tested = DiskSet(table_prefix='dir_file_bruter')
开发者ID:RON313,项目名称:w3af,代码行数:16,代码来源:dir_file_bruter.py

示例13: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # User configured parameters
        self._wordlist = os.path.join(ROOT_PATH, "plugins", "crawl", "content_negotiation", "common_filenames.db")

        # Internal variables
        self._already_tested_dir = ScalableBloomFilter()
        self._already_tested_resource = ScalableBloomFilter()
        self._content_negotiation_enabled = None
        self._to_bruteforce = Queue.Queue()
        # I want to try 3 times to see if the remote host is vulnerable
        # detection is not thaaaat accurate!
        self._tries_left = 3
开发者ID:masterapocalyptic,项目名称:Tortazo-spanishtranslate,代码行数:16,代码来源:content_negotiation.py

示例14: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # Internal variables
        self._analyzed_dirs = ScalableBloomFilter()
        self._analyzed_filenames = ScalableBloomFilter()

        self._dvcs = {}
        self._dvcs['git repository'] = {}
        self._dvcs['git ignore'] = {}
        self._dvcs['hg repository'] = {}
        self._dvcs['hg ignore'] = {}
        self._dvcs['bzr repository'] = {}
        self._dvcs['bzr ignore'] = {}
        self._dvcs['svn repository'] = {}
        self._dvcs['svn ignore'] = {}
        self._dvcs['cvs repository'] = {}
        self._dvcs['cvs ignore'] = {}

        self._dvcs['git repository']['filename'] = '.git/index'
        self._dvcs['git repository']['function'] = self.git_index

        self._dvcs['git ignore']['filename'] = '.gitignore'
        self._dvcs['git ignore']['function'] = self.ignore_file

        self._dvcs['hg repository']['filename'] = '.hg/dirstate'
        self._dvcs['hg repository']['function'] = self.hg_dirstate

        self._dvcs['hg ignore']['filename'] = '.hgignore'
        self._dvcs['hg ignore']['function'] = self.ignore_file

        self._dvcs['bzr repository']['filename'] = '.bzr/checkout/dirstate'
        self._dvcs['bzr repository']['function'] = self.bzr_checkout_dirstate

        self._dvcs['bzr ignore']['filename'] = '.bzrignore'
        self._dvcs['bzr ignore']['function'] = self.ignore_file

        self._dvcs['svn repository']['filename'] = '.svn/entries'
        self._dvcs['svn repository']['function'] = self.svn_entries

        self._dvcs['svn ignore']['filename'] = '.svnignore'
        self._dvcs['svn ignore']['function'] = self.ignore_file

        self._dvcs['cvs repository']['filename'] = 'CVS/Entries'
        self._dvcs['cvs repository']['function'] = self.cvs_entries

        self._dvcs['cvs ignore']['filename'] = '.cvsignore'
        self._dvcs['cvs ignore']['function'] = self.ignore_file
开发者ID:0x554simon,项目名称:w3af,代码行数:50,代码来源:find_dvcs.py

示例15: __init__

# 需要导入模块: from w3af.core.controllers.plugins.crawl_plugin import CrawlPlugin [as 别名]
# 或者: from w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin import __init__ [as 别名]
    def __init__(self):
        CrawlPlugin.__init__(self)

        # Internal variables
        self._compiled_ignore_re = None
        self._compiled_follow_re = None
        self._broken_links = DiskSet()
        self._first_run = True
        self._known_variants = VariantDB()
        self._already_filled_form = ScalableBloomFilter()

        # User configured variables
        self._ignore_regex = ''
        self._follow_regex = '.*'
        self._only_forward = False
        self._compile_re()
开发者ID:3rdDegree,项目名称:w3af,代码行数:18,代码来源:web_spider.py


注:本文中的w3af.core.controllers.plugins.crawl_plugin.CrawlPlugin.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。