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

Class MonitorThread

sadattack.py:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217# monitors http threads and counts requests
218class MonitorThread(threading.Thread):
219 def run(self):
220 previous=request_counter
221 while flag==0:
222 if (previous+150<request_counter) & (previous<>request_counter):
223 print "#~~~>Sad DDoS Attack's Sended: %d Sending more<~~~#" % (request_counter)
224 previous=request_counter
225 if flag==2:
226 print "\n ~>Stopping the mass DDoS Attack<~"
227
228#execute
229if len(sys.argv) < 2:

Callers 1

sadattack.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected