Git Product home page Git Product logo

cbc_padding_oracle_attack's Introduction

CBC Mode Padding Oracle Attack

❯ python cbc_padding_oracle_attack.py
Algorithm: Crypto.Cipher.AES
Plain Text: b'THIS IS A SUPER SECRET MESSAGE'
Cipher Text: b'\xae_\xc85t\x14\xf9\xdf\xcf\x18\xe3\xd2\x8e\xdej1\x99`\xd19\x14B6]r\x11\r\x0ccF\x1as\x04 \xa8tz[w\xcc\x9c\x94\xc3\xbf\x90\xbb\xf5\xeb'
---- Start Attack ----
Byte Decrypted: 0x02
Byte Decrypted: 0x02
Byte Decrypted: 0x45
Byte Decrypted: 0x47
Byte Decrypted: 0x41
Byte Decrypted: 0x53
Byte Decrypted: 0x53
Byte Decrypted: 0x45
Byte Decrypted: 0x4d
Byte Decrypted: 0x20
Byte Decrypted: 0x54
Byte Decrypted: 0x45
Byte Decrypted: 0x52
Byte Decrypted: 0x43
Byte Decrypted: 0x45
Byte Decrypted: 0x53
Byte Decrypted: 0x20
Byte Decrypted: 0x52
Byte Decrypted: 0x45
Byte Decrypted: 0x50
Byte Decrypted: 0x55
Byte Decrypted: 0x53
Byte Decrypted: 0x20
Byte Decrypted: 0x41
Byte Decrypted: 0x20
Byte Decrypted: 0x53
Byte Decrypted: 0x49
Byte Decrypted: 0x20
Byte Decrypted: 0x53
Byte Decrypted: 0x49
Byte Decrypted: 0x48
Byte Decrypted: 0x54
Hacked Plain Text: THIS IS A SUPER SECRET MESSAGE

cbc_padding_oracle_attack's People

Contributors

ommadawn46 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.