ronin 2.0.4 → 2.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +3 -3
  3. data/.gitignore +1 -0
  4. data/.rubocop.yml +5 -1
  5. data/ChangeLog.md +67 -1
  6. data/Gemfile +66 -29
  7. data/README.md +166 -21
  8. data/Rakefile +9 -0
  9. data/data/completions/ronin +655 -0
  10. data/data/templates/dns_proxy.rb.erb +35 -0
  11. data/gemspec.yml +27 -13
  12. data/lib/ronin/cli/binary_template.rb +124 -0
  13. data/lib/ronin/cli/commands/archive.rb +104 -0
  14. data/lib/ronin/cli/commands/banner_grab.rb +2 -0
  15. data/lib/ronin/cli/commands/bitflip.rb +1 -1
  16. data/lib/ronin/cli/commands/bitsquat.rb +119 -0
  17. data/lib/ronin/cli/commands/cert_dump.rb +20 -4
  18. data/lib/ronin/cli/commands/cert_gen.rb +11 -19
  19. data/lib/ronin/cli/commands/cert_grab.rb +4 -3
  20. data/lib/ronin/cli/commands/completion.rb +115 -0
  21. data/lib/ronin/cli/commands/dns_proxy.rb +235 -0
  22. data/lib/ronin/cli/commands/http.rb +80 -8
  23. data/lib/ronin/cli/commands/ip.rb +101 -0
  24. data/lib/ronin/cli/commands/iprange.rb +25 -8
  25. data/lib/ronin/cli/commands/netcat.rb +2 -0
  26. data/lib/ronin/cli/commands/new/dns_listener.rb +37 -0
  27. data/lib/ronin/cli/commands/new/dns_proxy.rb +99 -0
  28. data/lib/ronin/cli/commands/new/exploit.rb +34 -0
  29. data/lib/ronin/cli/commands/new/http_listener.rb +37 -0
  30. data/lib/ronin/cli/commands/new/nokogiri.rb +33 -0
  31. data/lib/ronin/cli/commands/new/payload.rb +34 -0
  32. data/lib/ronin/cli/commands/new/project.rb +1 -1
  33. data/lib/ronin/cli/commands/new/script.rb +1 -1
  34. data/lib/ronin/cli/commands/new/web_app.rb +37 -0
  35. data/lib/ronin/cli/commands/new/web_server.rb +37 -0
  36. data/lib/ronin/cli/commands/new/web_spider.rb +37 -0
  37. data/lib/ronin/cli/commands/new.rb +3 -1
  38. data/lib/ronin/cli/commands/pack.rb +339 -0
  39. data/lib/ronin/cli/commands/public_suffix_list.rb +2 -0
  40. data/lib/ronin/cli/commands/tld_list.rb +2 -0
  41. data/lib/ronin/cli/commands/unarchive.rb +128 -0
  42. data/lib/ronin/cli/commands/unhexdump.rb +3 -1
  43. data/lib/ronin/cli/commands/unpack.rb +195 -0
  44. data/lib/ronin/cli/commands/url.rb +2 -0
  45. data/lib/ronin/cli/http_shell.rb +25 -0
  46. data/lib/ronin/cli.rb +10 -0
  47. data/lib/ronin/version.rb +1 -1
  48. data/man/ronin-archive.1.md +49 -0
  49. data/man/ronin-asn.1 +60 -77
  50. data/man/ronin-asn.1.md +25 -21
  51. data/man/ronin-banner-grab.1 +10 -21
  52. data/man/ronin-banner-grab.1.md +9 -5
  53. data/man/ronin-bitflip.1 +35 -61
  54. data/man/ronin-bitflip.1.md +30 -26
  55. data/man/ronin-bitsquat.1 +40 -0
  56. data/man/ronin-bitsquat.1.md +43 -0
  57. data/man/ronin-cert-dump.1 +44 -54
  58. data/man/ronin-cert-dump.1.md +18 -14
  59. data/man/ronin-cert-gen.1 +73 -94
  60. data/man/ronin-cert-gen.1.md +38 -34
  61. data/man/ronin-cert-grab.1 +29 -37
  62. data/man/ronin-cert-grab.1.md +12 -8
  63. data/man/ronin-completion.1 +78 -0
  64. data/man/ronin-completion.1.md +80 -0
  65. data/man/ronin-decode.1 +32 -63
  66. data/man/ronin-decode.1.md +29 -25
  67. data/man/ronin-decrypt.1 +42 -57
  68. data/man/ronin-decrypt.1.md +20 -16
  69. data/man/ronin-dns-proxy.1 +100 -0
  70. data/man/ronin-dns-proxy.1.md +70 -0
  71. data/man/ronin-dns.1 +10 -21
  72. data/man/ronin-dns.1.md +9 -5
  73. data/man/ronin-email-addr.1 +27 -40
  74. data/man/ronin-email-addr.1.md +15 -11
  75. data/man/ronin-encode.1 +93 -63
  76. data/man/ronin-encode.1.md +64 -26
  77. data/man/ronin-encrypt.1 +42 -57
  78. data/man/ronin-encrypt.1.md +20 -16
  79. data/man/ronin-entropy.1 +11 -21
  80. data/man/ronin-entropy.1.md +8 -4
  81. data/man/ronin-escape.1 +22 -46
  82. data/man/ronin-escape.1.md +22 -18
  83. data/man/ronin-extract.1 +74 -149
  84. data/man/ronin-extract.1.md +73 -69
  85. data/man/ronin-grep.1 +77 -155
  86. data/man/ronin-grep.1.md +76 -72
  87. data/man/ronin-help.1 +3 -14
  88. data/man/ronin-help.1.md +2 -2
  89. data/man/ronin-hexdump.1 +249 -265
  90. data/man/ronin-hexdump.1.md +93 -89
  91. data/man/ronin-highlight.1 +8 -18
  92. data/man/ronin-highlight.1.md +8 -4
  93. data/man/ronin-hmac.1 +17 -30
  94. data/man/ronin-hmac.1.md +14 -10
  95. data/man/ronin-homoglyph.1 +11 -22
  96. data/man/ronin-homoglyph.1.md +10 -6
  97. data/man/ronin-host.1 +23 -47
  98. data/man/ronin-host.1.md +22 -18
  99. data/man/ronin-http.1 +40 -69
  100. data/man/ronin-http.1.md +40 -30
  101. data/man/ronin-ip.1 +70 -80
  102. data/man/ronin-ip.1.md +44 -28
  103. data/man/ronin-iprange.1 +14 -22
  104. data/man/ronin-iprange.1.md +12 -5
  105. data/man/ronin-irb.1 +9 -17
  106. data/man/ronin-irb.1.md +7 -3
  107. data/man/ronin-md5.1 +13 -24
  108. data/man/ronin-md5.1.md +11 -7
  109. data/man/ronin-netcat.1 +25 -51
  110. data/man/ronin-netcat.1.md +25 -21
  111. data/man/ronin-new-dns-proxy.1 +45 -0
  112. data/man/ronin-new-dns-proxy.1.md +44 -0
  113. data/man/ronin-new-project.1 +32 -45
  114. data/man/ronin-new-project.1.md +11 -11
  115. data/man/ronin-new-script.1 +10 -22
  116. data/man/ronin-new-script.1.md +4 -4
  117. data/man/ronin-new.1 +56 -31
  118. data/man/ronin-new.1.md +48 -8
  119. data/man/ronin-pack.1 +977 -0
  120. data/man/ronin-pack.1.md +929 -0
  121. data/man/ronin-proxy.1 +37 -63
  122. data/man/ronin-proxy.1.md +29 -25
  123. data/man/ronin-public-suffix-list.1 +16 -32
  124. data/man/ronin-public-suffix-list.1.md +13 -9
  125. data/man/ronin-quote.1 +17 -36
  126. data/man/ronin-quote.1.md +17 -13
  127. data/man/ronin-rot.1 +26 -39
  128. data/man/ronin-rot.1.md +15 -11
  129. data/man/ronin-sha1.1 +13 -24
  130. data/man/ronin-sha1.1.md +11 -7
  131. data/man/ronin-sha256.1 +13 -24
  132. data/man/ronin-sha256.1.md +11 -7
  133. data/man/ronin-sha512.1 +13 -24
  134. data/man/ronin-sha512.1.md +11 -7
  135. data/man/ronin-strings.1 +30 -55
  136. data/man/ronin-strings.1.md +27 -23
  137. data/man/ronin-tips.1 +8 -16
  138. data/man/ronin-tips.1.md +7 -3
  139. data/man/ronin-tld-list.1 +16 -32
  140. data/man/ronin-tld-list.1.md +13 -9
  141. data/man/ronin-typo.1 +14 -28
  142. data/man/ronin-typo.1.md +13 -9
  143. data/man/ronin-typosquat.1 +15 -32
  144. data/man/ronin-typosquat.1.md +15 -11
  145. data/man/ronin-unarchive.1.md +41 -0
  146. data/man/ronin-unescape.1 +22 -46
  147. data/man/ronin-unescape.1.md +22 -18
  148. data/man/ronin-unhexdump.1 +81 -91
  149. data/man/ronin-unhexdump.1.md +16 -12
  150. data/man/ronin-unpack.1 +978 -0
  151. data/man/ronin-unpack.1.md +920 -0
  152. data/man/ronin-unquote.1 +17 -36
  153. data/man/ronin-unquote.1.md +17 -13
  154. data/man/ronin-url.1 +19 -40
  155. data/man/ronin-url.1.md +19 -15
  156. data/man/ronin-xor.1 +14 -28
  157. data/man/ronin-xor.1.md +13 -9
  158. data/man/ronin.1 +208 -29
  159. data/man/ronin.1.md +156 -11
  160. data/scripts/setup +58 -0
  161. metadata +162 -73
  162. data/lib/ronin/config.rb +0 -95
  163. /data/data/{new → templates}/project/.gitignore +0 -0
  164. /data/data/{new → templates}/project/.ruby-version.erb +0 -0
  165. /data/data/{new → templates}/project/Dockerfile.erb +0 -0
  166. /data/data/{new → templates}/project/Gemfile.erb +0 -0
  167. /data/data/{new → templates}/project/Rakefile +0 -0
  168. /data/data/{new → templates}/project/project.rb.erb +0 -0
  169. /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.8
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
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-host \- Processes hostname(s)
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
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-f\fR, \fB--file\fR \fIFILE\fP
19
+ \fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
25
20
  Optional file to read values from\.
26
- .LP
27
21
  .TP
28
- \fB--subdomain\fR \fISUBNAME\fP
22
+ \fB\-\-subdomain\fR \fISUBNAME\fP
29
23
  Converts the hostname to a sub\-domain\.
30
- .LP
31
24
  .TP
32
- \fB-d\fR, \fB--domain\fR
25
+ \fB\-d\fR, \fB\-\-domain\fR
33
26
  Converts the hostname to a domain\.
34
- .LP
35
27
  .TP
36
- \fB-T\fR, \fB--tld\fR
28
+ \fB\-T\fR, \fB\-\-tld\fR
37
29
  Converts the hostname to it\[cq]s TLD\.
38
- .LP
39
30
  .TP
40
- \fB-s\fR, \fB--suffix\fR
31
+ \fB\-s\fR, \fB\-\-suffix\fR
41
32
  Converts the hostname to it\[cq]s suffix\.
42
- .LP
43
33
  .TP
44
- \fB-S\fR, \fB--change-suffix\fR \fISUFFIX\fP
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--enum-tlds\fR
37
+ \fB\-\-enum\-tlds\fR
49
38
  Enumerates over every TLD\.
50
- .LP
51
39
  .TP
52
- \fB--enum-suffixes\fR\[lB]\fB=\fR\fBicann\fR\[or]\fBprivate\fR\[rB]
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--enum-subdomains\fR \fIFILE\fP
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-N\fR, \fB--nameserver\fR \fIHOST\fP\[or]\fIIP\fP
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-I\fR, \fB--ips\fR
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-r\fR, \fB--registered\fR
54
+ \fB\-r\fR, \fB\-\-registered\fR
71
55
  Filters hostnames that are registered\.
