ronin 2.0.5 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) 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/.ruby-version +1 -1
  6. data/ChangeLog.md +62 -1
  7. data/Gemfile +66 -29
  8. data/README.md +165 -20
  9. data/Rakefile +9 -0
  10. data/data/completions/ronin +655 -0
  11. data/data/templates/dns_proxy.rb.erb +35 -0
  12. data/gemspec.yml +29 -15
  13. data/lib/ronin/cli/binary_template.rb +124 -0
  14. data/lib/ronin/cli/commands/archive.rb +104 -0
  15. data/lib/ronin/cli/commands/banner_grab.rb +2 -0
  16. data/lib/ronin/cli/commands/bitflip.rb +1 -1
  17. data/lib/ronin/cli/commands/bitsquat.rb +119 -0
  18. data/lib/ronin/cli/commands/cert_dump.rb +20 -4
  19. data/lib/ronin/cli/commands/cert_gen.rb +9 -19
  20. data/lib/ronin/cli/commands/cert_grab.rb +4 -3
  21. data/lib/ronin/cli/commands/completion.rb +115 -0
  22. data/lib/ronin/cli/commands/dns_proxy.rb +239 -0
  23. data/lib/ronin/cli/commands/http.rb +80 -8
  24. data/lib/ronin/cli/commands/ip.rb +101 -0
  25. data/lib/ronin/cli/commands/iprange.rb +25 -8
  26. data/lib/ronin/cli/commands/netcat.rb +2 -0
  27. data/lib/ronin/cli/commands/new/dns_listener.rb +37 -0
  28. data/lib/ronin/cli/commands/new/dns_proxy.rb +99 -0
  29. data/lib/ronin/cli/commands/new/exploit.rb +34 -0
  30. data/lib/ronin/cli/commands/new/http_listener.rb +37 -0
  31. data/lib/ronin/cli/commands/new/nokogiri.rb +33 -0
  32. data/lib/ronin/cli/commands/new/payload.rb +34 -0
  33. data/lib/ronin/cli/commands/new/project.rb +1 -1
  34. data/lib/ronin/cli/commands/new/script.rb +1 -1
  35. data/lib/ronin/cli/commands/new/web_app.rb +37 -0
  36. data/lib/ronin/cli/commands/new/web_server.rb +37 -0
  37. data/lib/ronin/cli/commands/new/web_spider.rb +37 -0
  38. data/lib/ronin/cli/commands/new.rb +3 -1
  39. data/lib/ronin/cli/commands/pack.rb +339 -0
  40. data/lib/ronin/cli/commands/public_suffix_list.rb +2 -0
  41. data/lib/ronin/cli/commands/tld_list.rb +2 -0
  42. data/lib/ronin/cli/commands/unarchive.rb +128 -0
  43. data/lib/ronin/cli/commands/unhexdump.rb +3 -1
  44. data/lib/ronin/cli/commands/unpack.rb +195 -0
  45. data/lib/ronin/cli/commands/url.rb +2 -0
  46. data/lib/ronin/cli/http_shell.rb +25 -0
  47. data/lib/ronin/cli.rb +10 -0
  48. data/lib/ronin/version.rb +1 -1
  49. data/man/ronin-archive.1.md +49 -0
  50. data/man/ronin-asn.1 +60 -77
  51. data/man/ronin-asn.1.md +25 -21
  52. data/man/ronin-banner-grab.1 +10 -21
  53. data/man/ronin-banner-grab.1.md +9 -5
  54. data/man/ronin-bitflip.1 +35 -61
  55. data/man/ronin-bitflip.1.md +30 -26
  56. data/man/ronin-bitsquat.1 +40 -0
  57. data/man/ronin-bitsquat.1.md +43 -0
  58. data/man/ronin-cert-dump.1 +44 -54
  59. data/man/ronin-cert-dump.1.md +18 -14
  60. data/man/ronin-cert-gen.1 +73 -94
  61. data/man/ronin-cert-gen.1.md +38 -34
  62. data/man/ronin-cert-grab.1 +29 -37
  63. data/man/ronin-cert-grab.1.md +12 -8
  64. data/man/ronin-completion.1 +78 -0
  65. data/man/ronin-completion.1.md +80 -0
  66. data/man/ronin-decode.1 +32 -63
  67. data/man/ronin-decode.1.md +29 -25
  68. data/man/ronin-decrypt.1 +42 -57
  69. data/man/ronin-decrypt.1.md +20 -16
  70. data/man/ronin-dns-proxy.1 +100 -0
  71. data/man/ronin-dns-proxy.1.md +70 -0
  72. data/man/ronin-dns.1 +10 -21
  73. data/man/ronin-dns.1.md +9 -5
  74. data/man/ronin-email-addr.1 +27 -40
  75. data/man/ronin-email-addr.1.md +15 -11
  76. data/man/ronin-encode.1 +93 -63
  77. data/man/ronin-encode.1.md +64 -26
  78. data/man/ronin-encrypt.1 +42 -57
  79. data/man/ronin-encrypt.1.md +20 -16
  80. data/man/ronin-entropy.1 +11 -21
  81. data/man/ronin-entropy.1.md +8 -4
  82. data/man/ronin-escape.1 +22 -46
  83. data/man/ronin-escape.1.md +22 -18
  84. data/man/ronin-extract.1 +74 -149
  85. data/man/ronin-extract.1.md +73 -69
  86. data/man/ronin-grep.1 +77 -155
  87. data/man/ronin-grep.1.md +76 -72
  88. data/man/ronin-help.1 +3 -14
  89. data/man/ronin-help.1.md +2 -2
  90. data/man/ronin-hexdump.1 +249 -265
  91. data/man/ronin-hexdump.1.md +93 -89
  92. data/man/ronin-highlight.1 +8 -18
  93. data/man/ronin-highlight.1.md +8 -4
  94. data/man/ronin-hmac.1 +17 -30
  95. data/man/ronin-hmac.1.md +14 -10
  96. data/man/ronin-homoglyph.1 +11 -22
  97. data/man/ronin-homoglyph.1.md +10 -6
  98. data/man/ronin-host.1 +23 -47
  99. data/man/ronin-host.1.md +22 -18
  100. data/man/ronin-http.1 +40 -69
  101. data/man/ronin-http.1.md +40 -30
  102. data/man/ronin-ip.1 +70 -80
  103. data/man/ronin-ip.1.md +44 -28
  104. data/man/ronin-iprange.1 +14 -22
  105. data/man/ronin-iprange.1.md +12 -5
  106. data/man/ronin-irb.1 +9 -17
  107. data/man/ronin-irb.1.md +7 -3
  108. data/man/ronin-md5.1 +13 -24
  109. data/man/ronin-md5.1.md +11 -7
  110. data/man/ronin-netcat.1 +25 -51
  111. data/man/ronin-netcat.1.md +25 -21
  112. data/man/ronin-new-dns-proxy.1 +45 -0
  113. data/man/ronin-new-dns-proxy.1.md +44 -0
  114. data/man/ronin-new-project.1 +32 -45
  115. data/man/ronin-new-project.1.md +11 -11
  116. data/man/ronin-new-script.1 +10 -22
  117. data/man/ronin-new-script.1.md +4 -4
  118. data/man/ronin-new.1 +56 -31
  119. data/man/ronin-new.1.md +48 -8
  120. data/man/ronin-pack.1 +979 -0
  121. data/man/ronin-pack.1.md +929 -0
  122. data/man/ronin-proxy.1 +37 -63
  123. data/man/ronin-proxy.1.md +29 -25
  124. data/man/ronin-public-suffix-list.1 +16 -32
  125. data/man/ronin-public-suffix-list.1.md +13 -9
  126. data/man/ronin-quote.1 +17 -36
  127. data/man/ronin-quote.1.md +17 -13
  128. data/man/ronin-rot.1 +26 -39
  129. data/man/ronin-rot.1.md +15 -11
  130. data/man/ronin-sha1.1 +13 -24
  131. data/man/ronin-sha1.1.md +11 -7
  132. data/man/ronin-sha256.1 +13 -24
  133. data/man/ronin-sha256.1.md +11 -7
  134. data/man/ronin-sha512.1 +13 -24
  135. data/man/ronin-sha512.1.md +11 -7
  136. data/man/ronin-strings.1 +30 -55
  137. data/man/ronin-strings.1.md +27 -23
  138. data/man/ronin-tips.1 +8 -16
  139. data/man/ronin-tips.1.md +7 -3
  140. data/man/ronin-tld-list.1 +16 -32
  141. data/man/ronin-tld-list.1.md +13 -9
  142. data/man/ronin-typo.1 +14 -28
  143. data/man/ronin-typo.1.md +13 -9
  144. data/man/ronin-typosquat.1 +15 -32
  145. data/man/ronin-typosquat.1.md +15 -11
  146. data/man/ronin-unarchive.1.md +41 -0
  147. data/man/ronin-unescape.1 +22 -46
  148. data/man/ronin-unescape.1.md +22 -18
  149. data/man/ronin-unhexdump.1 +81 -91
  150. data/man/ronin-unhexdump.1.md +16 -12
  151. data/man/ronin-unpack.1 +980 -0
  152. data/man/ronin-unpack.1.md +920 -0
  153. data/man/ronin-unquote.1 +17 -36
  154. data/man/ronin-unquote.1.md +17 -13
  155. data/man/ronin-url.1 +19 -40
  156. data/man/ronin-url.1.md +19 -15
  157. data/man/ronin-xor.1 +14 -28
  158. data/man/ronin-xor.1.md +13 -9
  159. data/man/ronin.1 +208 -29
  160. data/man/ronin.1.md +156 -11
  161. data/scripts/setup +58 -0
  162. metadata +157 -67
  163. data/lib/ronin/config.rb +0 -95
  164. /data/data/{new → templates}/project/.gitignore +0 -0
  165. /data/data/{new → templates}/project/.ruby-version.erb +0 -0
  166. /data/data/{new → templates}/project/Dockerfile.erb +0 -0
  167. /data/data/{new → templates}/project/Gemfile.erb +0 -0
  168. /data/data/{new → templates}/project/Rakefile +0 -0
  169. /data/data/{new → templates}/project/project.rb.erb +0 -0
  170. /data/data/{new → templates}/script.rb.erb +0 -0
