LHasa solution for url: https://sadservers.com/scenario/lhasa
In this case we could use awk to sum all numbers in second columns and divide by number of entries ( 100 of them) So 520.4 / 100 -> 5.20
awk '{sum+=$2;} END{print sum;}' scores.txt
Vladimir Cicovic - Security, Programming, Puzzles, Cryptography, Math, Linux
LHasa solution for url: https://sadservers.com/scenario/lhasa
In this case we could use awk to sum all numbers in second columns and divide by number of entries ( 100 of them) So 520.4 / 100 -> 5.20
awk '{sum+=$2;} END{print sum;}' scores.txt
Task at: https://sadservers.com/scenario/taipei
Inside of this task we have port knocking, very famous solution to bring protection to access for certain port. More information on this: https://wiki.archlinux.org/title/Port_knocking
One simple way to unlock port 80 is to use nmap 2-3 times on all ports to open port 80:
nmap -Pn -p 1-65535 localhost
Famous port knocking with nmap tool
Solution for: https://sadservers.com/scenario/command-line-murders
File people contain all names, what we need is to find md5 hash of real name to add into mysolution file.
First, command to extract all people names:
awk '{print $1" "$2}' people >> find
After that we need to extract proper name with md5 hash from file "find", so use command:
while read -r col1 ; do
echo $col1 "$(echo $col1 | md5sum )" | grep 9bba101c7369f49ca890ea96aa242dd5
done < find
and here you go your killer name:
Killer name