evilfactorylabs

Cover image for PicoCTF RE - Transformation
Purgatorio
Purgatorio

Posted on

PicoCTF RE - Transformation

encoded_string = "灩捯䍔䙻ㄶ形楴獟楮獴㌴摟潦弸強㕤㐸㤸扽"
for i in range(len(encoded_string)):
    print(chr(ord(encoded_string[i])>>8))
    print(chr((ord(encoded_string[i]))-((ord(encoded_string[i])>>8)<<8)))
Enter fullscreen mode Exit fullscreen mode

Ngak ngasih penjelasan ye.. baca doc chr() and ord() python functions.

Flag :
picoCTF{16_bits_inst34d_of_8_75d4898b}

Oldest comments (1)

Collapse
 
ri7nz profile image
RiN

Tulisannya sangat menarik, membuat dan memaksa pembaca untuk mencari tahu lebih dalam, mantap mang 🙌 lanjutkan