rsa_oracle

Download file secret dan password dari pico di kalilinux Akses lokasi file berada d terminal Buat file python dengan nama rsa.py dan isikan codingan berikut from pwn import * context.log_level=’critical’ p = remote(“titan.picoctf.net”, 61923)  //ini sesuai link dan port yang diberikan pico p.recvuntil(b”decrypt.”) with open(“password.enc”) as file:     c = Read more…

C3

Unduh file chipertext dan convert.py dari pico terlebih dahulu di kalilinux Buka terminal dan buat file python dengan perintah Touch decode.py Salin codingan ini #!/usr/bin/python import sys ciphertext = ‘DLSeGAGDgBNJDQJDCFSFnRBIDjgHoDFCFtHDgJpiHtGDmMAQFnRBJKkBAsTMrsPSDDnEFCFtIbEDtDCIbFCFtHTJDKerFldbFObFCFtLBFkBAAAPFnRBJGEkerFlcPgKkImHnIlATJDKbTbFOkdNnsgbnJRMFnRBN> lookup1 = “\n \”#()*+/1:=[]abcdefghijklmnopqrstuvwxyz” lookup2 = “ABCDEFGHIJKLMNOPQRSTabcdefghijklmnopqrst” out = “” prev = 0 for char in ciphertext:   index_2 = Read more…