MCPcopy Create free account
hub / github.com/H1R0GH057/Anonymous / HTTPThread

Class HTTPThread

dark.py:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157#http caller thread
158class HTTPThread(threading.Thread):
159 def run(self):
160 try:
161 while flag<2:
162 code=httpcall(url)
163 if (code==500) & (safe==1):
164 set_flag(2)
165 except Exception, ex:
166 pass
167
168# monitors http threads and counts requests
169class MonitorThread(threading.Thread):

Callers 1

dark.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected