Skip to content

Instantly share code, notes, and snippets.

@SalScotto
Created November 28, 2022 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SalScotto/41a85941172fe9229ba0af2a2313b8a3 to your computer and use it in GitHub Desktop.
Save SalScotto/41a85941172fe9229ba0af2a2313b8a3 to your computer and use it in GitHub Desktop.
Writeup "sqUARe-paymenT-terminal" - SquareCTF 22

Logic2 file (recognized by the UART in the name of the challenge and the .sal extension)

By opening it, we can see that most of the channels are unused, there's transmission only on channel 0.

Since we already know that is a UART communication, we can use Logic's Async Serial tool to read the content

We can try the most common Baud Rates to try and decode the serial content (9600, 14400, 19200, 38400, 57600, 115200)

Settings used

With 38400 bps we can read the flag

flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment