KeyHunter parser v10 + 18 scanners + tests (synthetic fixtures only, no keys/db/tokens)

This commit is contained in:
2026-10-20 07:50:07 +00:00
commit a5008d837b
178 changed files with 36909 additions and 0 deletions

13
dbg_sc.py Normal file
View File

@@ -0,0 +1,13 @@
import requests, re
H = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/128"}
r = requests.get("https://searchcode.com/search?q=DEEPSEEK_API_KEY",
headers=H, timeout=20)
print("search UI:", r.status_code, len(r.text))
links = re.findall(r'href="(/search\?[^"]+)"', r.text)[:5]
print("pager links:", links)
# result rows: check structure
m = re.findall(r'class="(search-result|result)[^"]*"', r.text)
print("result classes:", len(m))
# code snippet in page?
print("has code:", "code" in r.text.lower(), "| DEEPSEEK mentions:", r.text.count("DEEPSEEK"))