Detected 2 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: 4 encoded, so I decoded it. ciphertext = data[hmac_size:] ciphertext = b64decode(ciphertext) # The IV starts from 0 to 16 (length) of the ciphertext. iv = ciphertext[:16] # The key size is 256 bits -> 32 bytes. key_size = 32 # The passphrase of the key. password = 'mypassphrase' # […]
↧