Tasks
Sub Domains Enumerations
wget cisco.com
cat index.html | grep "href=" | cut -d "/" -f 3 | grep ".cisco.com" | cut -d '"' -f 1 | sort | uniq > result1.txt
for line in $(cat result1.txt); do host $line | grep "has address" | cut -d " " -f 4 >> result2.txt; doneApache Log File Forensics
cat access.log | cut -d " " -f 1 | sort | uniq -c | sort -n | tail -n 1
7620 45.132.207.154
cat access.log | grep "45.132.207.154" | cut -d '"' -f 2 | sort | uniq -c | sort -n | tail -n 1
7266 POST /wp-login.php HTTP/1.1
cat access.log | grep "45.132.207.154" | grep "POST /wp-login.php HTTP/1.1" | cut -d '"' -f 2,3 | sort | uniq -c | sort -n
1 POST /wp-login.php HTTP/1.1 200 3854
7265 POST /wp-login.php HTTP/1.1 401 0Add User to Sudo Group
Install Apache Server
Last updated