Ejemplo n.º 1
0
    def __init__(self, vuln, uri_opener, worker_pool):
        ExploitResult.__init__(self)

        if not isinstance(vuln, Vuln):
            raise TypeError("Expected Vuln instance in Shell ctor.")

        self.set_url_opener(uri_opener)
        self.set_worker_pool(worker_pool)
        self._vuln = vuln

        self._rOS = None
        self._rSystem = None
        self._rUser = None
        self._rSystemName = None
        self.id = 0
Ejemplo n.º 2
0
    def __init__(self, vuln, uri_opener, worker_pool):
        ExploitResult.__init__(self)

        if not isinstance(vuln, Vuln):
            raise TypeError('Expected Vuln instance in Shell ctor.')

        self.set_url_opener(uri_opener)
        self.set_worker_pool(worker_pool)
        self._vuln = vuln

        self._rOS = None
        self._rSystem = None
        self._rUser = None
        self._rSystemName = None
        self.id = 0
Ejemplo n.º 3
0
    def __init__(self, proxyDaemonObject):
        ExploitResult.__init__(self)

        self._proxyDaemon = proxyDaemonObject
Ejemplo n.º 4
0
    def __init__(self, proxyDaemonObject):
        ExploitResult.__init__(self)

        self._proxyDaemon = proxyDaemonObject