picoctf/189/solve.sh

7 lines
217 B
Bash

#!/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