KCSC CTF 2024 - Writeup
Evil ECB show chal.py from Crypto.Cipher import AES from Crypto.Util.Padding import pad, unpad from os import urando...
Evil ECB show chal.py from Crypto.Cipher import AES from Crypto.Util.Padding import pad, unpad from os import urando...
Lattice Các cuộc tấn công mà chúng tôi sẽ mô tả sau cả hai đều sử dụng thuật toán giảm cơ sở mạng tinh thể Lenstra-Lenstra-Lovasz. Do đó, chúng ta cần phải hiểu mạng tinh thể là gì và tại sao thuậ...
Filter Ciphertext filter_ciphertext.py from Crypto.Cipher import AES import os with open("flag.txt", "r") as f: flag = f.read() BLOCK_SIZE = 16 iv = os.urandom(BLOCK_SIZE) xor = lambda x, y...
Find the lattice chal.py from Crypto.Util.number import getPrime, inverse, bytes_to_long import random import math FLAG = b'crypto{?????????????????????}' def gen_key(): q = getPrime(512) ...
Hash Function I solved $\frac{7}{11}$ challenges and I continuously updated Jack’s Birthday Hash Vì giá trị hash là chuỗi nhị phân 11 bits nên có tất cả $H = 2^{11} = 2048$ giá trị hash Giả sử p...
Truncated 1 Show public.pem -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA64u2qOSKwRf6GWPrq...
Format: Jeopardy Date: 3/30/2024, 10:00:00 AM - 3/31/2024, 10:00:00 AM The ACSC is an open CTF (Capture The Flag) competition specifically for individuals under 26 in the Asian region. It also se...
lalala Source.py from random import randint from re import search flag = "bi0sctf{ %s }" % f"{randint(2**39, 2**40):x}" p = random_prime(2**1024) unknowns = [randint(0, 2**32) for _ in range(10)...
Cracking The Casino casino.py #!/usr/bin/python3 from Pedersen_commitments import gen, commit, verify # I want to host a trustworthy online casino! # To implement blackjack and craps in a trus...
Limited 1 chal_time.py import time import random import sys if __name__ == '__main__': flag = input("Flag? > ").encode('utf-8') correct = [189, 24, 103, 164, 36, 233, 227, 172, 244, 21...