Nice netcat...

by sealldev
PicoCTF icon PicoCTF general skills
easy
Suggested: #cyberchef
Nice netcat...
Nice netcat...

Description

There is a nice program that you can talk to by using this command in a shell: $ nc mercury.picoctf.net 43239, but it doesn't speak English...

Hint: You can practice using netcat with this picoGym problem: what's a netcat? (https://play.picoctf.org/practice/challenge/34)
Hint: You can practice reading and writing ASCII with this picoGym problem: Let's Warm Up (https://play.picoctf.org/practice/challenge/22)

Using the given command to connect with netcat, we can connect and the server responds with a series of numbers:

$ nc mercury.picoctf.net 43239
112
105
99
111
67
84
70
123
103
48
48
100
95
107
49
116
116
121
33
95
110
49
99
51
95
107
49
116
116
121
33
95
55
99
48
56
50
49
102
53
125
10

We can copy those numbers into a tool like CyberChef to get a start!

On CyberChef, pasting the content into the ‘Input’ section, a small magic wand appears next to the ‘Output’ box: flag.png

We can click it and it will decode as Decimal to the flag.

Flag: picoCTF{g00d_k1tty!_n1c3_k1tty!_7c0821f5}

Share this writeup

Contribute

Found an issue or want to improve this writeup?

Edit on GitHub