Sitemap

Network Security [THM writeup]

--

ok lets begin
firts 2 questions do it your self its easy AF
its my insult to tell you ok

Task 1 Introduction

Task 2 Methodology

now coming to

Task 3 Practical Example of Network Security

Q1: What is the password in the secret.txt file?

Press enter or click to view image in full size

login as ftp<MACHINE IP>
“ls” the files/directories

“get” the secret.txt (by this function you can download the file into your machine)

Press enter or click to view image in full size

Simply cat the secret.txt

you will get

Get Half blood prince’s stories in your inbox

Join Medium for free to get updates from this writer.

ANSWER: ABC789xyz123

now,

Q2: What is the content of the flag.txt in the /root directory?

Press enter or click to view image in full size

connect as SSH@<MACHINE IP> and Passcode is already found

“ls” for more files

and voila you got the flag .

ANSWER:THM{FTP_SERVER_OWNED}

Q3:What is the content of the flag.txt in the /home/librarian directory?

Press enter or click to view image in full size

Just go into /home/librarian directory

and read the file

ANSWER:THM{LIBRARIAN_ACCOUNT_COMPROMISED}

--

--