About

rgbCTF 2020 Crypto - N-AES

N-AES Description What if I encrypt something with AES multiple times? nc challenge.rgbsec.xyz 34567 ~qpwoeirut#5057 Files n_aes.py import binascii from base64 import b64encode, b64decode from Crypto.Cipher import AES from Crypto.Util.Padding import pad, unpad from os import urandom from random import seed, randint BLOCK_SIZE = 16 d...

Read more

Redpwn 2020 Crypto - worst_pw_manager

worst-pw-manager Description I found this in-progress password manager on a dead company's website. Seems neat. Files worst-pw-manager.zip worst-pw-manager/worst-pw-manager.py worst-pw-manager/passwords/ worst-pw-manager/passwords/0_135791.enc … worst-pw-manager.py wor...

Read more

Redpwn 2020 Crypto - Pseudo-key

Pseudo key Description Keys are not always as they seem... Note: Make sure to wrap the plaintext with flag{} before you submit! Files pseudo-key-output.txt pseudo-key.py Lets take a quick look at the contents of pseudo-key.py #!/usr/bin/env python3 from string import ascii_lowercase chr_to_num = {c: i for i, c in enumerate(ascii_lowe...

Read more