72
- .LP
73
56
  .TP
74
- \fB-u\fR, \fB--unregistered\fR
57
+ \fB\-u\fR, \fB\-\-unregistered\fR
75
58
  Filters hostnames that are unregistered\.
76
- .LP
77
59
  .TP
78
- \fB-A\fR, \fB--has-addresses\fR
60
+ \fB\-A\fR, \fB\-\-has\-addresses\fR
79
61
  Filters hostnames that have addresses\.
80
- .LP
81
62
  .TP
82
- \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
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-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
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-h\fR, \fB--help\fR
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
- A host name argument to query.
18
+ : A host name argument to query.
15
19
 
16
20
  ## OPTIONS
17
21
 
18
22
  `-f`, `--file` *FILE*
19
- Optional file to read values from.
23
+ : Optional file to read values from.
20
24
 
21
25
  `--subdomain` *SUBNAME*
22
- Converts the hostname to a sub-domain.
26
+ : Converts the hostname to a sub-domain.
23
27
 
24
28
  `-d`, `--domain`
25
- Converts the hostname to a domain.
29
+ : Converts the hostname to a domain.
26
30
 
27
31
  `-T`, `--tld`
28
- Converts the hostname to it's TLD.
32
+ : Converts the hostname to it's TLD.
29
33
 
