From bf7598cea1c5d65585add206299320f99849fe8f Mon Sep 17 00:00:00 2001 From: Postmodern Date: Sat, 30 Sep 2023 03:14:29 -0700 Subject: [PATCH] Added the `--print-curl` and `--print-http` options to the docs. --- lib/ronin/vulns/cli/commands/command_injection.rb | 2 ++ lib/ronin/vulns/cli/commands/lfi.rb | 2 ++ lib/ronin/vulns/cli/commands/open_redirect.rb | 2 ++ lib/ronin/vulns/cli/commands/reflected_xss.rb | 2 ++ lib/ronin/vulns/cli/commands/rfi.rb | 2 ++ lib/ronin/vulns/cli/commands/scan.rb | 2 ++ lib/ronin/vulns/cli/commands/sqli.rb | 2 ++ lib/ronin/vulns/cli/commands/ssti.rb | 2 ++ man/ronin-vulns-command-injection.1.md | 6 ++++++ man/ronin-vulns-lfi.1.md | 6 ++++++ man/ronin-vulns-open-redirect.1.md | 6 ++++++ man/ronin-vulns-reflected-xss.1.md | 6 ++++++ man/ronin-vulns-rfi.1.md | 6 ++++++ man/ronin-vulns-scan.1.md | 6 ++++++ man/ronin-vulns-sqli.1.md | 6 ++++++ man/ronin-vulns-ssti.1.md | 6 ++++++ 16 files changed, 64 insertions(+) diff --git a/lib/ronin/vulns/cli/commands/command_injection.rb b/lib/ronin/vulns/cli/commands/command_injection.rb index 14edf96..5d516c0 100644 --- a/lib/ronin/vulns/cli/commands/command_injection.rb +++ b/lib/ronin/vulns/cli/commands/command_injection.rb @@ -36,6 +36,8 @@ module Commands # # --first Only find the first vulnerability for each URL # -A, --all Find all vulnerabilities for each URL + # --print-curl Also prints an example curl command for each vulnerability + # --print-http Also prints an example HTTP request for each vulnerability # -H, --header "Name: value" Sets an additional header # -U, --user-agent-string STRING Sets the User-Agent header # -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge, diff --git a/lib/ronin/vulns/cli/commands/lfi.rb b/lib/ronin/vulns/cli/commands/lfi.rb index dc18a4f..196a74f 100644 --- a/lib/ronin/vulns/cli/commands/lfi.rb +++ b/lib/ronin/vulns/cli/commands/lfi.rb @@ -36,6 +36,8 @@ module Commands # # --first Only find the first vulnerability for each URL # -A, --all Find all vulnerabilities for each URL + # --print-curl Also prints an example curl command for each vulnerability + # --print-http Also prints an example HTTP request for each vulnerability # -H, --header "Name: value" Sets an additional header # -U, --user-agent-string STRING Sets the User-Agent header # -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge, diff --git a/lib/ronin/vulns/cli/commands/open_redirect.rb b/lib/ronin/vulns/cli/commands/open_redirect.rb index 0912d27..88a75de 100644 --- a/lib/ronin/vulns/cli/commands/open_redirect.rb +++ b/lib/ronin/vulns/cli/commands/open_redirect.rb @@ -36,6 +36,8 @@ module Commands # # --first Only find the first vulnerability for each URL # -A, --all Find all vulnerabilities for each URL + # --print-curl Also prints an example curl command for each vulnerability + # --print-http Also prints an example HTTP request for each vulnerability # -H, --header "Name: value" Sets an additional header # -U, --user-agent-string STRING Sets the User-Agent header # -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge, diff --git a/lib/ronin/vulns/cli/commands/reflected_xss.rb b/lib/ronin/vulns/cli/commands/reflected_xss.rb index 9aea0d5..5b9cc19 100644 --- a/lib/ronin/vulns/cli/commands/reflected_xss.rb +++ b/lib/ronin/vulns/cli/commands/reflected_xss.rb @@ -36,6 +36,8 @@ module Commands # # --first Only find the first vulnerability for each URL # -A, --all Find all vulnerabilities for each URL + # --print-curl Also prints an example curl command for each vulnerability + # --print-http Also prints an example HTTP request for each vulnerability # -H, --header "Name: value" Sets an additional header # -U, --user-agent-string STRING Sets the User-Agent header # -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge, diff --git a/lib/ronin/vulns/cli/commands/rfi.rb b/lib/ronin/vulns/cli/commands/rfi.rb index e9d93fd..28ef9f6 100644 --- a/lib/ronin/vulns/cli/commands/rfi.rb +++ b/lib/ronin/vulns/cli/commands/rfi.rb @@ -36,6 +36,8 @@ module Commands # # --first Only find the first vulnerability for each URL # -A, --all Find all vulnerabilities for each URL + # --print-curl Also prints an example curl command for each vulnerability + # --print-http Also prints an example HTTP request for each vulnerability # -H, --header "Name: value" Sets an additional header # -U, --user-agent-string STRING Sets the User-Agent header # -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge, diff --git a/lib/ronin/vulns/cli/commands/scan.rb b/lib/ronin/vulns/cli/commands/scan.rb index 7d3338c..57e14bf 100644 --- a/lib/ronin/vulns/cli/commands/scan.rb +++ b/lib/ronin/vulns/cli/commands/scan.rb @@ -36,6 +36,8 @@ module Commands # # --first Only find the first vulnerability for each URL # -A, --all Find all vulnerabilities for each URL + # --print-curl Also prints an example curl command for each vulnerability + # --print-http Also prints an example HTTP request for each vulnerability # -H, --header "Name: value" Sets an additional header # -U, --user-agent-string STRING Sets the User-Agent header # -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge, diff --git a/lib/ronin/vulns/cli/commands/sqli.rb b/lib/ronin/vulns/cli/commands/sqli.rb index 3704b29..00121e3 100644 --- a/lib/ronin/vulns/cli/commands/sqli.rb +++ b/lib/ronin/vulns/cli/commands/sqli.rb @@ -36,6 +36,8 @@ module Commands # # --first Only find the first vulnerability for each URL # -A, --all Find all vulnerabilities for each URL + # --print-curl Also prints an example curl command for each vulnerability + # --print-http Also prints an example HTTP request for each vulnerability # -H, --header "Name: value" Sets an additional header # -U, --user-agent-string STRING Sets the User-Agent header # -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge, diff --git a/lib/ronin/vulns/cli/commands/ssti.rb b/lib/ronin/vulns/cli/commands/ssti.rb index efa3c93..a720d8c 100644 --- a/lib/ronin/vulns/cli/commands/ssti.rb +++ b/lib/ronin/vulns/cli/commands/ssti.rb @@ -37,6 +37,8 @@ module Commands # # --first Only find the first vulnerability for each URL # -A, --all Find all vulnerabilities for each URL + # --print-curl Also prints an example curl command for each vulnerability + # --print-http Also prints an example HTTP request for each vulnerability # -H, --header "Name: value" Sets an additional header # -U, --user-agent-string STRING Sets the User-Agent header # -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge, diff --git a/man/ronin-vulns-command-injection.1.md b/man/ronin-vulns-command-injection.1.md index 054ca5f..b0d2ae7 100644 --- a/man/ronin-vulns-command-injection.1.md +++ b/man/ronin-vulns-command-injection.1.md @@ -23,6 +23,12 @@ option. `-A`, `--all` Find all vulnerabilities for each URL. +`--print-curl` + Also prints an example `curl` command for each vulnerability. + +`--print-http` + Also prints an example HTTP request for each vulnerability. + `-H`, `--header` "*Name*: *value*" Sets an additional header using the given *Name* and *value*. diff --git a/man/ronin-vulns-lfi.1.md b/man/ronin-vulns-lfi.1.md index 9adea21..d8365e6 100644 --- a/man/ronin-vulns-lfi.1.md +++ b/man/ronin-vulns-lfi.1.md @@ -23,6 +23,12 @@ option. `-A`, `--all` Find all vulnerabilities for each URL. +`--print-curl` + Also prints an example `curl` command for each vulnerability. + +`--print-http` + Also prints an example HTTP request for each vulnerability. + `-H`, `--header` "*Name*: *value*" Sets an additional header using the given *Name* and *value*. diff --git a/man/ronin-vulns-open-redirect.1.md b/man/ronin-vulns-open-redirect.1.md index 0175d91..1590a06 100644 --- a/man/ronin-vulns-open-redirect.1.md +++ b/man/ronin-vulns-open-redirect.1.md @@ -22,6 +22,12 @@ as additional arguments or read from a file using the `--input` option. `-A`, `--all` Find all vulnerabilities for each URL. +`--print-curl` + Also prints an example `curl` command for each vulnerability. + +`--print-http` + Also prints an example HTTP request for each vulnerability. + `-H`, `--header` "*Name*: *value*" Sets an additional header using the given *Name* and *value*. diff --git a/man/ronin-vulns-reflected-xss.1.md b/man/ronin-vulns-reflected-xss.1.md index a553af8..55aa3a8 100644 --- a/man/ronin-vulns-reflected-xss.1.md +++ b/man/ronin-vulns-reflected-xss.1.md @@ -23,6 +23,12 @@ to scan can be given as additional arguments or read from a file using the `-A`, `--all` Find all vulnerabilities for each URL. +`--print-curl` + Also prints an example `curl` command for each vulnerability. + +`--print-http` + Also prints an example HTTP request for each vulnerability. + `-H`, `--header` "*Name*: *value*" Sets an additional header using the given *Name* and *value*. diff --git a/man/ronin-vulns-rfi.1.md b/man/ronin-vulns-rfi.1.md index 49b3d24..4e648ac 100644 --- a/man/ronin-vulns-rfi.1.md +++ b/man/ronin-vulns-rfi.1.md @@ -23,6 +23,12 @@ option. `-A`, `--all` Find all vulnerabilities for each URL. +`--print-curl` + Also prints an example `curl` command for each vulnerability. + +`--print-http` + Also prints an example HTTP request for each vulnerability. + `-H`, `--header` "*Name*: *value*" Sets an additional header using the given *Name* and *value*. diff --git a/man/ronin-vulns-scan.1.md b/man/ronin-vulns-scan.1.md index 05627e2..6b8bf2c 100644 --- a/man/ronin-vulns-scan.1.md +++ b/man/ronin-vulns-scan.1.md @@ -22,6 +22,12 @@ additional arguments or read from a file using the `--input` option. `-A`, `--all` Find all vulnerabilities for each URL. +`--print-curl` + Also prints an example `curl` command for each vulnerability. + +`--print-http` + Also prints an example HTTP request for each vulnerability. + `-H`, `--header` "*Name*: *value*" Sets an additional header using the given *Name* and *value*. diff --git a/man/ronin-vulns-sqli.1.md b/man/ronin-vulns-sqli.1.md index 0c137d0..0e7e577 100644 --- a/man/ronin-vulns-sqli.1.md +++ b/man/ronin-vulns-sqli.1.md @@ -23,6 +23,12 @@ option. `-A`, `--all` Find all vulnerabilities for each URL. +`--print-curl` + Also prints an example `curl` command for each vulnerability. + +`--print-http` + Also prints an example HTTP request for each vulnerability. + `-H`, `--header` "*Name*: *value*" Sets an additional header using the given *Name* and *value*. diff --git a/man/ronin-vulns-ssti.1.md b/man/ronin-vulns-ssti.1.md index 2742f34..57a2e55 100644 --- a/man/ronin-vulns-ssti.1.md +++ b/man/ronin-vulns-ssti.1.md @@ -23,6 +23,12 @@ to scan can be given as additional arguments or read from a file using the `-A`, `--all` Find all vulnerabilities for each URL. +`--print-curl` + Also prints an example `curl` command for each vulnerability. + +`--print-http` + Also prints an example HTTP request for each vulnerability. + `-H`, `--header` "*Name*: *value*" Sets an additional header using the given *Name* and *value*.