SPI: sigrok session
An engineer recorded the bus between an SPI flash and a microcontroller with sigrok (PulseView): capture.sr (a sigrok session file — a ZIP: version, metadata and chunks of raw samples logic-1-N). Channels: probe1=CS#, probe2=CLK, probe3=MOSI, probe4=MISO; unitsize=1 — each sample is 1 byte, and the value of channel i is in bit i-1. The sample rate is metadata.
SPI settings: mode 0 (CPOL=0, CPHA=0), MSB first. Flash commands: 0x9F (JEDEC ID), 0x05 (status), 0x03 READ + 24-bit address — after that the data arrives on MISO. The recording contains several READs; the access token is in the READ response starting at address 0x01F000, in ASCII base64 form. Note: while CS# is high, another device may be active on the bus (its CS# line was not recorded).
Decode the token. Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).