data/man/ronin-unquote.1 CHANGED
@@ -1,78 +1,59 @@
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-unquote 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-unquote \- Unquotes a double\[sl]single quoted string
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
+ .PP
8
9
  \fBronin unquote\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB]
9
- .LP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Unquotes a double\[sl]single quoted string\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIFILE\fP
19
16
  The optional file to read and process\. If no \fIFILE\fP arguments are given,
20
17
  input will be read from \fBstdin\fR\.
21
- .LP
22
18
  .SH OPTIONS
23
- .LP
24
19
  .TP
25
- \fB-f\fR, \fB--file\fR \fIFILE\fP
20
+ \fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
26
21
  Optional file to process\.
27
- .LP
28
22
  .TP
29
- \fB--string\fR \fISTRING\fP
23
+ \fB\-\-string\fR \fISTRING\fP
30
24
  Optional string to process\.
31
- .LP
32
25
  .TP
33
- \fB-M\fR, \fB--multiline\fR
26
+ \fB\-M\fR, \fB\-\-multiline\fR
34
27
  Process each line separately\.
35
- .LP
36
28
  .TP
37
- \fB-n\fR, \fB--keep-newlines\fR
29
+ \fB\-n\fR, \fB\-\-keep\-newlines\fR
38
30
  Preserves newlines at the end of each line\.
