HTB: Gawk writeup
HTB: Gawk writeup
GAWK is a very easy challenge in the hardware category and the 1st task in the printer exploitation track.
CHALLENGE DESCRIPTION
I lost access to my computer and need a document urgently which got stuck in a printer. Can you get me the document ?
Upon starting the chall I was given a host address that I had no clue what to do with it , so I ran to my best friend google to get some answers.
After looking up some articles about printer hacking I found a tool called Pret
So I cloned the repo and ran the python script against our host ip as it says in the usage example
As easy as it looks, we got a shell! and it’s time to explore the files.
Keeping in mind the challenge description we’re looking for a specific file.
Here I found this PDF file so I decoded its base64 using an online tool
that would display the file without the need to download it.
& we will get the flag on the first page!
Flag : HTB{tr4v3rs3_m4n4g3ment_d3240!}
cya in the next writeup!