confidencectf2019teaser

CONFidence CTF 2019 Teaser|Count me in!

#CONFidenceCTF2019Teaser https://ctftime.org/task/7838 中には count.py と output.txtがある import multiprocessing from Crypto.Cipher import AES from secret import key, flag counter = 0 aes = AES.new(key, AES.MODE_ECB) def chunk(input_data,…

CONFidence CTF 2019 Teaser|Really Suspicious Acronym

#CONFidenceCTF2019Teaser #RSA https://ctftime.org/task/7836 You can't break my public key if you don't know it, amirite? The flag format is: p4{letters_digits_and_special_characters}. def bytes_to_long(data): return int(data.encode("hex"),…

CONFidence CTF 2019 Teaser|Bro, do you even lift?

#CONFidenceCTF2019Teaser #Hensel's_Lift https://ctftime.org/task/7837 lift.sageとout.txtが与えられる。 flag = int(open('flag.txt','r').read().encode("hex"),16) ranges = int(log(flag,2)) p = next_prime(ZZ.random_element(2^15, 2^16)) k = 100…