30
34
  `-s`, `--suffix`
31
- Converts the hostname to it's suffix.
35
+ : Converts the hostname to it's suffix.
32
36
 
33
37
  `-S`, `--change-suffix` *SUFFIX*
34
- Changes the suffix of each hostname.
38
+ : Changes the suffix of each hostname.
35
39
 
36
40
  `--enum-tlds`
37
- Enumerates over every TLD.
41
+ : Enumerates over every TLD.
38
42
 
39
43
  `--enum-suffixes`[`=``icann`|`private`]
40
- Enumerates over every public suffix. An optional value of `icann` or `private`
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
- Enumerates over every subdomain from the given *FILE* and for the given
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
- Send DNS queries to the nameserver.
52
+ : Send DNS queries to the nameserver.
49
53
 
50
54
  `-I`, `--ips`
51
- Converts the hostname to it's IP addresses.
55
+ : Converts the hostname to it's IP addresses.
52
56
 
53
57
  `-r`, `--registered`
54
- Filters hostnames that are registered.
58
+ : Filters hostnames that are registered.
55
59
 
56
60
  `-u`, `--unregistered`
57
- Filters hostnames that are unregistered.
61
+ : Filters hostnames that are unregistered.
58
62
 
59
63
  `-A`, `--has-addresses`
60
- Filters hostnames that have addresses.
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
- Filters hostnames that have a certain DNS record type.
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
- Queries a specific type of DNS record.
70
+ : Queries a specific type of DNS record.
67
71
 
68
72
  `-h`, `--help`
69
- Print help information.
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.8
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
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-http \- Send HTTP requests or spawn an interactive HTTP shell
5
7
  .SH SYNOPSIS
6
- .LP
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-v\fR, \fB--verbose\fR
19
+ \fB\-v\fR, \fB\-\-verbose\fR
25
20
  Enables verbose output\.
26
- .LP
27
21
  .TP
28
- \fB-f\fR, \fB--file\fR \fIFILE\fP
22
+ \fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
29
23
  Optional file to read values from\.
30
- .LP
31
24
  .TP
32
- \fB--method\fR \fIHTTP\[ru]METHOD\fP
25
+ \fB\-\-method\fR \fIHTTP\[ru]METHOD\fP
33
26
  Send the HTTP request method\.
34
- .LP
35
27
  .TP
36
- \fB--get\fR
28
+ \fB\-\-get\fR
37
29
  Send a GET request\.
38
- .LP
39
30
  .TP
40
- \fB--head\fR
31
+ \fB\-\-head\fR
41
32
  Send a HEAD request\.
42
- .LP
43
33
  .TP
44
- \fB--patch\fR
34
+ \fB\-\-patch\fR
45
35
  Send a PATCH request\.
46
- .LP
47
36
  .TP
48
- \fB--post\fR
37
+ \fB\-\-post\fR
49
38
  Send a POST request\.
50
- .LP
51
39
  .TP
52
- \fB--put\fR
40
+ \fB\-\-put\fR
53
41
  Send a PUT request\.
54
- .LP
55
42
  .TP
56
- \fB--copy\fR
43
+ \fB\-\-copy\fR
57
44
  Send a COPY request\.
58
- .LP
59
45
  .TP
60
- \fB--delete\fR
46
+ \fB\-\-delete\fR
61
47
  Send a DELETE request\.
62
- .LP
63
48
  .TP
64
- \fB--lock\fR
49
+ \fB\-\-lock\fR
65
50
  Send a LOCK request\.
66
- .LP
67
51
  .TP
68
- \fB--options\fR
52
+ \fB\-\-options\fR
69
53
  Send a OPTIONS request\.
70
- .LP
71
54
  .TP
72
- \fB--mkcol\fR
55
+ \fB\-\-mkcol\fR
73
56
  Send a MKCOL request\.
74
- .LP
75
57
  .TP
76
- \fB--move\fR
58
+ \fB\-\-move\fR
77
59
  Send a MOVE request\.
78
- .LP
79
60
  .TP
80
- \fB--propfind\fR
61
+ \fB\-\-propfind\fR
81
62
  Send a PROPFIND request\.
82
- .LP
83
63
  .TP
84
- \fB--proppatch\fR
64
+ \fB\-\-proppatch\fR
85
65
  Send a PROPPATCH request\.
86
- .LP
87
66
  .TP
88
- \fB--trace\fR
67
+ \fB\-\-trace\fR
89
68
  Send a TRACE request\.
90
- .LP
91
69
  .TP
92
- \fB--unlock\fR
70
+ \fB\-\-unlock\fR
93
71
  Send an UNLOCK request\.
94
- .LP
95
72
  .TP
96
- \fB--shell\fR \fIURL\fP
73
+ \fB\-\-shell\fR \fIURL\fP
97
74
  Open an interactive HTTP shell\.
98
- .LP
99
75
  .TP
100
- \fB-P\fR, \fB--proxy\fR \fIURL\fP
76
+ \fB\-P\fR, \fB\-\-proxy\fR \fIURL\fP
101
77
  The proxy to use\.
102
- .LP
103
78
  .TP
104
- \fB-U\fR, \fB--user-agent-string\fR \fISTRING\fP
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-u\fR, \fB--user-agent\fR \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
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-H\fR, \fB--header\fR \[lq]\fINAME\fP: \fIVALUE\fP\[rq]
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-B\fR, \fB--body\fR \fISTRING\fP
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-F\fR, \fB--body-file\fR \fIFILE\fP
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-f\fR, \fB--form-data\fR \fINAME\fP\[eq]\fIVALUE\fP
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-q\fR, \fB--query-param\fR \fINAME\fP\[eq]\fIVALUE\fP
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-h\fR, \fB--help\fR
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
- A URL to request.
18
+ : A URL to request.
15
19
 
16
20
  ## OPTIONS
17
21
 
18
22
  `-v`, `--verbose`
19
- Enables verbose output.
23
+ : Enables verbose output.
20
24
 
21
25
  `-f`, `--file` *FILE*
22
- Optional file to read values from.
26
+ : Optional file to read values from.
23
27
 
24
28
  `--method` *HTTP_METHOD*
25
- Send the HTTP request method.
29
+ : Send the HTTP request method.
26
30
 
27
31
  `--get`
28
- Send a GET request.
32
+ : Send a GET request.
29
33
 
30
34
  `--head`
31
- Send a HEAD request.
35
+ : Send a HEAD request.
32
36
 
33
37
  `--patch`
34
- Send a PATCH request.
38
+ : Send a PATCH request.
35
39
 
36
40
  `--post`
37
- Send a POST request.
41
+ : Send a POST request.
38
42
 
39
43
  `--put`
40
- Send a PUT request.
44
+ : Send a PUT request.
41
45
 
42
46
  `--copy`
43
- Send a COPY request.
47
+ : Send a COPY request.
44
48
 
45
49
  `--delete`
46
- Send a DELETE request.
50
+ : Send a DELETE request.
47
51
 
48
52
  `--lock`
49
- Send a LOCK request.
53
+ : Send a LOCK request.
50
54
 
51
55
  `--options`
52
- Send a OPTIONS request.
56
+ : Send a OPTIONS request.
53
57
 
54
58
  `--mkcol`
55
- Send a MKCOL request.
59
+ : Send a MKCOL request.
56
60
 
57
61
  `--move`
58
- Send a MOVE request.
62
+ : Send a MOVE request.
59
63
 
60
64
  `--propfind`
61
- Send a PROPFIND request.
65
+ : Send a PROPFIND request.
62
66
 
63
67
  `--proppatch`
64
- Send a PROPPATCH request.
68
+ : Send a PROPPATCH request.
65
69
 
66
70
  `--trace`
67
- Send a TRACE request.
71
+ : Send a TRACE request.
68
72
 
69
73
  `--unlock`
70
- Send an UNLOCK request.
74
+ : Send an UNLOCK request.
71
75
 
72
76
  `--shell` *URL*
73
- Open an interactive HTTP shell.
77
+ : Open an interactive HTTP shell.
74
78
 
75
79
  `-P`, `--proxy` *URL*
76
- The proxy to use.
80
+ : The proxy to use.
77
81
 
78
82
  `-U`, `--user-agent-string` *STRING*
79
- The User-Agent string to use.
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
- The User-Agent to use.
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
- Adds a header to the request.
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
- The request body.
98
+ : The request body.
89
99
 
90
100
  `-F`, `--body-file` *FILE*
91
- Sends the file as the request body.
101
+ : Sends the file as the request body.
92
102
 
93
103
  `-f`, `--form-data` *NAME*=*VALUE*
94
- Adds a value to the form data.
104
+ : Adds a value to the form data.
95
105
 
96
106
  `-q`, `--query-param` *NAME*=*VALUE*
97
- Adds a query param to the URL.
107
+ : Adds a query param to the URL.
98
108
 
99
109
  `-h`, `--help`
100
- Print help information.
110
+ : Print help information.
101
111
 
102
112
  ## AUTHOR
103
113