Crates.io | rustpad |
lib.rs | rustpad |
version | 1.8.1 |
source | src |
created_at | 2021-11-19 17:38:14.485558 |
updated_at | 2023-03-03 20:10:14.401257 |
description | Multi-threaded Padding Oracle attacks against any service. |
homepage | |
repository | https://github.com/Kibouo/rustpad/ |
max_upload_size | |
id | 484550 |
size | 419,902 |
Arch linux |
Kali / Debian |
Others |
---|---|---|
yay -Syu rustpad |
See releases | cargo install rustpad |
rustpad
is a multi-threaded successor to the classic padbuster
, written in Rust. It abuses a Padding Oracle vulnerability to decrypt any cypher text or encrypt arbitrary plain text without knowing the encryption key!
hex
, base64
, base64url
Using rustpad
to attack a padding oracle is easy. It requires only 4 pieces of information to start:
web
/script
, see below)--oracle
)--decrypt
)--block-size
)Web mode specifies that the oracle is located on the web. In other words, the oracle is a web server with a URL.
For a padding oracle attack to succeed, an oracle must say so if a cypher text with incorrect padding was provided. rustpad
will analyse the oracle's responses and automatically calibrate itself to the oracle's behaviour.
Script mode was made for power users or CTF players 🏴☠️ who were given a script to run. The target oracle is a local shell script.
Scripts allow you to run attacks against local oracles or more exotic services. Or you can use script mode to customise and extend rustpad
's features. However, if you're missing a feature, feel free to open an issue on GitHub!
rustpad
can generate tab auto-completion scripts for most popular shells:
rustpad setup <shell>
Consult your shell's documentation on what to do with the generated script.