39
- .LP
40
31
  .TP
41
- \fB-X\fR, \fB--hex\fR
32
+ \fB\-X\fR, \fB\-\-hex\fR
42
33
  Unquotes the Hex string\.
43
- .LP
44
34
  .TP
45
- \fB-c\fR, \fB--c\fR
35
+ \fB\-c\fR, \fB\-\-c\fR
46
36
  Unquotes the C string\.
47
- .LP
48
37
  .TP
49
- \fB-j\fR, \fB--js\fR
38
+ \fB\-j\fR, \fB\-\-js\fR
50
39
  Unquotes the JavaScript String\.
51
- .LP
52
40
  .TP
53
- \fB-S\fR, \fB--shell\fR
41
+ \fB\-S\fR, \fB\-\-shell\fR
54
42
  Unquotes the Shell string\.
55
- .LP
56
43
  .TP
57
- \fB-P\fR, \fB--powershell\fR
44
+ \fB\-P\fR, \fB\-\-powershell\fR
58
45
  Unquotes the PowerShell String\.
59
- .LP
60
46
  .TP
61
- \fB-R\fR, \fB--ruby\fR
47
+ \fB\-R\fR, \fB\-\-ruby\fR
62
48
  Unquotes the Ruby String\.
63
- .LP
64
49
  .TP
