Friday, December 2, 2022

TryHackMe.com - Advent of Cyber 2022 - Day 2 - writeup

Advent of Cyber is now regular seasonal room on TryHackMe page. This is their 4th time and again with awsome story to follow each day's assignment. Here are my solutions for the Day 2, if anyone gets stuck.
  1. Q2

  2. To answer this use
    ls
    command on home folder
  3. Q3

  4. With previous command you answer the Q3.
  5. Q5

  6. Display server log file in console where you see dates and check the week day and you can answer the question.
  7. Q6

  8. With displaying the server log file we can see that logs contains only one IP address.
  9. Q7

  10. grep -v 404 webserver.log
    To display all lines that does not include 404 requests and see only succesful ones and you can then easly see
  11. Q8

  12. grep -i THM *.log

    grep through all log files in folder to find the flag.
I hope anyone finds it usefull AudiTTRSi

No comments:

Post a Comment

How to Install PostgreSQL on Debian 12: A Step-by-Step Guide

PostgreSQL, commonly known as Postgres, is a powerful, open-source relational database management system renowned for its advanced features ...