BBomb - Phase 2
Category: Binary Bomb
50 points
Can you help me find my lost key so I can read my string?
Author: treap_treap
Solution
Second phase of Binary Bomb
challenge chain which started with
BBomb - Phase 1.
This time the goal was to find string, which xored with 5 (literal number, not character) gives
Dk52m6WZw@s6w0dIZh@2m5a
.
from pwn import xor
flag_encrypted = 'Dk52m6WZw@s6w0dIZh@2m5a'
print('Flag: DawgCTF{{{}}}'.format(xor(flag_encrypted, b'\x05').decode('utf-8')))
Output:
Flag: DawgCTF{An07h3R_rEv3r5aL_mE7h0d}
Flag
DawgCTF{An07h3R_rEv3r5aL_mE7h0d}