Skip to main content

Posts

Showing posts with the label Hideout

PicotCTF2018 - Hideout - Scriptme

PicotCTF2018 - Hideout - Scriptme Objectives Can you understand the language and answer the questions to retrieve the flag? Connect to the service with nc 2018shell.picoctf.com 22973 So here are we connect up to the shell and are presented with the following Logic We need to figure out how this logic works, the telnet session has a timeout so manually doing the math here is not possible. So we need to write a script that will figure out the answers ​Rules:                                                                                                                      () + () = ()()                                      => [combine]                                                            ((())) + () = ((())())                              => [absorb-right]                                                       () + ((())) = (()(()))                              => [absorb-left]                                                        (())(()) + () = (())(()())