picoctf/189/solve.sh

7 lines
217 B
Bash
Raw Normal View History

2022-05-17 14:18:46 +02:00
#!/bin/sh -e
PORT=${1:-59488}
echo "Using port $PORT"
echo "Enter password: 481e7b14"
HOME=/home/ctf-player
ssh ctf-player@venus.picoctf.net -p $PORT cat $HOME/drop-in/1of3.flag.txt /2of3.flag.txt $HOME/3of3.flag.txt