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


Python grep_plugin.GrepPlugin类代码示例

本文整理汇总了Python中w3af.core.controllers.plugins.grep_plugin.GrepPlugin的典型用法代码示例。如果您正苦于以下问题:Python GrepPlugin类的具体用法?Python GrepPlugin怎么用?Python GrepPlugin使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        # Internal variables
        self._autocomplete_forms_xpath = etree.XPath(AUTOCOMPLETE_FORMS_XPATH)
        self._pwd_input_xpath = etree.XPath(PWD_INPUT_XPATH)
        self._text_input_xpath = etree.XPath(TEXT_INPUT_XPATH)
开发者ID:sxhao,项目名称:w3af,代码行数:7,代码来源:form_autocomplete.py

示例2: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        self._total_count = 0
        self._vuln_count = 0
        self._vulns = DiskList(table_prefix='click_jacking')
        self._ids = DiskList(table_prefix='click_jacking')
开发者ID:batmanWjw,项目名称:w3af,代码行数:7,代码来源:click_jacking.py

示例3: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        self._already_reported = ScalableBloomFilter()

        # regex to split between words
        self._split_re = re.compile('[^\w]')
开发者ID:0x554simon,项目名称:w3af,代码行数:7,代码来源:hash_analysis.py

示例4: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        # Internal variables
        self._comments = DiskDict(table_prefix='html_comments')
        self._already_reported = ScalableBloomFilter()
        self._end_was_called = False
开发者ID:foobarmonk,项目名称:w3af,代码行数:7,代码来源:html_comments.py

示例5: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        self._total_count = 0
        self._vuln_count = 0
        self._vulns = DiskList()
        self._ids = DiskList()
开发者ID:ElAleyo,项目名称:w3af,代码行数:7,代码来源:cache_control.py

示例6: __init__

 def __init__(self):
     GrepPlugin.__init__(self)
     
     self._properly_configured = None
     self._config_check_lock = threading.RLock()
     
     # User configured settings
     # Default for ubuntu installation
     self._clamd_socket = '/var/run/clamav/clamd.ctl'
开发者ID:3rdDegree,项目名称:w3af,代码行数:9,代码来源:clamav.py

示例7: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        #   Internal variables
        self._potential_vulns = DiskList(table_prefix='error_pages')

        self._already_reported_max_msg_exceeded = []
        self._already_reported_versions = []
        self._compiled_regex = []
开发者ID:everping,项目名称:w3af,代码行数:9,代码来源:error_pages.py

示例8: __init__

    def __init__(self):
        """
        Class init
        """
        GrepPlugin.__init__(self)

        self._total_count = 0
        self._vulns = DiskList(table_prefix='csp')
        self._urls = DiskList(table_prefix='csp')
开发者ID:RON313,项目名称:w3af,代码行数:9,代码来源:csp.py

示例9: __init__

    def __init__(self):
        """
        Class init
        """
        GrepPlugin.__init__(self)

        self._total_count = 0
        self._vulns = DiskList()
        self._urls = DiskList() 
开发者ID:3rdDegree,项目名称:w3af,代码行数:9,代码来源:csp.py

示例10: __init__

 def __init__(self):
     GrepPlugin.__init__(self)
     self._feed_types = {'rss': 'RSS',  # <rss version="...">
                         'feed': 'OPML',  # <feed version="..."
                         'opml': 'OPML'  # <opml version="...">
                         }
     
     # Compile the XPATH
     self._tag_xpath = etree.XPath('//rss | //feed | //opml')
开发者ID:3rdDegree,项目名称:w3af,代码行数:9,代码来源:feeds.py

示例11: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        # Create the regular expression to search for AJAX
        ajax_regex_string = '(XMLHttpRequest|eval\(|ActiveXObject|Msxml2\.XMLHTTP|'
        ajax_regex_string += 'ActiveXObject|Microsoft\.XMLHTTP)'
        self._ajax_regex_re = re.compile(ajax_regex_string, re.IGNORECASE)

        # Compile the XPATH
        self._script_xpath = etree.XPath('.//script')
开发者ID:3rdDegree,项目名称:w3af,代码行数:10,代码来源:ajax.py

示例12: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        # Internal variables
        self._override = False
        self._symfony_detected = False

        # Compile only once
        self._symfony_re = re.compile('symfony=', re.IGNORECASE)
        self._csrf_token_re = re.compile('.*csrf_token', re.IGNORECASE)
开发者ID:0x554simon,项目名称:w3af,代码行数:10,代码来源:symfony.py

示例13: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        # The following regex matches a valid url as well as the text
        # about:internet. Also it validates the number in the parenthesis.
        # It should be a 4 digit number and must tell about the length of the
        # URL that follows
        regex = r"""<!--\s*saved from url=\(([\d]{4})\)(https?://([-\w\.]+)"""
        regex += r"""+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?|about:internet)\s{1}\-\->"""
        self._motw_re = re.compile(regex)
开发者ID:0x554simon,项目名称:w3af,代码行数:10,代码来源:motw.py

示例14: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        # Internal variables
        self._already_added = DiskList()

        # Compile all regular expressions and store information to avoid
        # multiple queries to the same function
        self._common_directories = get_common_directories()
        self._compiled_regexes = {}
        self._compile_regex()
开发者ID:Adastra-thw,项目名称:Tortazo,代码行数:11,代码来源:path_disclosure.py

示例15: __init__

    def __init__(self):
        GrepPlugin.__init__(self)

        # Internal variables
        self._reported = DiskList(table_prefix='path_disclosure')

        # Compile all regular expressions and store information to avoid
        # multiple queries to the same function
        self._common_directories = get_common_directories()
        self._compiled_regexes = {}
        self._compile_regex()
开发者ID:0x554simon,项目名称:w3af,代码行数:11,代码来源:path_disclosure.py


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