コード例 #1
0
    def __init__(self):
        Plugin.__init__(self)

        # If for some reason the output plugin takes a lot of time to run
        # and the output manager calls flush() for a second time while we're
        # still running the first call, just ignore.
        self.is_running_flush = False
コード例 #2
0
ファイル: audit_plugin.py プロジェクト: zhangqin/w3af-module
 def __init__(self):
     Plugin.__init__(self)
     
     self._uri_opener = None
     self._store_kb_vulns = False
     self._audit_return_vulns_lock = threading.RLock()
     self._newly_found_vulns = []
コード例 #3
0
    def __init__(self):
        Plugin.__init__(self)

        self._uri_opener = None
        self._debugging_id = None
        self._http_response_ids = []
        self._log_messages = []
コード例 #4
0
ファイル: output_plugin.py プロジェクト: andresriancho/w3af
    def __init__(self):
        Plugin.__init__(self)

        # If for some reason the output plugin takes a lot of time to run
        # and the output manager calls flush() for a second time while we're
        # still running the first call, just ignore.
        self.is_running_flush = False
コード例 #5
0
ファイル: attack_plugin.py プロジェクト: Daisymei/w3af
    def __init__(self):
        Plugin.__init__(self)
        CommonAttackMethods.__init__(self)

        self._uri_opener = None
        self._footer = None
        self._header = None

        # User configured parameter
        self._generate_only_one = False
コード例 #6
0
    def __init__(self):
        Plugin.__init__(self)
        CommonAttackMethods.__init__(self)

        self._uri_opener = None
        self._footer = None
        self._header = None

        # User configured parameter
        self._generate_only_one = False
コード例 #7
0
    def __init__(self):
        Plugin.__init__(self)

        self._uri_opener = None
        self._debugging_id = None
        self._http_response_ids = []
        self._log_messages = []
        self._attempt_login = True

        self._login_result_log = deque(maxlen=1000)
コード例 #8
0
 def __init__(self):
     Plugin.__init__(self)
コード例 #9
0
 def __init__(self):
     Plugin.__init__(self)
コード例 #10
0
 def __init__(self):
     Plugin.__init__(self)
     self._priority = 20
コード例 #11
0
 def test_get_desc_trivial(self):
     p = Plugin()
     p.__doc__ = 'abc'
     
     self.assertEqual(p.get_desc(), 'abc')
コード例 #12
0
ファイル: auth_plugin.py プロジェクト: llcoolj1/w3af-kali
 def __init__(self):
     Plugin.__init__(self)
     self._uri_opener = None