Ejemplo n.º 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
Ejemplo n.º 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 = []
Ejemplo n.º 3
0
    def __init__(self):
        Plugin.__init__(self)

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