ronin 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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-cert-gen.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-cert-gen 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-cert-gen 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -51,7 +51,7 @@ The Organizational Unit (OU)\.
51
51
  The locality for the certificate\.
52
52
  .LP
53
53
  .TP
54
- \fB-S\fR, \`\-\-state \fIXX\fP
54
+ \fB-S\fR, \fB--state\fR \fIXX\fP
55
55
  The two\-letter State (ST) code for the certificate\.
56
56
  .LP
57
57
  .TP
@@ -59,11 +59,20 @@ The two\-letter State (ST) code for the certificate\.
59
59
  The two\-letter Country (C) code for the certificate\.
60
60
  .LP
61
61
  .HP
62
- \fB-t\fR, \fB--key-type\fR rsa\[or]ec\fB The signing key type
63
- --generate-key PATH Generates and saves a random key (Default: key.pem)
64
- -k, --key-file FILE Loads the signing key from the FILE
65
- \fR\-H\fB, \fR\-\-signing\-hash\fB \fRsha256\fB\|\fRsha1\fB\|\fRmd5\fB
66
- The hash algorithm to use for signing. Defaults to \fRsha256\` if not given\.
62
+ \fB-t\fR, \fB--key-type\fR rsa\[or]ec\`
63
+ The signing key type\.
64
+ .LP
65
+ .TP
66
+ \fB--generate-key\fR \fIPATH\fP
67
+ Generates and saves a random key\. Defaults to \fBkey.pem\fR if not given\.
68
+ .LP
69
+ .TP
70
+ \fB-k\fR, \fB--key-file\fR \fIFILE\fP
71
+ Loads the signing key from the \fIFILE\fP\.
72
+ .LP
73
+ .TP
74
+ \fB-H\fR, \fB--signing-hash\fR \fBsha256\fR\[or]\fBsha1\fR\[or]\fBmd5\fR
75
+ The hash algorithm to use for signing\. Defaults to \fBsha256\fR if not given\.
67
76
  .LP
68
77
  .TP
69
78
  \fB--ca-key\fR \fIFILE\fP
@@ -1,4 +1,4 @@
1
- # ronin-cert-gen 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-cert-gen 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -37,15 +37,21 @@ Generates a new X509 certificate.
37
37
  `-L`, `--locality` *NAME*
38
38
  The locality for the certificate.
39
39
 
40
- `-S`, `--state *XX*
40
+ `-S`, `--state` *XX*
41
41
  The two-letter State (ST) code for the certificate.
42
42
 
43
43
  `-C`, `--country` *XX*
44
44
  The two-letter Country (C) code for the certificate.
45
45
 
46
- `-t`, `--key-type` rsa|ec` The signing key type
47
- --generate-key PATH Generates and saves a random key (Default: key.pem)
48
- -k, --key-file FILE Loads the signing key from the FILE
46
+ `-t`, `--key-type` rsa|ec`
47
+ The signing key type.
48
+
49
+ `--generate-key` *PATH*
50
+ Generates and saves a random key. Defaults to `key.pem` if not given.
51
+
52
+ `-k`, `--key-file` *FILE*
53
+ Loads the signing key from the *FILE*.
54
+
49
55
  `-H`, `--signing-hash` `sha256`\|`sha1`\|`md5`
50
56
  The hash algorithm to use for signing. Defaults to `sha256` if not given.
51
57
 
@@ -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-cert-grab 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-cert-grab 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-cert-grab 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-cert-grab 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-decode.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-decode 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-decode 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-decode 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-decode 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-decrypt.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-decrypt 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-decrypt 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -62,6 +62,36 @@ List the supported ciphers and exits\.
62
62
  \fB-h\fR, \fB--help\fR
63
63
  Print help information\.
64
64
  .LP
65
+ .SH EXAMPLES
66
+ .LP
67
+ .PP
68
+ Decrypt a file using AES\-256 (CBC mode) with a password:
69
+ .LP
70
+ .nf
71
+ \[Do] ronin decrypt \-\-cipher aes\-256\-cbc \-\-password \[dq]\.\.\.\[dq] encrypted\.bin
72
+ .fi
73
+ .LP
74
+ .PP
75
+ Decrypt a file using a raw key string:
76
+ .LP
77
+ .nf
78
+ \[Do] ronin decrypt \-\-cipher aes\-256\-cbc \-\-key \[dq]12345abcdef\.\.\.\[dq] encrypted\.bin
79
+ .fi
80
+ .LP
81
+ .PP
82
+ Decrypt a file using a raw key read from a file:
83
+ .LP
84
+ .nf
85
+ \[Do] ronin decrypt \-\-cipher aes\-256\-cbc \-\-key\-file key\.bin encrypted\.bin
86
+ .fi
87
+ .LP
88
+ .PP
89
+ Specifying a custom IV (initialization vector):
90
+ .LP
91
+ .nf
92
+ \[Do] ronin decrypt \-\-cipher aes\-256\-cbc \-\-key \[dq]\.\.\.\[dq] \-\-iv \[dq]\.\.\.\[dq] encrypted\.bin
93
+ .fi
94
+ .LP
65
95
  .SH AUTHOR
66
96
  .LP
67
97
  .PP
@@ -1,4 +1,4 @@
1
- # ronin-decrypt 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-decrypt 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -47,6 +47,24 @@ Encrypts data.
47
47
  `-h`, `--help`
48
48
  Print help information.
49
49
 
50
+ ## EXAMPLES
51
+
52
+ Decrypt a file using AES-256 (CBC mode) with a password:
53
+
54
+ $ ronin decrypt --cipher aes-256-cbc --password "..." encrypted.bin
55
+
56
+ Decrypt a file using a raw key string:
57
+
58
+ $ ronin decrypt --cipher aes-256-cbc --key "12345abcdef..." encrypted.bin
59
+
60
+ Decrypt a file using a raw key read from a file:
61
+
62
+ $ ronin decrypt --cipher aes-256-cbc --key-file key.bin encrypted.bin
63
+
64
+ Specifying a custom IV (initialization vector):
65
+
66
+ $ ronin decrypt --cipher aes-256-cbc --key "..." --iv "..." encrypted.bin
67
+
50
68
  ## AUTHOR
51
69
 
52
70
  Postmodern <postmodern.mod3@gmail.com>
data/man/ronin-dns.1 CHANGED
@@ -1,11 +1,11 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-dns 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-dns 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
7
7
  .HP
8
- \fBronin dns\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIHOST\fP\[rB]
8
+ \fBronin dns\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIHOST\fP \.\.\. \[or] \fB--file\fR \fIFILE\fP\[rC]
9
9
  .LP
10
10
  .SH DESCRIPTION
11
11
  .LP
data/man/ronin-dns.1.md CHANGED
@@ -1,8 +1,8 @@
1
- # ronin-dns 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-dns 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
5
- `ronin dns` [*options*] [*HOST*]
5
+ `ronin dns` [*options*] {*HOST* ... \| `--file` *FILE*}
6
6
 
7
7
  ## DESCRIPTION
8
8
 
@@ -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-email-addr 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-email-addr 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -15,7 +15,7 @@ Processes one or more email addresses\.
15
15
  .SH OPTIONS
16
16
  .LP
17
17
  .TP
18
- \fB-i\fR, \fB--input\fR \fIFILE\fP
18
+ \fB-f\fR, \fB--file\fR \fIFILE\fP
19
19
  Optional input file to read the email addresses from\.
20
20
  .LP
21
21
  .TP
@@ -64,7 +64,7 @@ Deobfuscates an email address:
64
64
  Extracts the domain name from a list of email addresses:
65
65
  .LP
66
66
  .nf
67
- ronin email\-addr \-\-input emails\.txt \-\-domain
67
+ ronin email\-addr \-\-file emails\.txt \-\-domain
68
68
  .fi
69
69
  .LP
70
70
  .SH AUTHOR
@@ -1,4 +1,4 @@
1
- # ronin-email-addr 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-email-addr 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -10,7 +10,7 @@ Processes one or more email addresses.
10
10
 
11
11
  ## OPTIONS
12
12
 
13
- `-i`, `--input` *FILE*
13
+ `-f`, `--file` *FILE*
14
14
  Optional input file to read the email addresses from.
15
15
 
16
16
  `-O`, `--obfuscate`
@@ -46,7 +46,7 @@ Deobfuscates an email address:
46
46
 
47
47
  Extracts the domain name from a list of email addresses:
48
48
 
49
- ronin email-addr --input emails.txt --domain
49
+ ronin email-addr --file emails.txt --domain
50
50
 
51
51
  ## AUTHOR
52
52
 
data/man/ronin-encode.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-encode 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-encode 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-encode 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-encode 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-encrypt.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-encrypt 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-encrypt 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -62,6 +62,36 @@ List the supported ciphers and exits\.
62
62
  \fB-h\fR, \fB--help\fR
63
63
  Print help information\.
64
64
  .LP
65
+ .SH EXAMPLES
66
+ .LP
67
+ .PP
68
+ Encrypt a file using AES\-256 (CBC mode) with a password:
69
+ .LP
70
+ .nf
71
+ \[Do] ronin encrypt \-\-cipher aes\-256\-cbc \-\-password \[dq]\.\.\.\[dq] file\.txt > encrypted\.bin
72
+ .fi
73
+ .LP
74
+ .PP
75
+ Encrypt a file using a raw key string:
76
+ .LP
77
+ .nf
78
+ \[Do] ronin encrypt \-\-cipher aes\-256\-cbc \-\-key \[dq]12345abcdef\.\.\.\[dq] file\.txt > encrypted\.bin
79
+ .fi
80
+ .LP
81
+ .PP
82
+ Encrypt a file using a raw key read from a file:
83
+ .LP
84
+ .nf
85
+ \[Do] ronin encrypt \-\-cipher aes\-256\-cbc \-\-key\-file key\.bin file\.txt > encrypted\.bin
86
+ .fi
87
+ .LP
88
+ .PP
89
+ Specifying a custom IV (initialization vector):
90
+ .LP
91
+ .nf
92
+ \[Do] ronin encrypt \-\-cipher aes\-256\-cbc \-\-key \[dq]\.\.\.\[dq] \-\-iv \[dq]\.\.\.\[dq] file\.txt > encrypted\.bin
93
+ .fi
94
+ .LP
65
95
  .SH AUTHOR
66
96
  .LP
67
97
  .PP
@@ -1,4 +1,4 @@
1
- # ronin-encrypt 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-encrypt 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -47,6 +47,24 @@ Encrypts data.
47
47
  `-h`, `--help`
48
48
  Print help information.
49
49
 
50
+ ## EXAMPLES
51
+
52
+ Encrypt a file using AES-256 (CBC mode) with a password:
53
+
54
+ $ ronin encrypt --cipher aes-256-cbc --password "..." file.txt > encrypted.bin
55
+
56
+ Encrypt a file using a raw key string:
57
+
58
+ $ ronin encrypt --cipher aes-256-cbc --key "12345abcdef..." file.txt > encrypted.bin
59
+
60
+ Encrypt a file using a raw key read from a file:
61
+
62
+ $ ronin encrypt --cipher aes-256-cbc --key-file key.bin file.txt > encrypted.bin
63
+
64
+ Specifying a custom IV (initialization vector):
65
+
66
+ $ ronin encrypt --cipher aes-256-cbc --key "..." --iv "..." file.txt > encrypted.bin
67
+
50
68
  ## AUTHOR
51
69
 
52
70
  Postmodern <postmodern.mod3@gmail.com>
data/man/ronin-entropy.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-entropy 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-entropy 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-entropy 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-entropy 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-escape.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-escape 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-escape 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-escape 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-escape 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -16,7 +16,7 @@ Escapes each special character for a variety of encodings.
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-extract.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-extract 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-extract 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-extract 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-extract 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-grep.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-grep 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-grep 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-grep.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-grep 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-grep 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-help.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-help 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-help 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-help.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-help 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-help 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-hexdump.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-hexdump 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-hexdump 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -182,7 +182,7 @@ will be used for the character grouping width\.
182
182
  .LP
