picoctf/web/who-are-you/solve.sh

12 lines
356 B
Bash
Raw Normal View History

2024-09-01 23:08:46 +02:00
#!/usr/bin/env bash
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
curl 'http://mercury.picoctf.net:39114/' \
-H 'User-Agent: PicoBrowser' \
-H 'Referer: http://mercury.picoctf.net:39114/' \
-H 'Date: Wed, 21 Oct 2018 07:28:00 GMT' \
-H 'DNT: 1' \
-H 'X-Forwarded-For: 104.123.68.13' \
-H 'Accept-Language: sv' | grep -o "picoCTF{.*}"