Add recon form fingerprint library and SSRF canary mode.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Score crawl inputs by SSRF-prone field names and register ping-back canaries for operator paste confirmation.
This commit is contained in:
AetherForge
2026-06-07 12:23:11 -07:00
parent 251bdfa1ac
commit 49c24e611c
19 changed files with 1410 additions and 78 deletions

View File

@@ -0,0 +1,17 @@
package recon
import "strings"
func BuildSSRfCanaryURL(base, scanID string) string {
base = strings.TrimSpace(base)
if base == "" {
base = "https://localhost"
}
if strings.HasPrefix(base, "http://") {
base = "https://" + strings.TrimPrefix(base, "http://")
}
if !strings.HasPrefix(base, "https://") {
base = "https://" + base
}
return strings.TrimRight(base, "/") + "/recon/ping/" + scanID
}