티스토리 뷰

CTF/CSAW

[2016 CSAW CTF Quals] Reversing - Rock

HorolLooloo 2016.09.26 04:18

2016 CSAW CTF Quals



Reversing - Rock



Exercise






Solution






1

2

3

4

5

6

a1 = "FLAG23456912365453475897834567"

ans = ""

for i in range(len(a1)):

   temp = (ord(a1[i])-9)^0x10

   ans += chr((temp-20)^0x50)

   print ans

cs



댓글
댓글쓰기 폼