Misc & OSINT
Encoding, OSINT, dan hal-hal random
Kategori Paling Random
Misc itu campur-campur. Bisa encoding, OSINT, programming, puzzle, bahkan guessing game. Biasanya poin kecil tapi gampang solved.
Encoding - Wajib Hafal
MudahIni bukan enkripsi, cuma encoding. Gampang di-decode.
1Base64:2- Huruf A-Z, a-z, 0-9, +, /3- Sering ada = di akhir (padding)4- Contoh: SGVsbG8gV29ybGQ=5 6Base32:7- Huruf A-Z dan 2-7 DOANG8- Padding juga =9- Contoh: JBSWY3DPEBLW64TMMQ======10 11Hex:12- Cuma 0-9 dan a-f13- Contoh: 48656c6c6f14 15Binary:16- Cuma 0 dan 117- Biasanya 8 digit per karakter18- 01001000 01100101 01101100 = "Hel"19 20URL Encoding:21- Ada %XX22- %20 = spasi, %3D = =23- Contoh: Hello%20World24 25ROT13:26- Huruf digeser 1327- Self-inverse (encode = decode)28- Contoh: Uryyb = Hello1# Base642echo "SGVsbG8=" | base64 -d3 4# Hex5echo "48656c6c6f" | xxd -r -p6 7# URL decode8python3 -c "import urllib.parse; print(urllib.parse.unquote('Hello%20World'))"9 10# ROT1311echo "Uryyb" | tr 'A-Za-z' 'N-ZA-Mn-za-m'12 13# Dari file14cat encoded.txt | base64 -dDemo Interaktif
Hex Converter
Convert text ke hex atau sebaliknya
CyberChef FTW
Males decode manual? Pake CyberChef. Fitur "Magic" bisa auto-detect encoding.
OSINT - Stalking Legal
MudahCari informasi dari sumber publik
Tempat Cari Info
Orang
- • Google nama + username
- • Social media (IG, Twitter, LinkedIn)
- • GitHub, GitLab
- • namechk.com (cek username)
Website
- • WHOIS lookup
- • DNS records
- • Wayback Machine
- • SSL certificate info
Lokasi
- • Google Maps / Street View
- • EXIF GPS dari foto
- • Geolocation dari landmarks
Gambar
- • Google Reverse Image
- • TinEye
- • Yandex Images (lebih jago)
Google Dorking
MudahCara pake Google buat cari hal tersembunyi
1site:example.com → cari di domain tertentu2filetype:pdf → cari file PDF3intitle:"index of" → cari directory listing4inurl:admin → URL yang ada "admin"5intext:password → halaman yang ada kata password6 7# Contoh kombinasi:8site:pastebin.com password9site:github.com "API_KEY"10filetype:sql intext:password11intitle:"index of" "backup"12site:trello.com password13inurl:wp-admin site:example.comHati-hati
Google dorking buat CTF oke. Tapi jangan pake buat nyari vulnerability di website orang tanpa izin, itu ilegal.
Metadata Analysis
MudahInfo tersembunyi di dalam file
File (terutama gambar) sering nyimpen info yang gak keliatan: kamera, lokasi GPS, author, software, dll.
1# Liat semua metadata2exiftool image.jpg3 4# Yang sering dicari:5exiftool image.jpg | grep -i "gps" # lokasi6exiftool image.jpg | grep -i "author" # pembuat7exiftool image.jpg | grep -i "comment" # comment tersembunyi8exiftool image.jpg | grep -i "software" # software yg dipake9 10# Liat metadata dokumen11exiftool document.pdf12exiftool document.docx13 14# Hapus semua metadata (kalo perlu)15exiftool -all= image.jpg1# strings - cari text di binary2strings image.jpg | grep -i flag3strings image.jpg | grep -i ctf4 5# file - cek tipe file6file mystery_file7 8# binwalk - cari embedded files9binwalk image.jpg10binwalk -e image.jpg # extractQR Code & Barcode
MudahDecode berbagai jenis kode
1# Install zbarimg2# Ubuntu: sudo apt install zbar-tools3# Mac: brew install zbar4 5# Decode QR6zbarimg qrcode.png7 8# Decode dari webcam (real-time)9zbarcam10 11# Python alternatif12pip install pyzbar pillow13python3 -c "14from pyzbar.pyzbar import decode15from PIL import Image16print(decode(Image.open('qr.png'))[0].data.decode())17"Online Tools
Programming Challenges
MenengahMisc kadang minta bikin script
Beberapa soal misc minta kita solve ratusan challenge kecil secara otomatis pake script. Biasanya math atau string manipulation.
1from pwn import *2 3# Connect4r = remote('ctf.example.com', 1337)5 6# Terima sampai prompt7r.recvuntil(b'Answer: ')8 9# Loop solve10for i in range(100):11 # Terima soal12 question = r.recvline().decode().strip()13 print(f"Soal: {question}")14 15 # Solve (contoh: kalkulator sederhana)16 answer = eval(question) # hati2 pake eval17 18 # Kirim jawaban19 r.sendline(str(answer).encode())20 21 # Tunggu response22 response = r.recvline()23 print(f"Response: {response}")24 25# Dapet flag26r.interactive()