Download file message dari picoctf
Buat file python di terminal kalilinux dan berinama basicmod.py
Edit isinya dengan perintah nano basicmod.py
Isi file seperti ini
nums = “165 248 94 346 299 73 198 221 313 137 205 87 336 110 186 69 223 213 216 216 177 138”
nums = nums.split(” “)
nums = [int(i, 10) for i in nums]
for i in nums:
t = i % 37
if t <= 25:
print(chr(ord(‘A’) + t), end=””)
elif t == 36:
print(“_”, end=””)
else:
print(t-26, end=””)
print()
isi variabel nums merupakan hasil salin dari file message yang telah diunduh
37 berdasarkan mod dari soal
Jalankan file python dengan perintah python basicmod.py
Maka akan didapatkan result lalu terapkan ke format berikut
picoCTF{resultdisini}
picoCTF{R0UND_N_R0UND_B6B25531}
0 Comments