PoC: Special character escape attempt

This commit is contained in:
Illia Chub 2022-01-11 15:18:39 +02:00
parent f2861b20b0
commit 8250af161b

View file

@ -42,7 +42,7 @@ steps:
curl -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records"
-H "Authorization: Bearer $CLOUDFLARE_TOKEN"
-H "Content-Type: application/json"
--data '{"type":"A","name":"$DOMAIN","content":"$machineip","ttl":3600,"priority":10,"proxied":false}'
--data '{"type":"A","name":"$DOMAIN","content":$(echo $machineip),"ttl":3600,"priority":10,"proxied":false}'
- >
curl -s -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records"
-H "Authorization: Bearer $CLOUDFLARE_TOKEN"