Skip to content

mwtalbert/paddingoracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

paddingoracle

Python Code to Implement Padding Oracle Attack

Uses pyaes (https://github.com/ricmoo/pyaes) to show how a padding oracle attack works. I've added padding and a "padding oracle" to return whether the padding is correct for any ciphertext.

Usage:

from my_oracle import solve_complete, encrypt_with_pad
plaintext = 'I love to crack cbc mode encryption'
ctext = encrypt_with_pad(plaintext)

solve_complete(ctext)

About

Python Code to Implement Padding Oracle Attack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages