ronin-rb / ronin

Ronin is a Free and Open Source Ruby Toolkit for Security Research and Development. Ronin also allows for the rapid development and distribution of code, exploits, payloads, etc, via 3rd-party git repositories.
https://ronin-rb.dev
GNU General Public License v3.0
697 stars 50 forks source link

Add a `--escape-body` option to `ronin http` command #231

Open postmodern opened 1 month ago

postmodern commented 1 month ago

Add an option which causes the response body to printed as an escaped Ruby String. This will help when the response body is binary or contains null characters.

Example

$ ronin http --escape-body http://...
foo\0bar\0baz\0