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

Class HTTPThread

hulk.py:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111#http caller thread
112class HTTPThread(threading.Thread):
113 def run(self):
114 try:
115 while flag<2:
116 code=httpcall(url)
117 if (code==500) & (safe==1):
118 set_flag(2)
119 except Exception, ex:
120 pass
121
122# monitors http threads and counts requests
123class MonitorThread(threading.Thread):

Callers 1

hulk.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected