gen.py
HTTP client near SQL numeric quote-break probeTraversal query targets Unix account file
SHA-256f5e7b7660e9a3b84efe5843f94c2905dc5c2180bf450276df025baaecd569c1c
Also flagged by https://falhumaid.github.io/DFIR_Radar_RSS/rss.xml (Fastly Next-Gen WAF (Signal Sciences) agent fails open before rules load in Kubernetes sidecar deployments (vendor disputes; CVE pending)).
Evidence
1import http.client, threading, time, uuid, itertools, sys
2TARGET = "ingress-nginx-controller.ingress-nginx.svc.cluster.local"
3RATE = 20
4PAYLOADS = [
5 ("clean", "/?q=hello"),
6 ("sqli", "/?id=1%27%20OR%20%271%27%3D%271%27%20UNION%20SELECT%20username,password%20FROM%20users--"),
7 ("xss", "/?q=%3Cscript%3Ealert(document.cookie)%3C/script%3E"),
8 ("traversal", "/?file=../../../../etc/passwd"),
9 ("block-marker", "/?canary=sigsci-custom-block-canary"),
10]
⋯4 lines
15 t0 = time.time(); status = "ERR"; err = ""
16 try:
17 c = http.client.HTTPConnection(TARGET, 80, timeout=3)
18 c.request("GET", path, headers={"Host": "echo.local", "X-Request-ID": rid})
19 r = c.getresponse(); r.read(); status = r.status; c.close()
20 except Exception as e:
21 err = type(e).__name__
22 print(f"{t0:.6f},{rid},{kind},{status},{(time.time()-t0)*1000:.1f},{err}", flush=True)
23print("sent_ts,rid,kind,status,lat_ms,err", flush=True)
24nxt = time.time()
25while True:
26 threading.Thread(target=one, args=(next(cnt),), daemon=True).start()
27 nxt += 1.0 / RATE
28 time.sleep(max(0, nxt - time.time()))