65
- \fB-h\fR, \fB--help\fR
50
+ \fB\-h\fR, \fB\-\-help\fR
66
51
  Print help information\.
67
- .LP
68
52
  .SH AUTHOR
69
- .LP
70
53
  .PP
71
54
  Postmodern
72
55
  .MT postmodern\.mod3\[at]gmail\.com
73
56
  .ME
74
- .LP
75
57
  .SH SEE ALSO
76
- .LP
77
58
  .PP
78
- ronin\-quote(1)
59
+ .BR ronin\-quote (1)
@@ -1,5 +1,9 @@
1
1
  # ronin-unquote 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-unquote - Unquotes a double/single quoted string
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin unquote` [*options*] [*FILE* ...]
@@ -11,43 +15,43 @@ Unquotes a double/single quoted string.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *FILE*
14
- The optional file to read and process. If no *FILE* arguments are given,
18
+ : The optional file to read and process. If no *FILE* arguments are given,
15
19
  input will be read from `stdin`.
16
20
 
17
21
  ## OPTIONS
18
22
 
19
23
  `-f`, `--file` *FILE*
20
- Optional file to process.
24
+ : Optional file to process.
21
25
 
22
26
  `--string` *STRING*
23
- Optional string to process.
27
+ : Optional string to process.
24
28
 
25
29
  `-M`, `--multiline`
26
- Process each line separately.
30
+ : Process each line separately.
27
31
 
28
32
  `-n`, `--keep-newlines`
29
- Preserves newlines at the end of each line.
33
+ : Preserves newlines at the end of each line.
30
34
 
31
35
  `-X`, `--hex`
32
- Unquotes the Hex string.
36
+ : Unquotes the Hex string.
33
37
 
34
38
  `-c`, `--c`
35
- Unquotes the C string.
39
+ : Unquotes the C string.
36
40
 
37
41
  `-j`, `--js`
38
- Unquotes the JavaScript String.
42
+ : Unquotes the JavaScript String.
39
43
 
40
44
  `-S`, `--shell`
41
- Unquotes the Shell string.
45
+ : Unquotes the Shell string.
42
46
 
43
47
  `-P`, `--powershell`
44
- Unquotes the PowerShell String.
48
+ : Unquotes the PowerShell String.
45
49
 
46
50
  `-R`, `--ruby`
47
- Unquotes the Ruby String.
51
+ : Unquotes the Ruby String.
48
52
 
49
53
  `-h`, `--help`
50
- Print help information.
54
+ : Print help information.
51
55
 
52
56
  ## AUTHOR
53
57
 
@@ -55,4 +59,4 @@ Postmodern <postmodern.mod3@gmail.com>
55
59
 
56
60
  ## SEE ALSO
57
61
 
58
- ronin-quote(1)
62
+ [ronin-quote](ronin-quote.1.md)
data/man/ronin-url.1 CHANGED
@@ -1,85 +1,64 @@
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-url 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-url \- Parses URLs
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
+ .PP
8
9
  \fBronin url\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIURL\fP \.\.\.\[rB]
9
- .LP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Processes URL(s) and prints individual components of the URL(s)\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIURL\fP
19
16
  A URL argument to process\.
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
  The optional file to read values from\.
26
- .LP
27
21
  .TP
28
- \fB-u\fR, \fB--user\fR
22
+ \fB\-u\fR, \fB\-\-user\fR
29
23
  Print the URL\[cq]s user name component\.
30
- .LP
31
24
  .TP
32
- \fB--password\fR
25
+ \fB\-\-password\fR
33
26
  Print the URL\[cq]s password component\.
34
- .LP
35
27
  .TP
36
- \fB--user-password\fR
28
+ \fB\-\-user\-password\fR
37
29
  Print the URL\[cq]s user name and password components\.
38
- .LP
39
30
  .TP
40
- \fB-H\fR, \fB--host\fR
31
+ \fB\-H\fR, \fB\-\-host\fR
41
32
  Print the URL\[cq]s host name component\.
42
- .LP
43
33
  .TP
44
- \fB--port\fR
34
+ \fB\-\-port\fR
45
35
  Print the URL\[cq]s port component\.
46
- .LP
47
36
  .TP
48
- \fB--host-port\fR
37
+ \fB\-\-host\-port\fR
49
38
  Print the URL\[cq]s \fBhost:port\fR component\.
50
- .LP
51
39
  .TP
52
- \fB-P\fR, \fB--path\fR
40
+ \fB\-P\fR, \fB\-\-path\fR
53
41
  Print the URL\[cq]s path component\.
54
- .LP
55
42
  .TP
56
- \fB--path-query\fR
43
+ \fB\-\-path\-query\fR
57
44
  Print the URL\[cq]s path and query string components\.
58
- .LP
59
45
  .TP
60
- \fB-Q\fR, \fB--query\fR
46
+ \fB\-Q\fR, \fB\-\-query\fR
61
47
  Print the URL\[cq]s query string component\.
62
- .LP
63
48
  .TP
64
- \fB-q\fR, \fB--query-param\fR \fINAME\fP
49
+ \fB\-q\fR, \fB\-\-query\-param\fR \fINAME\fP
65
50
  Print the query param from the URL\[cq]s query string\.
66
- .LP
67
51
  .TP
68
- \fB-F\fR, \fB--fragment\fR
52
+ \fB\-F\fR, \fB\-\-fragment\fR
69
53
  Print the URL\[cq]s fragment component\.
70
- .LP
71
54
  .TP
72
- \fB-S\fR, \fB--status\fR
55
+ \fB\-S\fR, \fB\-\-status\fR
73
56
  Print the HTTP status of each URL\.
74
- .LP
75
57
  .TP
76
- \fB-h\fR, \fB--help\fR
58
+ \fB\-h\fR, \fB\-\-help\fR
77
59
  Print help information\.
78
- .LP
79
60
  .SH AUTHOR
80
- .LP
81
61
  .PP
82
62
  Postmodern
83
63
  .MT postmodern\.mod3\[at]gmail\.com
84
64
  .ME
85
- .LP
data/man/ronin-url.1.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ronin-url 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-url - Parses URLs
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin url` [*options*] [*URL* ...]
@@ -11,51 +15,51 @@ Processes URL(s) and prints individual components of the URL(s).
11
15
  ## ARGUMENTS
