Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 527 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 527 Bytes

cse466

Useful One-Liners

Number of solves for each binary:

ls */solves/* | tr -t '/solves/' ' ' | awk '{print $3}' | sort | uniq -c | sort -r | awk 'BEGIN {print "Solves Binary"} {print $1 " " $2}' | column -t

Scoreboard without guests:

nc cse466.pwn.college 23 <<(echo '<HOMEWORK_PASSWORD>' && sleep 1 && echo -e 'scorebot\nscorebot\n1') | grep '^\[+++\]  *\d\d*\.  *\w\w*  *\d\d*  *.*$' | grep -v 'GUEST$' | awk 'BEGIN {print "Rank Alias Score Grade"} {print NR " " $3 " " $4 " " $5}' | column -t