mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2025-01-15 21:36:36 +00:00
PoC: Special character escape attempt
This commit is contained in:
parent
bc81227c6e
commit
cfedf9d1f0
|
@ -31,8 +31,7 @@ steps:
|
|||
|
||||
commands:
|
||||
- >
|
||||
export machineip = $(curl -s -H "Authorization: Bearer $PASSWORD" 'https://api.hetzner.cloud/v1/servers' > .machine.json
|
||||
- echo $machineip
|
||||
curl -s -H "Authorization: Bearer $PASSWORD" 'https://api.hetzner.cloud/v1/servers' > .machine.json
|
||||
- cat .machine.json
|
||||
- >
|
||||
for i in {0..24}; do jq 'if .servers['$i'].name == "ci-sibling" then .servers['$i'].public_net.ipv4.ip else null end' .machine.json; done | grep -v null | sed 's/"//' | sed 's/"//')
|
||||
|
|
Loading…
Reference in a new issue