[![Twitter](https://img.shields.io/twitter/follow/sh1yo_.svg?logo=twitter)](https://twitter.com/sh1yo_)
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/B0B858X5E)
![crates.io](https://img.shields.io/crates/v/request_smuggler.svg)
![stars](https://img.shields.io/github/stars/Sh1Yo/request_smuggler)
![crates_downloads](https://img.shields.io/crates/d/request_smuggler?logo=rust)
![github_downloads](https://img.shields.io/github/downloads/sh1yo/request_smuggler/total?label=downloads&logo=github)
Request smuggler
Http request smuggling vulnerability scanner
Based on the amazing [research](https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn) by [James Kettle](https://twitter.com/albinowax).
The tool can help to find servers that may be vulnerable to request smuggling vulnerability.
## Usage
```
USAGE:
request_smuggler [OPTIONS] --url
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--amount-of-payloads low/medium/all [default: low]
-t, --attack-types
[ClTeMethod, ClTePath, ClTeTime, TeClMethod, TeClPath, TeClTime] [default: "ClTeTime" "TeClTime"]
--file
send request from a file
you need to explicitly pass \r\n at the end of the lines
-H, --header Example: -H 'one:one' 'two:two'
-X, --method [default: POST]
-u, --url
-v, --verbose
0 - print detected cases and errors only,
1 - print first line of server responses
2 - print requests [default: 0]
--verify how many times verify the vulnerability [default: 2]
```
## Installation
- Linux
- from releases
- from source code (rust should be installed)
```bash
git clone https://github.com/Sh1Yo/request_smuggler
cd request_smuggler
cargo build --release
```
- using cargo install
```bash
cargo install request_smuggler --version 0.1.0-alpha.2
```
- Mac
- from source code (rust should be installed)
```bash
git clone https://github.com/Sh1Yo/request_smuggler
cd request_smuggler
cargo build --release
```
- using cargo install
```bash
cargo install request_smuggler --version 0.1.0-alpha.2
```
- Windows
- from releases