Пример #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
 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
    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
    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
 def __init__(self):
     Plugin.__init__(self)
     self._uri_opener = None