15 – Pipe

Solve

During your adventure, you will likely encounter a situation where you need to process data that you receive over the network rather than through a file. Can you find a way to save the output from this program and search for the flag? Connect with 2018shell.picoctf.com 2015.

Solution

I know a little about pipe but thought I would do a quick look online http://www.linfo.org/pipes.html

Ran 

netcat 2018shell.picoctf.com 2015

loaded with a message on loop should have read the solve message “save the output”

nc 2018shell.picoctf.com 2015 echo cat * |grep pico

nc = connect to the server

echo = print

cat = read

 *= any file

| grep = pico the phase I’m looking for.

%d bloggers like this: