ronin 2.0.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +14 -0
  3. data/.rubocop.yml +21 -0
  4. data/ChangeLog.md +35 -2
  5. data/Gemfile +20 -16
  6. data/README.md +42 -23
  7. data/Rakefile +2 -2
  8. data/bin/ronin +6 -7
  9. data/data/new/project/Gemfile.erb +9 -9
  10. data/gemspec.yml +7 -7
  11. data/lib/ronin/cli/char_set_options.rb +1 -1
  12. data/lib/ronin/cli/cipher_command.rb +3 -1
  13. data/lib/ronin/cli/command.rb +3 -0
  14. data/lib/ronin/cli/commands/asn.rb +1 -1
  15. data/lib/ronin/cli/commands/banner_grab.rb +5 -3
  16. data/lib/ronin/cli/commands/cert_dump.rb +4 -7
  17. data/lib/ronin/cli/commands/cert_gen.rb +4 -4
  18. data/lib/ronin/cli/commands/cert_grab.rb +5 -6
  19. data/lib/ronin/cli/commands/decode.rb +14 -14
  20. data/lib/ronin/cli/commands/dns.rb +2 -2
  21. data/lib/ronin/cli/commands/encode.rb +14 -14
  22. data/lib/ronin/cli/commands/extract.rb +1 -1
  23. data/lib/ronin/cli/commands/grep.rb +7 -5
  24. data/lib/ronin/cli/commands/hexdump.rb +54 -22
  25. data/lib/ronin/cli/commands/hmac.rb +1 -1
  26. data/lib/ronin/cli/commands/host.rb +15 -15
  27. data/lib/ronin/cli/commands/http.rb +42 -25
  28. data/lib/ronin/cli/commands/ip.rb +5 -3
  29. data/lib/ronin/cli/commands/iprange.rb +2 -2
  30. data/lib/ronin/cli/commands/netcat.rb +32 -38
  31. data/lib/ronin/cli/commands/new/project.rb +19 -19
  32. data/lib/ronin/cli/commands/new/script.rb +12 -12
  33. data/lib/ronin/cli/commands/proxy.rb +37 -41
  34. data/lib/ronin/cli/commands/rot.rb +11 -10
  35. data/lib/ronin/cli/commands/strings.rb +1 -1
  36. data/lib/ronin/cli/commands/unhexdump.rb +1 -1
  37. data/lib/ronin/cli/dns.rb +3 -0
  38. data/lib/ronin/cli/file_processor_command.rb +3 -0
  39. data/lib/ronin/cli/host_and_port.rb +58 -0
  40. data/lib/ronin/cli/http_shell.rb +19 -16
  41. data/lib/ronin/cli/key_options.rb +3 -5
  42. data/lib/ronin/cli/method_options.rb +0 -2
  43. data/lib/ronin/cli/pattern_options.rb +5 -6
  44. data/lib/ronin/cli/printing/syntax_highlighting.rb +3 -0
  45. data/lib/ronin/cli/typo_options.rb +1 -1
  46. data/lib/ronin/cli/value_processor_command.rb +1 -1
  47. data/lib/ronin/config.rb +3 -3
  48. data/lib/ronin/version.rb +2 -2
  49. data/man/ronin-asn.1 +11 -1
  50. data/man/ronin-asn.1.md +9 -1
  51. data/man/ronin-banner-grab.1 +1 -1
  52. data/man/ronin-banner-grab.1.md +1 -1
  53. data/man/ronin-bitflip.1 +1 -1
  54. data/man/ronin-bitflip.1.md +1 -1
  55. data/man/ronin-cert-dump.1 +1 -1
  56. data/man/ronin-cert-dump.1.md +1 -1
  57. data/man/ronin-cert-gen.1 +16 -7
  58. data/man/ronin-cert-gen.1.md +11 -5
  59. data/man/ronin-cert-grab.1 +1 -1
  60. data/man/ronin-cert-grab.1.md +1 -1
  61. data/man/ronin-decode.1 +1 -1
  62. data/man/ronin-decode.1.md +1 -1
  63. data/man/ronin-decrypt.1 +31 -1
  64. data/man/ronin-decrypt.1.md +19 -1
  65. data/man/ronin-dns.1 +2 -2
  66. data/man/ronin-dns.1.md +2 -2
  67. data/man/ronin-email-addr.1 +3 -3
  68. data/man/ronin-email-addr.1.md +3 -3
  69. data/man/ronin-encode.1 +1 -1
  70. data/man/ronin-encode.1.md +1 -1
  71. data/man/ronin-encrypt.1 +31 -1
  72. data/man/ronin-encrypt.1.md +19 -1
  73. data/man/ronin-entropy.1 +1 -1
  74. data/man/ronin-entropy.1.md +1 -1
  75. data/man/ronin-escape.1 +2 -2
  76. data/man/ronin-escape.1.md +2 -2
  77. data/man/ronin-extract.1 +1 -1
  78. data/man/ronin-extract.1.md +1 -1
  79. data/man/ronin-grep.1 +1 -1
  80. data/man/ronin-grep.1.md +1 -1
  81. data/man/ronin-help.1 +1 -1
  82. data/man/ronin-help.1.md +1 -1
  83. data/man/ronin-hexdump.1 +2 -2
  84. data/man/ronin-hexdump.1.md +2 -2
  85. data/man/ronin-highlight.1 +1 -1
  86. data/man/ronin-highlight.1.md +1 -1
  87. data/man/ronin-hmac.1 +1 -1
  88. data/man/ronin-hmac.1.md +1 -1
  89. data/man/ronin-homoglyph.1 +1 -1
  90. data/man/ronin-homoglyph.1.md +1 -1
  91. data/man/ronin-host.1 +3 -3
  92. data/man/ronin-host.1.md +3 -3
  93. data/man/ronin-http.1 +1 -1
  94. data/man/ronin-http.1.md +1 -1
  95. data/man/ronin-ip.1 +1 -1
  96. data/man/ronin-ip.1.md +1 -1
  97. data/man/ronin-iprange.1 +1 -1
  98. data/man/ronin-iprange.1.md +1 -1
  99. data/man/ronin-irb.1 +1 -1
  100. data/man/ronin-irb.1.md +1 -1
  101. data/man/ronin-md5.1 +1 -1
  102. data/man/ronin-md5.1.md +1 -1
  103. data/man/ronin-netcat.1 +1 -1
  104. data/man/ronin-netcat.1.md +1 -1
  105. data/man/ronin-new-project.1 +1 -1
  106. data/man/ronin-new-project.1.md +1 -1
  107. data/man/ronin-new-script.1 +1 -1
  108. data/man/ronin-new-script.1.md +1 -1
  109. data/man/ronin-new.1 +1 -1
  110. data/man/ronin-new.1.md +1 -1
  111. data/man/ronin-proxy.1 +2 -2
  112. data/man/ronin-proxy.1.md +2 -2
  113. data/man/ronin-public-suffix-list.1 +11 -1
  114. data/man/ronin-public-suffix-list.1.md +9 -1
  115. data/man/ronin-quote.1 +2 -2
  116. data/man/ronin-quote.1.md +2 -2
  117. data/man/ronin-rot.1 +20 -3
  118. data/man/ronin-rot.1.md +14 -3
  119. data/man/ronin-sha1.1 +1 -1
  120. data/man/ronin-sha1.1.md +1 -1
  121. data/man/ronin-sha256.1 +2 -2
  122. data/man/ronin-sha256.1.md +2 -2
  123. data/man/ronin-sha512.1 +1 -1
  124. data/man/ronin-sha512.1.md +1 -1
  125. data/man/ronin-strings.1 +1 -1
  126. data/man/ronin-strings.1.md +1 -1
  127. data/man/ronin-tips.1 +1 -1
  128. data/man/ronin-tips.1.md +1 -1
  129. data/man/ronin-tld-list.1 +11 -1
  130. data/man/ronin-tld-list.1.md +9 -1
  131. data/man/ronin-typo.1 +1 -1
  132. data/man/ronin-typo.1.md +1 -1
  133. data/man/ronin-typosquat.1 +1 -1
  134. data/man/ronin-typosquat.1.md +1 -1
  135. data/man/ronin-unescape.1 +1 -1
  136. data/man/ronin-unescape.1.md +1 -1
  137. data/man/ronin-unhexdump.1 +1 -1
  138. data/man/ronin-unhexdump.1.md +1 -1
  139. data/man/ronin-unquote.1 +1 -1
  140. data/man/ronin-unquote.1.md +1 -1
  141. data/man/ronin-url.1 +1 -1
  142. data/man/ronin-url.1.md +1 -1
  143. data/man/ronin-xor.1 +1 -1
  144. data/man/ronin-xor.1.md +1 -1
  145. data/man/ronin.1 +1 -1
  146. data/man/ronin.1.md +1 -1
  147. data/ronin.gemspec +4 -3
  148. metadata +40 -2
data/man/ronin-md5.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-md5 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-md5 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-netcat.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-netcat 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-netcat 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-netcat 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-netcat 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-new-project 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-new-project 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-new-project 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-new-project 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-new-script 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-new-script 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-new-script 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-new-script 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-new.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-new 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-new 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-new.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-new 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-new 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-proxy.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-proxy 1 "2022-01-01" Ronin "User Manuals"
3
+ .TH ronin-proxy 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -10,7 +10,7 @@
10
10
  .SH DESCRIPTION
11
11
  .LP
12
12
  .PP
13
- Starts the Ronin TCP\[sl]UDP\[sl]SSL\[sl]TLS Proxy\.
13
+ Starts a TCP\[sl]UDP\[sl]SSL\[sl]TLS proxy server\.
14
14
  .LP
15
15
  .SH ARGUMENTS
16
16
  .LP
data/man/ronin-proxy.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-proxy 1 "2022-01-01" Ronin "User Manuals"
1
+ # ronin-proxy 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## DESCRIPTION
8
8
 
9
- Starts the Ronin TCP/UDP/SSL/TLS Proxy.
9
+ Starts a TCP/UDP/SSL/TLS proxy server.
10
10
 
11
11
  ## ARGUMENTS
12
12
 
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-public-suffix-list 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-public-suffix-list 1 "2023-02-1" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -36,6 +36,16 @@ The Path to the public suffix list file\. Defaults to
36
36
  \fB-h\fR, \fB--help\fR
37
37
  Print help information
38
38
  .LP
39
+ .SH ENVIRONMENT
40
+ .LP
41
+ .TP
42
+ \fIHOME\fP
43
+ Alternate location for the user\[cq]s home directory\.
44
+ .LP
45
+ .TP
46
+ \fIXDG\[ru]CONFIG\[ru]HOME\fP
47
+ Alternate location for the \fB~/.config\fR directory\.
48
+ .LP
39
49
  .SH FILES
40
50
  .LP
41
51
  .TP
@@ -1,4 +1,4 @@
1
- # ronin-public-suffix-list 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-public-suffix-list 1 "2023-02-1" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -27,6 +27,14 @@ Updates and parses the public suffix list file.
27
27
  `-h`, `--help`
28
28
  Print help information
29
29
 
30
+ ## ENVIRONMENT
31
+
32
+ *HOME*
33
+ Alternate location for the user's home directory.
34
+
35
+ *XDG_CONFIG_HOME*
36
+ Alternate location for the `~/.config` directory.
37
+
30
38
  ## FILES
31
39
 
32
40
  `~/.cache/ronin/ronin-support/public_suffix_list.dat`
data/man/ronin-quote.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-quote 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-quote 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -47,7 +47,7 @@ Quotes the data as a C string\.
47
47
  .LP
48
48
  .TP
49
49
  \fB-j\fR, \fB--js\fR
50
- JavaScript quotes the data\.
50
+ quotes the data as a JavaScript string\.
51
51
  .LP
52
52
  .TP
53
53
  \fB-S\fR, \fB--shell\fR
data/man/ronin-quote.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-quote 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-quote 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -35,7 +35,7 @@ Produces quoted a string for a variety of programming languages.
35
35
  Quotes the data as a C string.
36
36
 
37
37
  `-j`, `--js`
38
- JavaScript quotes the data.
38
+ quotes the data as a JavaScript string.
39
39
 
40
40
  `-S`, `--shell`
41
41
  Quotes the data as a Shell String.
data/man/ronin-rot.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-rot 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-rot 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -42,13 +42,30 @@ Preserves newlines at the end of each line\.
42
42
  Alphabet characters to rotate characters within\.
43
43
  .LP
44
44
  .TP
45
- \fB-n\fR, \fB--modulu\fR \fINUM\fP
46
- Number of characters to rotate forwards or backwards\.
45
+ \fB-n\fR, \fB--modulo\fR \fINUM\fP
46
+ Number of characters to rotate forwards or backwards\. Defaults to 13 if not
47
+ given\.
47
48
  .LP
48
49
  .TP
49
50
  \fB-h\fR, \fB--help\fR
50
51
  Print help information\.
51
52
  .LP
53
+ .SH EXAMPLES
54
+ .LP
55
+ .PP
56
+ ROT\-13 encode a string:
57
+ .LP
58
+ .nf
59
+ \[Do] ronin rot \-\-string \[dq]The quick brown fox jumps over the lazy dog\[dq]
60
+ .fi
61
+ .LP
62
+ .PP
63
+ ROT encode a string with a custom rotation number:
64
+ .LP
65
+ .nf
66
+ \[Do] ronin rot \-n 3 \-\-string \[dq]The quick brown fox jumps over the lazy dog\[dq]
67
+ .fi
68
+ .LP
52
69
  .SH AUTHOR
53
70
  .LP
54
71
  .PP
data/man/ronin-rot.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-rot 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-rot 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -31,12 +31,23 @@ Rotates each character of data with an alphabet.
31
31
  `-A`, `--alphabet` `ABC...`
32
32
  Alphabet characters to rotate characters within.
33
33
 
34
- `-n`, `--modulu` *NUM*
35
- Number of characters to rotate forwards or backwards.
34
+ `-n`, `--modulo` *NUM*
35
+ Number of characters to rotate forwards or backwards. Defaults to 13 if not
36
+ given.
36
37
 
37
38
  `-h`, `--help`
38
39
  Print help information.
39
40
 
41
+ ## EXAMPLES
42
+
43
+ ROT-13 encode a string:
44
+
45
+ $ ronin rot --string "The quick brown fox jumps over the lazy dog"
46
+
47
+ ROT encode a string with a custom rotation number:
48
+
49
+ $ ronin rot -n 3 --string "The quick brown fox jumps over the lazy dog"
50
+
40
51
  ## AUTHOR
41
52
 
42
53
  Postmodern <postmodern.mod3@gmail.com>
data/man/ronin-sha1.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-sha1 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-sha1 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-sha1.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-sha1 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-sha1 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-sha256.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-sha256 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-sha256 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -22,7 +22,7 @@ input will be read from \fBstdin\fR\.
22
22
  .SH OPTIONS
23
23
  .LP
24
24
  .TP
25
- \fB-i\fR, \fB--input\fR \fIFILE\fP
25
+ \fB-f\fR, \fB--file\fR \fIFILE\fP
26
26
  Optional input file to read from\.
27
27
  .LP
28
28
  .TP
@@ -1,4 +1,4 @@
1
- # ronin-sha256 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-sha256 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -16,7 +16,7 @@ Calculates SHA256 hashes of data.
16
16
 
17
17
  ## OPTIONS