12
16
 
13
17
  *URL*
14
- A URL argument to process.
18
+ : A URL argument to process.
15
19
 
16
20
  ## OPTIONS
17
21
 
18
22
  `-f`, `--file` *FILE*
19
- The optional file to read values from.
23
+ : The optional file to read values from.
20
24
 
21
25
  `-u`, `--user`
22
- Print the URL's user name component.
26
+ : Print the URL's user name component.
23
27
 
24
28
  `--password`
25
- Print the URL's password component.
29
+ : Print the URL's password component.
26
30
 
27
31
  `--user-password`
28
- Print the URL's user name and password components.
32
+ : Print the URL's user name and password components.
29
33
 
30
34
  `-H`, `--host`
31
- Print the URL's host name component.
35
+ : Print the URL's host name component.
32
36
 
33
37
  `--port`
34
- Print the URL's port component.
38
+ : Print the URL's port component.
35
39
 
36
40
  `--host-port`
37
- Print the URL's `host:port` component.
41
+ : Print the URL's `host:port` component.
38
42
 
39
43
  `-P`, `--path`
40
- Print the URL's path component.
44
+ : Print the URL's path component.
41
45
 
42
46
  `--path-query`
43
- Print the URL's path and query string components.
47
+ : Print the URL's path and query string components.
44
48
 
45
49
  `-Q`, `--query`
46
- Print the URL's query string component.
50
+ : Print the URL's query string component.
47
51
 
48
52
  `-q`, `--query-param` *NAME*
49
- Print the query param from the URL's query string.
53
+ : Print the query param from the URL's query string.
50
54
 
51
55
  `-F`, `--fragment`
52
- Print the URL's fragment component.
56
+ : Print the URL's fragment component.
53
57
 
54
58
  `-S`, `--status`
55
- Print the HTTP status of each URL.
59
+ : Print the HTTP status of each URL.
56
60
 
57
61
  `-h`, `--help`
58
- Print help information.
62
+ : Print help information.
59
63
 
