Beispiel #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
Beispiel #2
0
 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 = []
Beispiel #3
0
    def __init__(self):
        Plugin.__init__(self)

        self._uri_opener = None
        self._debugging_id = None
        self._http_response_ids = []
        self._log_messages = []
Beispiel #4
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
Beispiel #5
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
Beispiel #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
Beispiel #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)
 def __init__(self):
     Plugin.__init__(self)
Beispiel #9
0
 def __init__(self):
     Plugin.__init__(self)
Beispiel #10
0
 def __init__(self):
     Plugin.__init__(self)
     self._priority = 20
Beispiel #11
0
 def test_get_desc_trivial(self):
     p = Plugin()
     p.__doc__ = 'abc'
     
     self.assertEqual(p.get_desc(), 'abc')
Beispiel #12
0
 def __init__(self):
     Plugin.__init__(self)
     self._uri_opener = None