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

Class HTTPThread

httpdoser.py:129–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128#http caller thread
129class HTTPThread(threading.Thread):
130 def run(self):
131 try:
132 while flag<2:
133 code=httpcall(url)
134 if (code==500) & (safe==1):
135 set_flag(2)
136 except Exception, ex:
137 pass
138
139# monitors http threads and counts requests
140class MonitorThread(threading.Thread):

Callers 1

httpdoser.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected