ronin 2.0.5 → 2.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +3 -3
- data/.gitignore +1 -0
- data/.rubocop.yml +5 -1
- data/ChangeLog.md +56 -1
- data/Gemfile +66 -29
- data/README.md +162 -17
- data/Rakefile +9 -0
- data/data/completions/ronin +655 -0
- data/data/templates/dns_proxy.rb.erb +35 -0
- data/gemspec.yml +27 -13
- data/lib/ronin/cli/binary_template.rb +124 -0
- data/lib/ronin/cli/commands/archive.rb +104 -0
- data/lib/ronin/cli/commands/banner_grab.rb +2 -0
- data/lib/ronin/cli/commands/bitflip.rb +1 -1
- data/lib/ronin/cli/commands/bitsquat.rb +119 -0
- data/lib/ronin/cli/commands/cert_dump.rb +20 -4
- data/lib/ronin/cli/commands/cert_gen.rb +9 -19
- data/lib/ronin/cli/commands/cert_grab.rb +4 -3
- data/lib/ronin/cli/commands/completion.rb +115 -0
- data/lib/ronin/cli/commands/dns_proxy.rb +235 -0
- data/lib/ronin/cli/commands/http.rb +80 -8
- data/lib/ronin/cli/commands/ip.rb +101 -0
- data/lib/ronin/cli/commands/iprange.rb +25 -8
- data/lib/ronin/cli/commands/netcat.rb +2 -0
- data/lib/ronin/cli/commands/new/dns_listener.rb +37 -0
- data/lib/ronin/cli/commands/new/dns_proxy.rb +99 -0
- data/lib/ronin/cli/commands/new/exploit.rb +34 -0
- data/lib/ronin/cli/commands/new/http_listener.rb +37 -0
- data/lib/ronin/cli/commands/new/nokogiri.rb +33 -0
- data/lib/ronin/cli/commands/new/payload.rb +34 -0
- data/lib/ronin/cli/commands/new/project.rb +1 -1
- data/lib/ronin/cli/commands/new/script.rb +1 -1
- data/lib/ronin/cli/commands/new/web_app.rb +37 -0
- data/lib/ronin/cli/commands/new/web_server.rb +37 -0
- data/lib/ronin/cli/commands/new/web_spider.rb +37 -0
- data/lib/ronin/cli/commands/new.rb +3 -1
- data/lib/ronin/cli/commands/pack.rb +339 -0
- data/lib/ronin/cli/commands/public_suffix_list.rb +2 -0
- data/lib/ronin/cli/commands/tld_list.rb +2 -0
- data/lib/ronin/cli/commands/unarchive.rb +128 -0
- data/lib/ronin/cli/commands/unhexdump.rb +3 -1
- data/lib/ronin/cli/commands/unpack.rb +195 -0
- data/lib/ronin/cli/commands/url.rb +2 -0
- data/lib/ronin/cli/http_shell.rb +25 -0
- data/lib/ronin/cli.rb +10 -0
- data/lib/ronin/version.rb +1 -1
- data/man/ronin-archive.1.md +49 -0
- data/man/ronin-asn.1 +60 -77
- data/man/ronin-asn.1.md +25 -21
- data/man/ronin-banner-grab.1 +10 -21
- data/man/ronin-banner-grab.1.md +9 -5
- data/man/ronin-bitflip.1 +35 -61
- data/man/ronin-bitflip.1.md +30 -26
- data/man/ronin-bitsquat.1 +40 -0
- data/man/ronin-bitsquat.1.md +43 -0
- data/man/ronin-cert-dump.1 +44 -54
- data/man/ronin-cert-dump.1.md +18 -14
- data/man/ronin-cert-gen.1 +73 -94
- data/man/ronin-cert-gen.1.md +38 -34
- data/man/ronin-cert-grab.1 +29 -37
- data/man/ronin-cert-grab.1.md +12 -8
- data/man/ronin-completion.1 +78 -0
- data/man/ronin-completion.1.md +80 -0
- data/man/ronin-decode.1 +32 -63
- data/man/ronin-decode.1.md +29 -25
- data/man/ronin-decrypt.1 +42 -57
- data/man/ronin-decrypt.1.md +20 -16
- data/man/ronin-dns-proxy.1 +100 -0
- data/man/ronin-dns-proxy.1.md +70 -0
- data/man/ronin-dns.1 +10 -21
- data/man/ronin-dns.1.md +9 -5
- data/man/ronin-email-addr.1 +27 -40
- data/man/ronin-email-addr.1.md +15 -11
- data/man/ronin-encode.1 +93 -63
- data/man/ronin-encode.1.md +64 -26
- data/man/ronin-encrypt.1 +42 -57
- data/man/ronin-encrypt.1.md +20 -16
- data/man/ronin-entropy.1 +11 -21
- data/man/ronin-entropy.1.md +8 -4
- data/man/ronin-escape.1 +22 -46
- data/man/ronin-escape.1.md +22 -18
- data/man/ronin-extract.1 +74 -149
- data/man/ronin-extract.1.md +73 -69
- data/man/ronin-grep.1 +77 -155
- data/man/ronin-grep.1.md +76 -72
- data/man/ronin-help.1 +3 -14
- data/man/ronin-help.1.md +2 -2
- data/man/ronin-hexdump.1 +249 -265
- data/man/ronin-hexdump.1.md +93 -89
- data/man/ronin-highlight.1 +8 -18
- data/man/ronin-highlight.1.md +8 -4
- data/man/ronin-hmac.1 +17 -30
- data/man/ronin-hmac.1.md +14 -10
- data/man/ronin-homoglyph.1 +11 -22
- data/man/ronin-homoglyph.1.md +10 -6
- data/man/ronin-host.1 +23 -47
- data/man/ronin-host.1.md +22 -18
- data/man/ronin-http.1 +40 -69
- data/man/ronin-http.1.md +40 -30
- data/man/ronin-ip.1 +70 -80
- data/man/ronin-ip.1.md +44 -28
- data/man/ronin-iprange.1 +14 -22
- data/man/ronin-iprange.1.md +12 -5
- data/man/ronin-irb.1 +9 -17
- data/man/ronin-irb.1.md +7 -3
- data/man/ronin-md5.1 +13 -24
- data/man/ronin-md5.1.md +11 -7
- data/man/ronin-netcat.1 +25 -51
- data/man/ronin-netcat.1.md +25 -21
- data/man/ronin-new-dns-proxy.1 +45 -0
- data/man/ronin-new-dns-proxy.1.md +44 -0
- data/man/ronin-new-project.1 +32 -45
- data/man/ronin-new-project.1.md +11 -11
- data/man/ronin-new-script.1 +10 -22
- data/man/ronin-new-script.1.md +4 -4
- data/man/ronin-new.1 +56 -31
- data/man/ronin-new.1.md +48 -8
- data/man/ronin-pack.1 +977 -0
- data/man/ronin-pack.1.md +929 -0
- data/man/ronin-proxy.1 +37 -63
- data/man/ronin-proxy.1.md +29 -25
- data/man/ronin-public-suffix-list.1 +16 -32
- data/man/ronin-public-suffix-list.1.md +13 -9
- data/man/ronin-quote.1 +17 -36
- data/man/ronin-quote.1.md +17 -13
- data/man/ronin-rot.1 +26 -39
- data/man/ronin-rot.1.md +15 -11
- data/man/ronin-sha1.1 +13 -24
- data/man/ronin-sha1.1.md +11 -7
- data/man/ronin-sha256.1 +13 -24
- data/man/ronin-sha256.1.md +11 -7
- data/man/ronin-sha512.1 +13 -24
- data/man/ronin-sha512.1.md +11 -7
- data/man/ronin-strings.1 +30 -55
- data/man/ronin-strings.1.md +27 -23
- data/man/ronin-tips.1 +8 -16
- data/man/ronin-tips.1.md +7 -3
- data/man/ronin-tld-list.1 +16 -32
- data/man/ronin-tld-list.1.md +13 -9
- data/man/ronin-typo.1 +14 -28
- data/man/ronin-typo.1.md +13 -9
- data/man/ronin-typosquat.1 +15 -32
- data/man/ronin-typosquat.1.md +15 -11
- data/man/ronin-unarchive.1.md +41 -0
- data/man/ronin-unescape.1 +22 -46
- data/man/ronin-unescape.1.md +22 -18
- data/man/ronin-unhexdump.1 +81 -91
- data/man/ronin-unhexdump.1.md +16 -12
- data/man/ronin-unpack.1 +978 -0
- data/man/ronin-unpack.1.md +920 -0
- data/man/ronin-unquote.1 +17 -36
- data/man/ronin-unquote.1.md +17 -13
- data/man/ronin-url.1 +19 -40
- data/man/ronin-url.1.md +19 -15
- data/man/ronin-xor.1 +14 -28
- data/man/ronin-xor.1.md +13 -9
- data/man/ronin.1 +208 -29
- data/man/ronin.1.md +156 -11
- data/scripts/setup +58 -0
- metadata +162 -73
- data/lib/ronin/config.rb +0 -95
- /data/data/{new → templates}/project/.gitignore +0 -0
- /data/data/{new → templates}/project/.ruby-version.erb +0 -0
- /data/data/{new → templates}/project/Dockerfile.erb +0 -0
- /data/data/{new → templates}/project/Gemfile.erb +0 -0
- /data/data/{new → templates}/project/Rakefile +0 -0
- /data/data/{new → templates}/project/project.rb.erb +0 -0
- /data/data/{new → templates}/script.rb.erb +0 -0
data/man/ronin-host.1
CHANGED
@@ -1,99 +1,75 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-host 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-host \- Processes hostname(s)
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
|
8
|
-
\fBronin host\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIHOST\fP \.\.\. \[or] \fB--file\fR \fIFILE\fP\[rC]
|
9
|
-
.LP
|
8
|
+
.PP
|
9
|
+
\fBronin host\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIHOST\fP \.\.\. \[or] \fB\-\-file\fR \fIFILE\fP\[rC]
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Processes hostname(s) and performs DNS queries\.
|
14
|
-
.LP
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fIHOST\fP
|
19
16
|
A host name argument to query\.
|
20
|
-
.LP
|
21
17
|
.SH OPTIONS
|
22
|
-
.LP
|
23
18
|
.TP
|
24
|
-
\fB
|
19
|
+
\fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
|
25
20
|
Optional file to read values from\.
|
26
|
-
.LP
|
27
21
|
.TP
|
28
|
-
\fB
|
22
|
+
\fB\-\-subdomain\fR \fISUBNAME\fP
|
29
23
|
Converts the hostname to a sub\-domain\.
|
30
|
-
.LP
|
31
24
|
.TP
|
32
|
-
\fB
|
25
|
+
\fB\-d\fR, \fB\-\-domain\fR
|
33
26
|
Converts the hostname to a domain\.
|
34
|
-
.LP
|
35
27
|
.TP
|
36
|
-
\fB
|
28
|
+
\fB\-T\fR, \fB\-\-tld\fR
|
37
29
|
Converts the hostname to it\[cq]s TLD\.
|
38
|
-
.LP
|
39
30
|
.TP
|
40
|
-
\fB
|
31
|
+
\fB\-s\fR, \fB\-\-suffix\fR
|
41
32
|
Converts the hostname to it\[cq]s suffix\.
|
42
|
-
.LP
|
43
33
|
.TP
|
44
|
-
\fB
|
34
|
+
\fB\-S\fR, \fB\-\-change\-suffix\fR \fISUFFIX\fP
|
45
35
|
Changes the suffix of each hostname\.
|
46
|
-
.LP
|
47
36
|
.TP
|
48
|
-
\fB
|
37
|
+
\fB\-\-enum\-tlds\fR
|
49
38
|
Enumerates over every TLD\.
|
50
|
-
.LP
|
51
39
|
.TP
|
52
|
-
\fB
|
40
|
+
\fB\-\-enum\-suffixes\fR\[lB]\fB\[eq]\fR\fBicann\fR\[or]\fBprivate\fR\[rB]
|
53
41
|
Enumerates over every public suffix\. An optional value of \fBicann\fR or \fBprivate\fR
|
54
42
|
can be given to only enumerate ICANN suffixes or private suffixes\.
|
55
|
-
.LP
|
56
43
|
.TP
|
57
|
-
\fB
|
44
|
+
\fB\-\-enum\-subdomains\fR \fIFILE\fP
|
58
45
|
Enumerates over every subdomain from the given \fIFILE\fP and for the given
|
59
46
|
hostname\.
|
60
|
-
.LP
|
61
47
|
.TP
|
62
|
-
\fB
|
48
|
+
\fB\-N\fR, \fB\-\-nameserver\fR \fIHOST\fP\[or]\fIIP\fP
|
63
49
|
Send DNS queries to the nameserver\.
|
64
|
-
.LP
|
65
50
|
.TP
|
66
|
-
\fB
|
51
|
+
\fB\-I\fR, \fB\-\-ips\fR
|
67
52
|
Converts the hostname to it\[cq]s IP addresses\.
|
68
|
-
.LP
|
69
53
|
.TP
|
70
|
-
\fB
|
54
|
+
\fB\-r\fR, \fB\-\-registered\fR
|
71
55
|
Filters hostnames that are registered\.
|
72
|
-
.LP
|
73
56
|
.TP
|
74
|
-
\fB
|
57
|
+
\fB\-u\fR, \fB\-\-unregistered\fR
|
75
58
|
Filters hostnames that are unregistered\.
|
76
|
-
.LP
|
77
59
|
.TP
|
78
|
-
\fB
|
60
|
+
\fB\-A\fR, \fB\-\-has\-addresses\fR
|
79
61
|
Filters hostnames that have addresses\.
|
80
|
-
.LP
|
81
62
|
.TP
|
82
|
-
\fB
|
63
|
+
\fB\-H\fR, \fB\-\-has\-records\fR \fBA\fR\[or]\fBAAAA\fR\[or]\fBANY\fR\[or]\fBCNAME\fR\[or]\fBHINFO\fR\[or]\fBLOC\fR\[or]\fBMINFO\fR\[or]\fBMX\fR\[or]\fBNS\fR\[or]\fBPTR\fR\[or]\fBSOA\fR\[or]\fBSRV\fR\[or]\fBTXT\fR\[or]\fBWKS\fR
|
83
64
|
Filters hostnames that have a certain DNS record type\.
|
84
|
-
.LP
|
85
65
|
.TP
|
86
|
-
\fB
|
66
|
+
\fB\-t\fR, \fB\-\-query\fR \fBA\fR\[or]\fBAAAA\fR\[or]\fBANY\fR\[or]\fBCNAME\fR\[or]\fBHINFO\fR\[or]\fBLOC\fR\[or]\fBMINFO\fR\[or]\fBMX\fR\[or]\fBNS\fR\[or]\fBPTR\fR\[or]\fBSOA\fR\[or]\fBSRV\fR\[or]\fBTXT\fR\[or]\fBWKS\fR
|
87
67
|
Queries a specific type of DNS record\.
|
88
|
-
.LP
|
89
68
|
.TP
|
90
|
-
\fB
|
69
|
+
\fB\-h\fR, \fB\-\-help\fR
|
91
70
|
Print help information\.
|
92
|
-
.LP
|
93
71
|
.SH AUTHOR
|
94
|
-
.LP
|
95
72
|
.PP
|
96
73
|
Postmodern
|
97
74
|
.MT postmodern\.mod3\[at]gmail\.com
|
98
75
|
.ME
|
99
|
-
.LP
|
data/man/ronin-host.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-host 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-host - Processes hostname(s)
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin host` [*options*] {*HOST* ... \| `--file` *FILE*}
|
@@ -11,62 +15,62 @@ Processes hostname(s) and performs DNS queries.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*HOST*
|
14
|
-
|
18
|
+
: A host name argument to query.
|
15
19
|
|
16
20
|
## OPTIONS
|
17
21
|
|
18
22
|
`-f`, `--file` *FILE*
|
19
|
-
|
23
|
+
: Optional file to read values from.
|
20
24
|
|
21
25
|
`--subdomain` *SUBNAME*
|
22
|
-
|
26
|
+
: Converts the hostname to a sub-domain.
|
23
27
|
|
24
28
|
`-d`, `--domain`
|
25
|
-
|
29
|
+
: Converts the hostname to a domain.
|
26
30
|
|
27
31
|
`-T`, `--tld`
|
28
|
-
|
32
|
+
: Converts the hostname to it's TLD.
|
29
33
|
|
30
34
|
`-s`, `--suffix`
|
31
|
-
|
35
|
+
: Converts the hostname to it's suffix.
|
32
36
|
|
33
37
|
`-S`, `--change-suffix` *SUFFIX*
|
34
|
-
|
38
|
+
: Changes the suffix of each hostname.
|
35
39
|
|
36
40
|
`--enum-tlds`
|
37
|
-
|
41
|
+
: Enumerates over every TLD.
|
38
42
|
|
39
43
|
`--enum-suffixes`[`=``icann`|`private`]
|
40
|
-
|
44
|
+
: Enumerates over every public suffix. An optional value of `icann` or `private`
|
41
45
|
can be given to only enumerate ICANN suffixes or private suffixes.
|
42
46
|
|
43
47
|
`--enum-subdomains` *FILE*
|
44
|
-
|
48
|
+
: Enumerates over every subdomain from the given *FILE* and for the given
|
45
49
|
hostname.
|
46
50
|
|
47
51
|
`-N`, `--nameserver` *HOST*|*IP*
|
48
|
-
|
52
|
+
: Send DNS queries to the nameserver.
|
49
53
|
|
50
54
|
`-I`, `--ips`
|
51
|
-
|
55
|
+
: Converts the hostname to it's IP addresses.
|
52
56
|
|
53
57
|
`-r`, `--registered`
|
54
|
-
|
58
|
+
: Filters hostnames that are registered.
|
55
59
|
|
56
60
|
`-u`, `--unregistered`
|
57
|
-
|
61
|
+
: Filters hostnames that are unregistered.
|
58
62
|
|
59
63
|
`-A`, `--has-addresses`
|
60
|
-
|
64
|
+
: Filters hostnames that have addresses.
|
61
65
|
|
62
66
|
`-H`, `--has-records` `A`\|`AAAA`\|`ANY`\|`CNAME`\|`HINFO`\|`LOC`\|`MINFO`\|`MX`\|`NS`\|`PTR`\|`SOA`\|`SRV`\|`TXT`\|`WKS`
|
63
|
-
|
67
|
+
: Filters hostnames that have a certain DNS record type.
|
64
68
|
|
65
69
|
`-t`, `--query` `A`\|`AAAA`\|`ANY`\|`CNAME`\|`HINFO`\|`LOC`\|`MINFO`\|`MX`\|`NS`\|`PTR`\|`SOA`\|`SRV`\|`TXT`\|`WKS`
|
66
|
-
|
70
|
+
: Queries a specific type of DNS record.
|
67
71
|
|
68
72
|
`-h`, `--help`
|
69
|
-
|
73
|
+
: Print help information.
|
70
74
|
|
71
75
|
## AUTHOR
|
72
76
|
|
data/man/ronin-http.1
CHANGED
@@ -1,141 +1,112 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-http 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-http \- Send HTTP requests or spawn an interactive HTTP shell
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
.HP
|
8
|
+
.PP
|
8
9
|
\fBronin http\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIURL\fP \.\.\.\[rB]
|
9
|
-
.LP
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Send HTTP requests or spawn an interactive HTTP shell\.
|
14
|
-
.LP
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fIURL\fP
|
19
16
|
A URL to request\.
|
20
|
-
.LP
|
21
17
|
.SH OPTIONS
|
22
|
-
.LP
|
23
18
|
.TP
|
24
|
-
\fB
|
19
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
25
20
|
Enables verbose output\.
|
26
|
-
.LP
|
27
21
|
.TP
|
28
|
-
\fB
|
22
|
+
\fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
|
29
23
|
Optional file to read values from\.
|
30
|
-
.LP
|
31
24
|
.TP
|
32
|
-
\fB
|
25
|
+
\fB\-\-method\fR \fIHTTP\[ru]METHOD\fP
|
33
26
|
Send the HTTP request method\.
|
34
|
-
.LP
|
35
27
|
.TP
|
36
|
-
\fB
|
28
|
+
\fB\-\-get\fR
|
37
29
|
Send a GET request\.
|
38
|
-
.LP
|
39
30
|
.TP
|
40
|
-
\fB
|
31
|
+
\fB\-\-head\fR
|
41
32
|
Send a HEAD request\.
|
42
|
-
.LP
|
43
33
|
.TP
|
44
|
-
\fB
|
34
|
+
\fB\-\-patch\fR
|
45
35
|
Send a PATCH request\.
|
46
|
-
.LP
|
47
36
|
.TP
|
48
|
-
\fB
|
37
|
+
\fB\-\-post\fR
|
49
38
|
Send a POST request\.
|
50
|
-
.LP
|
51
39
|
.TP
|
52
|
-
\fB
|
40
|
+
\fB\-\-put\fR
|
53
41
|
Send a PUT request\.
|
54
|
-
.LP
|
55
42
|
.TP
|
56
|
-
\fB
|
43
|
+
\fB\-\-copy\fR
|
57
44
|
Send a COPY request\.
|
58
|
-
.LP
|
59
45
|
.TP
|
60
|
-
\fB
|
46
|
+
\fB\-\-delete\fR
|
61
47
|
Send a DELETE request\.
|
62
|
-
.LP
|
63
48
|
.TP
|
64
|
-
\fB
|
49
|
+
\fB\-\-lock\fR
|
65
50
|
Send a LOCK request\.
|
66
|
-
.LP
|
67
51
|
.TP
|
68
|
-
\fB
|
52
|
+
\fB\-\-options\fR
|
69
53
|
Send a OPTIONS request\.
|
70
|
-
.LP
|
71
54
|
.TP
|
72
|
-
\fB
|
55
|
+
\fB\-\-mkcol\fR
|
73
56
|
Send a MKCOL request\.
|
74
|
-
.LP
|
75
57
|
.TP
|
76
|
-
\fB
|
58
|
+
\fB\-\-move\fR
|
77
59
|
Send a MOVE request\.
|
78
|
-
.LP
|
79
60
|
.TP
|
80
|
-
\fB
|
61
|
+
\fB\-\-propfind\fR
|
81
62
|
Send a PROPFIND request\.
|
82
|
-
.LP
|
83
63
|
.TP
|
84
|
-
\fB
|
64
|
+
\fB\-\-proppatch\fR
|
85
65
|
Send a PROPPATCH request\.
|
86
|
-
.LP
|
87
66
|
.TP
|
88
|
-
\fB
|
67
|
+
\fB\-\-trace\fR
|
89
68
|
Send a TRACE request\.
|
90
|
-
.LP
|
91
69
|
.TP
|
92
|
-
\fB
|
70
|
+
\fB\-\-unlock\fR
|
93
71
|
Send an UNLOCK request\.
|
94
|
-
.LP
|
95
72
|
.TP
|
96
|
-
\fB
|
73
|
+
\fB\-\-shell\fR \fIURL\fP
|
97
74
|
Open an interactive HTTP shell\.
|
98
|
-
.LP
|
99
75
|
.TP
|
100
|
-
\fB
|
76
|
+
\fB\-P\fR, \fB\-\-proxy\fR \fIURL\fP
|
101
77
|
The proxy to use\.
|
102
|
-
.LP
|
103
78
|
.TP
|
104
|
-
\fB
|
79
|
+
\fB\-U\fR, \fB\-\-user\-agent\-string\fR \fISTRING\fP
|
105
80
|
The User\-Agent string to use\.
|
106
|
-
.LP
|
107
81
|
.TP
|
108
|
-
\fB
|
109
|
-
The User\-Agent to use\.
|
110
|
-
.LP
|
82
|
+
\fB\-u\fR, \fB\-\-user\-agent\fR \fIrandom\fP\[or]\fIchrome\fP\[or]\fIfirefox\fP\[or]\fIsafari\fP\[or]\fIlinux\fP\[or]\fImacos\fP\[or]\fIwindows\fP\[or]\fIiphone\fP\[or]\fIipad\fP\[or]\fIandroid\fP\[or]\fIchrome\-linux\fP\[or]\fIchrome\-macos\fP\[or]\fIchrome\-windows\fP\[or]\fIchrome\-iphone\fP\[or]\fIchrome\-ipad\fP\[or]\fIchrome\-android\fP\[or]\fIfirefox\-linux\fP\[or]\fIfirefox\-macos\fP\[or]\fIfirefox\-windows\fP\[or]\fIfirefox\-iphone\fP\[or]\fIfirefox\-ipad\fP\[or]\fIfirefox\-android\fP\[or]\fIsafari\-macos\fP\[or]\fIsafari\-iphone\fP\[or]\fIsafari\-ipad\fP\[or]\fIedge\fP
|
83
|
+
The User\-Agent alias to use\.
|
111
84
|
.TP
|
112
|
-
\fB
|
85
|
+
\fB\-H\fR, \fB\-\-header\fR \[lq]\fINAME\fP: \fIVALUE\fP\[rq]
|
113
86
|
Adds a header to the request\.
|
114
|
-
.LP
|
115
87
|
.TP
|
116
|
-
\fB
|
88
|
+
\fB\-C\fR, \fB\-\-cookie\fR \fICOOKIE\fP
|
89
|
+
Sets the raw \fBCookie\fR header\.
|
90
|
+
.TP
|
91
|
+
\fB\-c\fR, \fB\-\-cookie\-param\fR \fINAME\fP\fB\[eq]\fR\fIVALUE\fP
|
92
|
+
Sets an additional \fBCookie\fR param using the given \fINAME\fP and \fIVALUE\fP\.
|
93
|
+
.TP
|
94
|
+
\fB\-B\fR, \fB\-\-body\fR \fISTRING\fP
|
117
95
|
The request body\.
|
118
|
-
.LP
|
119
96
|
.TP
|
120
|
-
\fB
|
97
|
+
\fB\-F\fR, \fB\-\-body\-file\fR \fIFILE\fP
|
121
98
|
Sends the file as the request body\.
|
122
|
-
.LP
|
123
99
|
.TP
|
124
|
-
\fB
|
100
|
+
\fB\-f\fR, \fB\-\-form\-data\fR \fINAME\fP\[eq]\fIVALUE\fP
|
125
101
|
Adds a value to the form data\.
|
126
|
-
.LP
|
127
102
|
.TP
|
128
|
-
\fB
|
103
|
+
\fB\-q\fR, \fB\-\-query\-param\fR \fINAME\fP\[eq]\fIVALUE\fP
|
129
104
|
Adds a query param to the URL\.
|
130
|
-
.LP
|
131
105
|
.TP
|
132
|
-
\fB
|
106
|
+
\fB\-h\fR, \fB\-\-help\fR
|
133
107
|
Print help information\.
|
134
|
-
.LP
|
135
108
|
.SH AUTHOR
|
136
|
-
.LP
|
137
109
|
.PP
|
138
110
|
Postmodern
|
139
111
|
.MT postmodern\.mod3\[at]gmail\.com
|
140
112
|
.ME
|
141
|
-
.LP
|
data/man/ronin-http.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-http 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-http - Send HTTP requests or spawn an interactive HTTP shell
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin http` [*options*] [*URL* ...]
|
@@ -11,93 +15,99 @@ Send HTTP requests or spawn an interactive HTTP shell.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*URL*
|
14
|
-
|
18
|
+
: A URL to request.
|
15
19
|
|
16
20
|
## OPTIONS
|
17
21
|
|
18
22
|
`-v`, `--verbose`
|
19
|
-
|
23
|
+
: Enables verbose output.
|
20
24
|
|
21
25
|
`-f`, `--file` *FILE*
|
22
|
-
|
26
|
+
: Optional file to read values from.
|
23
27
|
|
24
28
|
`--method` *HTTP_METHOD*
|
25
|
-
|
29
|
+
: Send the HTTP request method.
|
26
30
|
|
27
31
|
`--get`
|
28
|
-
|
32
|
+
: Send a GET request.
|
29
33
|
|
30
34
|
`--head`
|
31
|
-
|
35
|
+
: Send a HEAD request.
|
32
36
|
|
33
37
|
`--patch`
|
34
|
-
|
38
|
+
: Send a PATCH request.
|
35
39
|
|
36
40
|
`--post`
|
37
|
-
|
41
|
+
: Send a POST request.
|
38
42
|
|
39
43
|
`--put`
|
40
|
-
|
44
|
+
: Send a PUT request.
|
41
45
|
|
42
46
|
`--copy`
|
43
|
-
|
47
|
+
: Send a COPY request.
|
44
48
|
|
45
49
|
`--delete`
|
46
|
-
|
50
|
+
: Send a DELETE request.
|
47
51
|
|
48
52
|
`--lock`
|
49
|
-
|
53
|
+
: Send a LOCK request.
|
50
54
|
|
51
55
|
`--options`
|
52
|
-
|
56
|
+
: Send a OPTIONS request.
|
53
57
|
|
54
58
|
`--mkcol`
|
55
|
-
|
59
|
+
: Send a MKCOL request.
|
56
60
|
|
57
61
|
`--move`
|
58
|
-
|
62
|
+
: Send a MOVE request.
|
59
63
|
|
60
64
|
`--propfind`
|
61
|
-
|
65
|
+
: Send a PROPFIND request.
|
62
66
|
|
63
67
|
`--proppatch`
|
64
|
-
|
68
|
+
: Send a PROPPATCH request.
|
65
69
|
|
66
70
|
`--trace`
|
67
|
-
|
71
|
+
: Send a TRACE request.
|
68
72
|
|
69
73
|
`--unlock`
|
70
|
-
|
74
|
+
: Send an UNLOCK request.
|
71
75
|
|
72
76
|
`--shell` *URL*
|
73
|
-
|
77
|
+
: Open an interactive HTTP shell.
|
74
78
|
|
75
79
|
`-P`, `--proxy` *URL*
|
76
|
-
|
80
|
+
: The proxy to use.
|
77
81
|
|
78
82
|
`-U`, `--user-agent-string` *STRING*
|
79
|
-
|
83
|
+
: The User-Agent string to use.
|
80
84
|
|
81
|
-
`-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*
|
82
|
-
|
85
|
+
`-u`, `--user-agent` *random*\|*chrome*\|*firefox*\|*safari*\|*linux*\|*macos*\|*windows*\|*iphone*\|*ipad*\|*android*\|*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*
|
86
|
+
: The User-Agent alias to use.
|
83
87
|
|
84
88
|
`-H`, `--header` "*NAME*: *VALUE*"
|
85
|
-
|
89
|
+
: Adds a header to the request.
|
90
|
+
|
91
|
+
`-C`, `--cookie` *COOKIE*
|
92
|
+
: Sets the raw `Cookie` header.
|
93
|
+
|
94
|
+
`-c`, `--cookie-param` *NAME*`=`*VALUE*
|
95
|
+
: Sets an additional `Cookie` param using the given *NAME* and *VALUE*.
|
86
96
|
|
87
97
|
`-B`, `--body` *STRING*
|
88
|
-
|
98
|
+
: The request body.
|
89
99
|
|
90
100
|
`-F`, `--body-file` *FILE*
|
91
|
-
|
101
|
+
: Sends the file as the request body.
|
92
102
|
|
93
103
|
`-f`, `--form-data` *NAME*=*VALUE*
|
94
|
-
|
104
|
+
: Adds a value to the form data.
|
95
105
|
|
96
106
|
`-q`, `--query-param` *NAME*=*VALUE*
|
97
|
-
|
107
|
+
: Adds a query param to the URL.
|
98
108
|
|
99
109
|
`-h`, `--help`
|
100
|
-
|
110
|
+
: Print help information.
|
101
111
|
|
102
112
|
## AUTHOR
|
103
113
|
|