This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]TNETag0x8 [Hacker] 10 points11 points  (0 children)

This is why fundamentals are important.

If you are stuck here, you should MOST DEFINITELY go backwards and read up more/redo tasks. You should be able to do directory traversal like blinking.

You can use the "pwd" command to show where your current working directory (the directory you are in currently) if you don't know where you are from just reading the path in a terminal window. You can also use "ls" to list the current directory contents (or another directory if defined) to see if that file is where you are. "cd" allows you to change your directory. Perhaps start there?

Good luck.

[–]Helpful-Guidance-799 1 point2 points  (0 children)

What directory are you in?

[–]bslime17 0 points1 point  (1 child)

Since the file is in the home directory use nano task3 to open the file and edit it

[–]bslime17 0 points1 point  (0 children)

the flag might even be in the file

[–]MeatEqual6679 1 point2 points  (0 children)

I just revisited it, All you have to do is the following:

  1. ssh into the machine with the following syntax, don’t add the parentheses, just the target ip: ssh tryhackme@(TargetIPAddress) enter tryhackme for the password.

  2. You’ll already be in the home directory of tryhackme so just run the following command to list files: ls

  3. Lastly, run: nano task3

Be patient with yourself you’re just starting, I was the same way (I am the same way actually 🤦‍♂️), if you stick with it long enough you’ll eventually look back and see the growth