INNER CODE UNIT · Python
__init__
HaxL0p4/L0p4Map · ui/app.py:123
def __init__(self, subnet):
super().__init__()
self.subnet = subnet
def run(self):
hosts = scan_network(self.subnet)
self.finished.emit(hosts)
class RangeScanWorker(QThread):
finished = pyqtSignal(list)
def __init__(self, target):
super().__init__()
self.target = target
def run(self):
hosts = scan_range(self.target)