183
183
  .TP
184
184
  \fB-r\fR, \fB--[no-]repeating\fR
185
- Allows consecutive repeating lines in hexdump output\. By default consecutive
185
+ Allows consecutive repeating lines in hexdump output\. By default consecutive
186
186
  repeating lines of data are omitted by a single \fB*\fR line\.
187
187
  .LP
188
188
  .TP
@@ -1,4 +1,4 @@
1
- # ronin-hexdump 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-hexdump 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
@@ -104,7 +104,7 @@ Hexdumps data in a variety of encodings and formats.
104
104
  will be used for the character grouping width.
105
105
 
106
106
  `-r`, `--[no-]repeating`
107
- Allows consecutive repeating lines in hexdump output. By default consecutive
107
+ Allows consecutive repeating lines in hexdump output. By default consecutive
108
108
  repeating lines of data are omitted by a single `*` line.
109
109
 
110
110
  `-b`, `--base` `2`|`8`|`10`|`16`
@@ -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-highlight 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-highlight 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-highlight 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-highlight 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-hmac.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-hmac 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-hmac 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-hmac.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-hmac 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-hmac 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-homoglyph 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-homoglyph 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-homoglyph 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-homoglyph 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-host.1 CHANGED
@@ -1,11 +1,11 @@
1
1
  .\" Generated by kramdown-man 0.1.8
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
- .TH ronin-host 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-host 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
7
7
  .HP
8
- \fBronin host\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIHOST\fP \.\.\.\[rB]
8
+ \fBronin host\fR \[lB]\fIoptions\fP\[rB] \[lC]\fIHOST\fP \.\.\. \[or] \fB--file\fR \fIFILE\fP\[rC]
9
9
  .LP
10
10
  .SH DESCRIPTION
11
11
  .LP
@@ -71,7 +71,7 @@ Converts the hostname to it\[cq]s IP addresses\.
71
71
  Filters hostnames that are registered\.
72
72
  .LP
73
73
  .TP
74
- \fB-u\fR, \fB--unreigstered\fR
74
+ \fB-u\fR, \fB--unregistered\fR
75
75
  Filters hostnames that are unregistered\.
76
76
  .LP
77
77
  .TP
data/man/ronin-host.1.md CHANGED
@@ -1,8 +1,8 @@
1
- # ronin-host 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-host 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
5
- `ronin host` [*options*] [*HOST* ...]
5
+ `ronin host` [*options*] {*HOST* ... \| `--file` *FILE*}
6
6
 
7
7
  ## DESCRIPTION
8
8
 
@@ -53,7 +53,7 @@ Processes hostname(s) and performs DNS queries.
53
53
  `-r`, `--registered`
54
54
  Filters hostnames that are registered.
55
55
 
56
- `-u`, `--unreigstered`
56
+ `-u`, `--unregistered`
57
57
  Filters hostnames that are unregistered.
58
58
 
59
59
  `-A`, `--has-addresses`
data/man/ronin-http.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-http 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-http 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-http.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-http 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-http 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-ip.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-ip 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-ip 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-ip.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-ip 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-ip 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-iprange.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-iprange 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-iprange 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
@@ -1,4 +1,4 @@
1
- # ronin-iprange 1 "May 2022" Ronin "User Manuals"
1
+ # ronin-iprange 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-irb.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-irb 1 "2012-01-01" Ronin "User Manuals"
3
+ .TH ronin-irb 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP
data/man/ronin-irb.1.md CHANGED
@@ -1,4 +1,4 @@
1
- # ronin-irb 1 "2012-01-01" Ronin "User Manuals"
1
+ # ronin-irb 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
3
  ## SYNOPSIS
4
4
 
data/man/ronin-md5.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-md5 1 "May 2022" Ronin "User Manuals"
3
+ .TH ronin-md5 1 "2023-02-01" Ronin "User Manuals"
4
4
  .LP
5
5
  .SH SYNOPSIS
6
6
  .LP