New Page
script to solve it
encoded_str = "灩捯䍔䙻ㄶ形楴獟楮獴㌴摟潦弸彥㜰㍢㐸㙽"
decoded_str = ""
for char in encoded_str:
ascii_val = ord(char)
first_char = chr(ascii_val >> 8)
second_char = chr(ascii_val % 256)
decoded_str += first_char + second_char
print(decoded_str)
output with answer
PS A:\ctf\Transformation> & C:/Python312/python.exe a:/ctf/Transformation/decode.py
picoCTF{16_bits_inst34d_of_8_e703b486}
No Comments