Bounty Hackers CTF by Try Hack Me
Are you ready to embark on an exhilarating virtual journey as a bounty Hacker? So, gear up, grab your cyber tools, and let’s get started!

You will see two sections: one written as a story, to give you a clue of what to do without unveiling everything; the other is crystal clear, with all the screenshots and the steps I took to get the flags. Spoiler alerts. You’ve been warned.
Section 1: Only Writing without screenshots
To begin our adventure, the first step is conducting an extensive nmap scan to gain information about the target. This will help us identify any open ports, services, and potential vulnerabilities.
Once we have our reconnaissance in place, it’s time to explore further. One common entry point we often encounter is FTP (File Transfer Protocol) with anonymous login credentials. By leveraging this access, we can browse and download files or even use the ‘cat’ command to read the contents of files.txt, potentially uncovering valuable clues or hidden information.
As we progress deeper into the target system, we stumble upon a file called lock.txt. Our immediate goal becomes using the password contained within this mysterious text file. With the password in hand, we can proceed to SSH (Secure Shell) into the system, gaining access to a more privileged environment.
Now, the real challenge awaits us — finding the elusive flag 1. However, as we navigate further into the system, we realize that achieving root privileges is essential for finding the flag.
Fortunately, in our quest for root privileges, we can have help from GTFO Bin (Get The F%@# Out Binary), a valuable resource that can assist us in leveraging binaries with misconfigured permissions or vulnerabilities. This discovery opens up new avenues and possibilities, leading us closer to achieving our ultimate objective.
With newfound knowledge, we apply what we have learned and found about GTFO Bins. One notable example is using the tar command with elevated privileges obtained via sudo. By carefully executing this technique, we can escalate our privileges and inch closer to our goal.
One step away from our grand victory, we push ourselves to the limit. The final challenge is finding flag 2, just by searching through the folders.
Section 2: The CTF Step by Step
(Warning: FLAGS in CLEAR!)
nmap scan:
ftp anonymous login
Find and download files (or simply cat files.txt)
Find the password from the lock.txt file
SSH in
Find the flag 1
We need root privileges
GTFO Bin can help us
Apply what you have found on GTFO Bins (tar — sudo)
If you liked this, you have another one here:
Thanks for following through on this CTF!






