Ngl, this is my favorite bit: guessing some SPI parameters, bash one-linering the analyzer's output into a raw binary, tossing it into a shitty tool I wrote half a decade ago, and slowly coaxing out an image. Gotcha, HP.
I deleted the cobbled-together one liner because the copy-n-paste I pulled from stack exchange was incorrect. Here is the quick python to do it right. ``` #!/usr/bin/python3 import sys
f=open("binout.bin",'wb')
for line in sys.stdin.readlines(): try: val = int(line.split(',')[2],0) print(val) f.write(bytes([val])) except: pass
I deleted the cobbled-together one liner because the copy-n-paste I pulled from stack exchange was incorrect. Here is the quick python to do it right.
```
#!/usr/bin/python3
import sys
f=open("binout.bin",'wb')
for line in sys.stdin.readlines():
try:
val = int(line.split(',')[2],0)
print(val)
f.write(bytes([val]))
except:
pass
f.close()
```