• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Python audit_plugin.AuditPlugin类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: __init__

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

        # User configured parameters
        self._base_path = path.join(ROOT_PATH, 'plugins', self.get_type(), self.__class__.__name__)
        self._wordlist_file = path.join(self._base_path, 'common_filenames.db')

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


示例17: __init__

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

        # Internal variables
        self._expected_res_mutant = DiskDict()
        self._freq_list = DiskList()
        
        re_str = '<!--#exec cmd="echo -n (.*?);echo -n (.*?)" -->'
        self._extract_results_re = re.compile(re_str) 
开发者ID:ElAleyo,项目名称:w3af,代码行数:9,代码来源:ssi.py


示例18: __init__

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

        # 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
        self._plugin_name = self.get_name()
开发者ID:ZenSecurity,项目名称:w3af-module,代码行数:11,代码来源:wg_allowed_methods.py


示例19: __init__

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

        # Internal variables
        self._error_reported = False
        self._vulns = []

        # User configured parameters
        self._listen_port = ports.REMOTEFILEINCLUDE
        self._listen_address = get_local_ip() or ''
        self._use_w3af_site = True
开发者ID:foobarmonk,项目名称:w3af,代码行数:11,代码来源:rfi.py


示例20: __init__

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

        # Create some random strings, which the plugin will use.
        # for the fuzz_with_echo
        self._rnd = rand_alpha(5)
        self._rnd = self._rnd.lower()
        self._expected_result = self._rnd * self.PRINT_REPEATS

        # User configured parameters
        self._use_time_delay = True
        self._use_echo = True
开发者ID:3rdDegree,项目名称:w3af,代码行数:12,代码来源:eval.py



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python crawl_plugin.CrawlPlugin类代码示例发布时间:2022-05-26
下一篇:
Python temp_dir.create_temp_dir函数代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap