Nice Netcat
Tags: #picoCTF2021 #GeneralSkills

Description : There is a nice program that you can talk to by using this command in a shell: $ nc mercury.picoctf.net 21135
, but it doesn't speak English.
Solution : Let us first use the given command provided . After running the nc command we get a bunch of numbers

If we look at the hint no 2 it talks about the ASCII . So all these numbers are not just any random number but some ASCII values which needs to be converted in characters . So i first save all output in a file named output.txt

So I wrote a simple python script that reads the each and every numbers from the file and convert it into a character and then combine all the character


And here we got out flag. Tip : Instead of writing a script we can either use any online converter or just we can use chatGPT .This will save time but by writing script we can improve our logic building process
Last updated