18
18
 
19
- `-i`, `--input` *FILE*
19
+ `-f`, `--file` *FILE*
20
20
  Optional input file to read from.
21
21
 
22
22
  `--string` *STRING*
data/man/ronin-sha512.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-sha512 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-sha512 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-sha512 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-sha512 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-strings.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-strings 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-strings 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-strings 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-strings 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-tips.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-tips 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-tips 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-tips.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-tips 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-tips 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-tld-list.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-tld-list 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-tld-list 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -36,6 +36,16 @@ The Path to the TLD list file\. Defaults to
36
36
  \fB-h\fR, \fB--help\fR
37
37
  Print help information
38
38
  .LP
39
+ .SH ENVIRONMENT
40
+ .LP
41
+ .TP
42
+ \fIHOME\fP
43
+ Alternate location for the user\[cq]s home directory\.
44
+ .LP
45
+ .TP
46
+ \fIXDG\[ru]CONFIG\[ru]HOME\fP
47
+ Alternate location for the \fB~/.config\fR directory\.
48
+ .LP
39
49
  .SH FILES
40
50
  .LP
41
51
  .TP
@@ -1,4 +1,4 @@
1
- # ronin-tld-list 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-tld-list 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -27,6 +27,14 @@ Updates and parses the TLD list file.
27
27
  `-h`, `--help`
28
28
  Print help information
29
29
 
30
+ ## ENVIRONMENT
31
+
32
+ *HOME*
33
+ Alternate location for the user's home directory.
34
+
35
+ *XDG_CONFIG_HOME*
36
+ Alternate location for the `~/.config` directory.
37
+
30
38
  ## FILES
31
39
 
32
40
  `~/.cache/ronin/ronin-support/tlds-alpha-by-domain.txt`
data/man/ronin-typo.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-typo 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-typo 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-typo.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-typo 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-typo 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-typosquat 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-typosquat 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-typosquat 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-typosquat 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-unescape.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-unescape 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-unescape 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-unescape 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-unescape 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-unhexdump 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-unhexdump 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-unhexdump 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-unhexdump 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-unquote.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-unquote 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-unquote 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-unquote 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-unquote 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-url.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-url 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-url 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-url.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-url 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-url 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-xor.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-xor 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-xor 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-xor.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-xor 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-xor 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin 1 "May 2022" Ronin "User Manuals"
1
+ # ronin 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/ronin.gemspec CHANGED
@@ -1,4 +1,4 @@
1
- # encoding: utf-8
1
+ # frozen_string_literal: true
2
2
 
3
3
  require 'yaml'
4
4
 
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
21
21
  gem.email = gemspec['email']
22
22
  gem.homepage = gemspec['homepage']
23
23
 
24
- glob = lambda { |patterns| gem.files & Dir[*patterns] }
24
+ glob = ->(patterns) { gem.files & Dir[*patterns] }
25
25
 
26
26
  gem.files = `git ls-files`.split($/)
27
27
  gem.files = glob[gemspec['files']] if gemspec['files']
@@ -32,6 +32,7 @@ Gem::Specification.new do |gem|
32
32
  gem.executables = gemspec.fetch('executables') do
33
33
  glob['bin/*'].map { |path| File.basename(path) }
34
34
  end
35
+
35
36
  gem.default_executable = gem.executables.first if Gem::VERSION < '1.7.'
36
37
 
37
38
  gem.extensions = glob[gemspec['extensions'] || 'ext/**/extconf.rb']
@@ -46,7 +47,7 @@ Gem::Specification.new do |gem|
46
47
  gem.required_rubygems_version = gemspec['required_rubygems_version']
47
48
  gem.post_install_message = gemspec['post_install_message']
48
49
 
49
- split = lambda { |string| string.split(/,\s*/) }
50
+ split = ->(string) { string.split(/,\s*/) }
50
51
 
51
52
  if gemspec['dependencies']
52
53
  gemspec['dependencies'].each do |name,versions|