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


Python audit_plugin.AuditPlugin类代码示例

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


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

示例1: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

        # Internal variables
        self._persistent_multi_in = None
        self._expected_mutant_dict = DiskDict(table_prefix='ssi')
        self._extract_expected_re = re.compile('[1-9]{5}')
开发者ID:foobarmonk,项目名称:w3af,代码行数:7,代码来源:ssi.py

示例2: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

        # Internal variables
        self._file_compiled_regex = []
        self._error_compiled_regex = []
        self._open_basedir = False
开发者ID:cathartic,项目名称:w3af,代码行数:7,代码来源:lfi.py

示例3: __init__

 def __init__(self):
     AuditPlugin.__init__(self)
     self.mci = MemcacheInjection(u'key1 0 30 1\r\n1\r\n'
                                  u'set injected 0 10 10\r\n1234567890\r\n',
                                  u'key1 0 f 1\r\n1\r\n',
                                  u'key1 0 30 0\r\n1\r\n')
     self._eq_limit = 0.97
开发者ID:0x554simon,项目名称:w3af,代码行数:7,代码来源:memcachei.py

示例4: __init__

 def __init__(self):
     AuditPlugin.__init__(self)
     MemcacheInjection = namedtuple('MemcacheInjection', ['ok', 'error_1', 'error_2'])
     self.mci = MemcacheInjection(u"key1 0 30 1\r\n1\r\nset injected 0 10 10\r\n1234567890\r\n",
                                  u"key1 0 f 1\r\n1\r\n",
                                  u"key1 0 30 0\r\n1\r\n")
     self._eq_limit = 0.97
开发者ID:carriercomm,项目名称:w3af_analyse,代码行数:7,代码来源:memcachei.py

示例5: __init__

    def __init__(self):
        """
        Some notes:
            On Apache, when an overflow happends on a cgic script, this is written
            to the log:
                *** stack smashing detected ***: /var/www/.../buffer_overflow.cgi terminated,
                referer: http://localhost/w3af/bufferOverflow/buffer_overflow.cgi
                Premature end of script headers: buffer_overflow.cgi, referer: ...

            On Apache, when an overflow happends on a cgic script, this is
            returned to the user:
                <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                <html><head>
                <title>500 Internal Server Error</title>
                </head><body>
                <h1>Internal Server Error</h1>
                <p>The server encountered an internal error or
                misconfiguration and was unable to complete
                your request.</p>
                <p>Please contact the server administrator,
                 [email protected] and inform them of the time the error occurred,
                and anything you might have done that may have
                caused the error.</p>
                <p>More information about this error may be available
                in the server error log.</p>
                <hr>
                <address>Apache/2.0.55 (Ubuntu) mod_python/3.2.8 Python/2.4.4c1
                PHP/5.1.6 Server at localhost Port 80</address>
                </body></html>

            Note that this is an Apache error 500, not the more common PHP error 500.
        """
        AuditPlugin.__init__(self)
开发者ID:cathartic,项目名称:w3af,代码行数:33,代码来源:buffer_overflow.py

示例6: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

        self._already_tested = set()
        self._min_expire_days = 30
        self._ca_file = os.path.join(ROOT_PATH, 'plugins', 'audit',
                                     'ssl_certificate', 'ca.pem')
开发者ID:carriercomm,项目名称:w3af_analyse,代码行数:7,代码来源:ssl_certificate.py

示例7: __init__

    def __init__(self):
        AuditPlugin.__init__(self)
        
        self._xss_mutants = DiskList()

        # User configured parameters
        self._check_persistent_xss = True
开发者ID:aricciard,项目名称:w3af,代码行数:7,代码来源:xss.py

示例8: __init__

    def __init__(self):
        AuditPlugin.__init__(self)
        
        self._xss_mutants = DiskList(table_prefix='xss')

        # User configured parameters
        self._check_persistent_xss = False
开发者ID:batmanWjw,项目名称:w3af,代码行数:7,代码来源:xss.py

示例9: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

        # Internal variables
        self._plugin_xml_result = {}
        self._plugin_name = self.get_name()
        self._response_id = None
开发者ID:ZenSecurity,项目名称:w3af-module,代码行数:7,代码来源:wg_ssl.py

示例10: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

        # Define plugin options configuration variables
        self.origin_header_value = "http://w3af.org/"

        # Internal variables
        self._reported_global = set()
开发者ID:RON313,项目名称:w3af,代码行数:8,代码来源:cors_origin.py

示例11: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

        #   Internal variables
        self._potential_vulns = DiskList()

        #   User configured variables
        self._diff_ratio = 0.30
开发者ID:3rdDegree,项目名称:w3af,代码行数:8,代码来源:generic.py

示例12: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

        #
        #   Some internal variables
        #
        self._special_chars = ['', '&&', '|', ';']
        self._file_compiled_regex = []
开发者ID:3rdDegree,项目名称:w3af,代码行数:8,代码来源:os_commanding.py

示例13: __init__

 def __init__(self):
     """
     Plugin added just for completeness... I dont really expect to find one
     of this bugs in my life... but well.... if someone , somewhere in the
     planet ever finds a bug of using this plugin... THEN my job has been
     done :P
     """
     AuditPlugin.__init__(self)
开发者ID:everping,项目名称:w3af,代码行数:8,代码来源:mx_injection.py

示例14: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

        # Internal variables
        self._script_re = re.compile('< *?script.*?>(.*?)< *?/ *?script *?>',
                                     re.IGNORECASE | re.DOTALL)
        self._meta_url_re = re.compile('.*?;URL=(.*)',
                                       re.IGNORECASE | re.DOTALL)
开发者ID:0x554simon,项目名称:w3af,代码行数:8,代码来源:global_redirect.py

示例15: __init__

    def __init__(self):
        AuditPlugin.__init__(self)

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

        #   User configured variables
        self._diff_ratio = 0.30
        self._extensive = False
开发者ID:foobarmonk,项目名称:w3af,代码行数:9,代码来源:generic.py


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