MCPcopy Create free account
hub / github.com/boy-hack/hack-requests / run

Method run

HackRequests/HackRequests.py:464–480  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

462 self.isContinue = False
463
464 def run(self):
465 th = []
466 for i in range(self.thread_nums):
467 t = threading.Thread(target=self.scan)
468 t.setDaemon(True)
469 t.start()
470 th.append(t)
471
472 # It can quit with Ctrl-C
473 try:
474 while 1:
475 if self.thread_count > 0 and self.isContinue:
476 time.sleep(0.01)
477 else:
478 break
479 except KeyboardInterrupt:
480 exit("User Quit")
481
482 def http(self, url, **kwargs):
483 func = self.hack.http

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected