/padding-oracle

Padding oracle attacker

Primary LanguageGo

padding-oracle

Padding oracle attacker

Installation

go install -v github.com/arielril/padding-oracle/cmd/paddingoracle@latest

Running

Installed package

λ paddingoracle -h

Padding oracle

Usage:
  paddingoracle [flags]

Flags:
   -msg, -message string  cipher message to attack
   -block-size int        block size (8, 16, 32) (default 16)
   -v, -verbose           verbose output
   -s, -silent            silent output

Source code

go run cmd/paddingoracle/paddingoracle.go -h

Padding oracle

Usage:
  paddingoracle [flags]

Flags:
   -msg, -message string  cipher message to attack
   -block-size int        block size (8, 16, 32) (default 16)
   -v, -verbose           verbose output
   -s, -silent            silent output

Examples

  • Cipher message provided by the professor
paddingoracle -msg b30bd8c7be0c21847f69e71abc063e04842be3c899b2a9c96bc7f8b197187d218b9a1bfa82e0a992a04d1be7583826052a1fbe5836f8f3b7829a661598957826 -v

Resources

Papers

Blogs