Skip to content

Commit

Permalink
Added --user-agent and --user-agent-string options to the docs (i…
Browse files Browse the repository at this point in the history
…ssue #53).
  • Loading branch information
postmodern committed Sep 30, 2023
1 parent c6316fa commit a89315e
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ronin/vulns/cli/commands/command_injection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module Commands
# --first Only find the first vulnerability for each URL
# -A, --all Find all vulnerabilities for each URL
# -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,
# --user-agent Sets the User-Agent to use
# -C, --cookie COOKIE Sets the raw Cookie header
# -c, --cookie-param NAME=VALUE Sets an additional cookie param
# -R, --referer URL Sets the Referer header
Expand Down
3 changes: 3 additions & 0 deletions lib/ronin/vulns/cli/commands/lfi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module Commands
# --first Only find the first vulnerability for each URL
# -A, --all Find all vulnerabilities for each URL
# -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,
# --user-agent Sets the User-Agent to use
# -C, --cookie COOKIE Sets the raw Cookie header
# -c, --cookie-param NAME=VALUE Sets an additional cookie param
# -R, --referer URL Sets the Referer header
Expand Down
3 changes: 3 additions & 0 deletions lib/ronin/vulns/cli/commands/open_redirect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module Commands
# --first Only find the first vulnerability for each URL
# -A, --all Find all vulnerabilities for each URL
# -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,
# --user-agent Sets the User-Agent to use
# -C, --cookie COOKIE Sets the raw Cookie header
# -c, --cookie-param NAME=VALUE Sets an additional cookie param
# -R, --referer URL Sets the Referer header
Expand Down
3 changes: 3 additions & 0 deletions lib/ronin/vulns/cli/commands/reflected_xss.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module Commands
# --first Only find the first vulnerability for each URL
# -A, --all Find all vulnerabilities for each URL
# -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,
# --user-agent Sets the User-Agent to use
# -C, --cookie COOKIE Sets the raw Cookie header
# -c, --cookie-param NAME=VALUE Sets an additional cookie param
# -R, --referer URL Sets the Referer header
Expand Down
3 changes: 3 additions & 0 deletions lib/ronin/vulns/cli/commands/rfi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module Commands
# --first Only find the first vulnerability for each URL
# -A, --all Find all vulnerabilities for each URL
# -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,
# --user-agent Sets the User-Agent to use
# -C, --cookie COOKIE Sets the raw Cookie header
# -c, --cookie-param NAME=VALUE Sets an additional cookie param
# -R, --referer URL Sets the Referer header
Expand Down
3 changes: 3 additions & 0 deletions lib/ronin/vulns/cli/commands/scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module Commands
# --first Only find the first vulnerability for each URL
# -A, --all Find all vulnerabilities for each URL
# -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,
# --user-agent Sets the User-Agent to use
# -C, --cookie COOKIE Sets the raw Cookie header
# -c, --cookie-param NAME=VALUE Sets an additional cookie param
# -R, --referer URL Sets the Referer header
Expand Down
3 changes: 3 additions & 0 deletions lib/ronin/vulns/cli/commands/sqli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module Commands
# --first Only find the first vulnerability for each URL
# -A, --all Find all vulnerabilities for each URL
# -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,
# --user-agent Sets the User-Agent to use
# -C, --cookie COOKIE Sets the raw Cookie header
# -c, --cookie-param NAME=VALUE Sets an additional cookie param
# -R, --referer URL Sets the Referer header
Expand Down
3 changes: 3 additions & 0 deletions lib/ronin/vulns/cli/commands/ssti.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ module Commands
# --first Only find the first vulnerability for each URL
# -A, --all Find all vulnerabilities for each URL
# -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,
# --user-agent Sets the User-Agent to use
# -C, --cookie COOKIE Sets the raw Cookie header
# -c, --cookie-param NAME=VALUE Sets an additional cookie param
# -R, --referer URL Sets the Referer header
Expand Down
6 changes: 6 additions & 0 deletions man/ronin-vulns-command-injection.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ option.
`-H`, `--header` "*Name*: *value*"
Sets an additional header using the given *Name* and *value*.

`-U`, `--user-agent-string` *STRING*
Sets the `User-Agent` header string.

`-u`, `--user-agent` `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`
Sets the `User-Agent` header.

`-C`, `--cookie` *COOKIE*
Sets the raw `Cookie` header.

Expand Down
6 changes: 6 additions & 0 deletions man/ronin-vulns-lfi.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ option.
`-H`, `--header` "*Name*: *value*"
Sets an additional header using the given *Name* and *value*.

`-U`, `--user-agent-string` *STRING*
Sets the `User-Agent` header string.

`-u`, `--user-agent` `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`
Sets the `User-Agent` header.

`-C`, `--cookie` *COOKIE*
Sets the raw `Cookie` header.

Expand Down
6 changes: 6 additions & 0 deletions man/ronin-vulns-open-redirect.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ as additional arguments or read from a file using the `--input` option.
`-H`, `--header` "*Name*: *value*"
Sets an additional header using the given *Name* and *value*.

`-U`, `--user-agent-string` *STRING*
Sets the `User-Agent` header string.

`-u`, `--user-agent` `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`
Sets the `User-Agent` header.

`-C`, `--cookie` *COOKIE*
Sets the raw `Cookie` header.

Expand Down
6 changes: 6 additions & 0 deletions man/ronin-vulns-reflected-xss.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ to scan can be given as additional arguments or read from a file using the
`-H`, `--header` "*Name*: *value*"
Sets an additional header using the given *Name* and *value*.

`-U`, `--user-agent-string` *STRING*
Sets the `User-Agent` header string.

`-u`, `--user-agent` `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`
Sets the `User-Agent` header.

`-C`, `--cookie` *COOKIE*
Sets the raw `Cookie` header.

Expand Down
6 changes: 6 additions & 0 deletions man/ronin-vulns-rfi.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ option.
`-H`, `--header` "*Name*: *value*"
Sets an additional header using the given *Name* and *value*.

`-U`, `--user-agent-string` *STRING*
Sets the `User-Agent` header string.

`-u`, `--user-agent` `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`
Sets the `User-Agent` header.

`-C`, `--cookie` *COOKIE*
Sets the raw `Cookie` header.

Expand Down
6 changes: 6 additions & 0 deletions man/ronin-vulns-scan.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ additional arguments or read from a file using the `--input` option.
`-H`, `--header` "*Name*: *value*"
Sets an additional header using the given *Name* and *value*.

`-U`, `--user-agent-string` *STRING*
Sets the `User-Agent` header string.

`-u`, `--user-agent` `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`
Sets the `User-Agent` header.

`-C`, `--cookie` *COOKIE*
Sets the raw `Cookie` header.

Expand Down
6 changes: 6 additions & 0 deletions man/ronin-vulns-sqli.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ option.
`-H`, `--header` "*Name*: *value*"
Sets an additional header using the given *Name* and *value*.

`-U`, `--user-agent-string` *STRING*
Sets the `User-Agent` header string.

`-u`, `--user-agent` `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`
Sets the `User-Agent` header.

`-C`, `--cookie` *COOKIE*
Sets the raw `Cookie` header.

Expand Down
6 changes: 6 additions & 0 deletions man/ronin-vulns-ssti.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ to scan can be given as additional arguments or read from a file using the
`-H`, `--header` "*Name*: *value*"
Sets an additional header using the given *Name* and *value*.

`-U`, `--user-agent-string` *STRING*
Sets the `User-Agent` header string.

`-u`, `--user-agent` `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`
Sets the `User-Agent` header.

`-C`, `--cookie` *COOKIE*
Sets the raw `Cookie` header.

Expand Down

0 comments on commit a89315e

Please sign in to comment.