PwnDiary

Everything about security

Month

December 2017

[SECCON CTF 2017] JPEG File Write-up (Binary100)

JPEG file Read this JPEG is broken. It will be fixed if you change somewhere by 1 bit. tktk-892009a0993d079214efa167cda2e7afc85e6b9cb38588cba9dab23eb6eb3d46 I started analyzing the file with the common tools.

As we can see, there is nothing interesting. So, I decided… Continue Reading →

[SECCON CTF 2017] Vigenere3d Write-up (Crypto100)

—– Vigenere3d.py import sys def _l(idx, s): return s[idx:] + s[:idx] def main(p, k1, k2): s = “ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz_{}” t = [[_l((i+j) % len(s), s) for j in range(len(s))] for i in range(len(s))] i1 = 0 i2 = 0 c =… Continue Reading →

Copyright © 2018 PwnDiary