Day 04 - Training

Date: 27, May, 2021

Author: Dhilip Sanjay S


Connect to the Server using SSH

ssh [email protected]
The authenticity of host '10.10.16.57 (10.10.16.57)' can't be established.
ECDSA key fingerprint is SHA256:IYNPmKurskzl/7GcTFinzOmOKtpQWPkd4wxR3P3pvvI.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '10.10.16.57' (ECDSA) to the list of known hosts.
[email protected]'s password: 
Last login: Wed Dec  4 19:50:16 2019 from 82.34.52.37

       __|  __|_  )
       _|  (     /   Amazon Linux 2 AMI
      ___|\___|___|

https://aws.amazon.com/amazon-linux-2/
[mcsysadmin@ip-10-10-16-57 ~]$

How many visible files are there in the home directory(excluding ./ and ../)?

  • Answer: 8

  • Steps to Reproduce:


What is the content of file5?

  • Answer: recipes

  • Steps to Reproduce:


Which file contains the string ‘password’?

  • Answer: file6

  • Steps to Reproduce:


What is the IP address in a file in the home folder?

  • Answer: 10.0.0.05

  • Steps to Reproduce:


How many users can log into the machine?

  • Answer: 3

  • Steps to Reproduce:

    • Root user + 2 other users


What is the sha1 hash of file8?

  • Answer: fa67ee594358d83becdd2cb6c466b25320fd2835

  • Steps to Reproduce:


What is mcsysadmin’s password hash?

  • Answer: $6$jbosYsU/$qOYToX/hnKGjT0EscuUIiIqF8GHgokHdy/Rg/DaB.RgkrbeBXPdzpHdMLI6cQJLdFlS4gkBMzilDBYcQvu2ro/

  • Steps to Reproduce:


Last updated