Substitution0

Download file message yang disediakan picoctf Akses situs https://gchq.github.io/CyberChef Gunakan operation substitute dengan cara geserkan substitute ke bagian aksi Dibagian cipher text isikan abjad kapital dari A – Z Di bagian plain text ambil key dari file message dimana key ada di baris pertama yang kapital semua Ceklis Ignore Case Read more…

Morse Code

Download audio morse terlebih dahulu dari picoctf Akses situs https://morsecode.world/international/decoder/audio-decoder-adaptive.html untuk mendecode audio morse Upload audio morse yang telah didownload dan play audio, tunggu hingga audio selesai di decode. Tiap spasi hasil decode, berikan tanda _ Lalu hasil tersebut terapkan ke format picoCTF{hasildisini} picoCTF{WH47_H47H_90D_W20U9H7}

Transposition Trial

Download file message.txt dari picoctf di kalilinux Akses lokasi file message.txt berada Buat program python dengan perintah touch transposition_trial.py Isikan file dengan codingan berikut dengan perintah nano transposition_trial.py def main():     f = open(“message.txt”, “r”, encoding=”UTF-8″)     txt = f.read()     n=3     txt3gram = [txt[i:i+n] for i in range(0, Read more…

Vignere

Vigenère cipher adalah metode enkripsi berbasis substitusi polialfabetik, yang berarti setiap huruf dalam teks dienkripsi dengan pergeseran yang berbeda, berdasarkan kata kunci (key) tertentu. Buka file cipher text yang telah didownload Salin cipher text Kunjungi situs https://www.boxentriq.com/code-breaking/vigenere-cipher Paste kan cipher text ke vigenere tool Salin key yang ada di picoctf Read more…

ReadMyCert

Download file cert yang disediakan di kalilinux Tampilkan file diterminal dengan perintah cat readmycert.csr Pastikan file tersebut merupakan certificate Lalu tampilkan detail mendalam dari certificate yang telah diunduh dengan perintah berikut openssl req -in readmycert.csr -noout -text

Custom encryption

Buat file python dengan nama bebas.py di terminal kalilinux lalu paste codingan berikut : from random import randint import sys   def generator(g, x, p): return pow(g, x) % p  def encrypt(plaintext, key): cipher = [97965, 185045, 740180, 946995, 1012305, 21770, 827260, 751065, 718410, 457170, 0, 903455, 228585, 54425, 740180, 0, Read more…

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…