60
64
  ## AUTHOR
61
65
 
data/man/ronin-xor.1 CHANGED
@@ -1,62 +1,48 @@
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-xor 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-xor \- XORs each character of data with a key\.
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
+ .PP
8
9
  \fBronin xor\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB]
9
- .LP
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  XORs each character of data with a key\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIFILE\fP
19
16
  The optional file to read and process\. If no \fIFILE\fP arguments are given,
20
17
  input will be read from \fBstdin\fR\.
21
- .LP
22
18
  .SH OPTIONS
23
- .LP
24
19
  .TP
25
- \fB-f\fR, \fB--file\fR \fIFILE\fP
20
+ \fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
26
21
  Optional file to process\.
27
- .LP
28
22
  .TP
29
- \fB--string\fR \fISTRING\fP
23
+ \fB\-\-string\fR \fISTRING\fP
30
24
  Optional string to process\.
31
- .LP
32
25
  .TP
33
- \fB-M\fR, \fB--multiline\fR
26
+ \fB\-M\fR, \fB\-\-multiline\fR
34
27
  Process each line of input separately\.
35
- .LP
36
28
  .TP
37
- \fB-n\fR, \fB--keep-newlines\fR
29
+ \fB\-n\fR, \fB\-\-keep\-newlines\fR
38
30
  Preserves newlines at the end of each line\.
39
- .LP
40
31
  .TP
41
- \fB-k\fR, \fB--key\fR \fISTRING\fP
32
+ \fB\-k\fR, \fB\-\-key\fR \fISTRING\fP
42
33
  The XOR key String\.
43
- .LP
44
34
  .TP
45
- \fB-K\fR, \fB--key-file\fR \fIFILE\fP
35
+ \fB\-K\fR, \fB\-\-key\-file\fR \fIFILE\fP
46
36
  The file to read the XOR key from\.
47
- .LP
48
37
  .TP
49
- \fB-h\fR, \fB--help\fR
38
+ \fB\-h\fR, \fB\-\-help\fR
50
39
  Print help information\.
51
- .LP
52
40
  .SH AUTHOR
53
- .LP
54
41
  .PP
55
42
  Postmodern
56
43
  .MT postmodern\.mod3\[at]gmail\.com
57
44
  .ME
58
- .LP
59
45
  .SH SEE ALSO
60
- .LP
61
46
  .PP
62
- ronin\-encode(1), ronin\-rot(1)
47
+ .BR ronin\-encode (1)
48
+ .BR ronin\-rot (1)
data/man/ronin-xor.1.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ronin-xor 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-xor - XORs each character of data with a key.
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin xor` [*options*] [*FILE* ...]
@@ -11,31 +15,31 @@ XORs each character of data with a key.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *FILE*
14
- The optional file to read and process. If no *FILE* arguments are given,
18
+ : The optional file to read and process. If no *FILE* arguments are given,
15
19
  input will be read from `stdin`.
16
20
 
17
21
  ## OPTIONS
18
22
 
19
23
  `-f`, `--file` *FILE*
20
- Optional file to process.
24
+ : Optional file to process.
21
25
 
22
26
  `--string` *STRING*
23
- Optional string to process.
27
+ : Optional string to process.
24
28
 
25
29
  `-M`, `--multiline`
26
- Process each line of input separately.
30
+ : Process each line of input separately.
27
31
 
28
32
  `-n`, `--keep-newlines`
29
- Preserves newlines at the end of each line.
33
+ : Preserves newlines at the end of each line.
30
34
 
31
35
  `-k`, `--key` *STRING*
32
- The XOR key String.
36
+ : The XOR key String.
33
37
 
34
38
  `-K`, `--key-file` *FILE*
35
- The file to read the XOR key from.
39
+ : The file to read the XOR key from.
36
40
 
37
41
  `-h`, `--help`
38
- Print help information.
42
+ : Print help information.
39
43
 
40
44
  ## AUTHOR
41
45
 
@@ -43,4 +47,4 @@ Postmodern <postmodern.mod3@gmail.com>
43
47
 
44
48
  ## SEE ALSO
45
49
 
46
- ronin-encode(1), ronin-rot(1)
50
+ [ronin-encode](ronin-encode.1.md) [ronin-rot](ronin-rot.1.md)