ronin-payloads 0.1.4 → 0.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +4 -3
- data/.gitignore +1 -0
- data/ChangeLog.md +62 -0
- data/Gemfile +6 -4
- data/README.md +31 -8
- data/Rakefile +10 -0
- data/data/completions/ronin-payloads +127 -0
- data/data/completions/ronin-payloads.yml +16 -0
- data/gemspec.yml +5 -1
- data/lib/ronin/payloads/asm_payload.rb +1 -1
- data/lib/ronin/payloads/binary_payload.rb +1 -1
- data/lib/ronin/payloads/builtin/bin/unix/reverse_shell.c +61 -0
- data/lib/ronin/payloads/builtin/bin/unix/reverse_shell.rb +84 -0
- data/lib/ronin/payloads/builtin/bin/windows/reverse_shell.c +63 -0
- data/lib/ronin/payloads/builtin/bin/windows/reverse_shell.rb +87 -0
- data/lib/ronin/payloads/builtin/cmd/awk/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/bash/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/lua/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/netcat/bind_shell.rb +51 -0
- data/lib/ronin/payloads/builtin/cmd/node/reverse_shell.rb +2 -2
- data/lib/ronin/payloads/builtin/cmd/openssl/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/perl/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/php/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/ping.rb +52 -0
- data/lib/ronin/payloads/builtin/cmd/powershell/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/python/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/ruby/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/sleep.rb +49 -0
- data/lib/ronin/payloads/builtin/cmd/touch.rb +49 -0
- data/lib/ronin/payloads/builtin/cmd/windows/download.rb +70 -0
- data/lib/ronin/payloads/builtin/cmd/zsh/reverse_shell.rb +55 -0
- data/lib/ronin/payloads/builtin/groovy/reverse_shell.rb +54 -0
- data/lib/ronin/payloads/builtin/java/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/js/nashorn/reverse_shell.rb +63 -0
- data/lib/ronin/payloads/builtin/js/node/reverse_shell.rb +55 -0
- data/lib/ronin/payloads/builtin/php/cmd_exec.rb +1 -1
- data/lib/ronin/payloads/builtin/php/download_exec.php.erb +96 -0
- data/lib/ronin/payloads/builtin/php/download_exec.rb +54 -0
- data/lib/ronin/payloads/builtin/shellcode/freebsd/x86/bind_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/freebsd/x86/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/freebsd/x86/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/freebsd/x86_64/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/arm/bind_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/arm/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/arm/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/mips/bind_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/mips/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/mips/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/ppc/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/ppc/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/x86/bind_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/x86/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/x86/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/x86_64/bind_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/x86_64/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/linux/x86_64/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/macos/x86_64/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/macos/x86_64/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/netbsd/x86/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/netbsd/x86/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/openbsd/x86/bind_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/openbsd/x86/exec_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/shellcode/windows/x86_64/cmd.rb +1 -1
- data/lib/ronin/payloads/builtin/test/cmd.rb +53 -0
- data/lib/ronin/payloads/builtin/test/open_redirect.rb +1 -1
- data/lib/ronin/payloads/builtin/test/url.rb +53 -0
- data/lib/ronin/payloads/builtin/test/xss.rb +1 -1
- data/lib/ronin/payloads/c_payload.rb +4 -60
- data/lib/ronin/payloads/cli/command.rb +1 -1
- data/lib/ronin/payloads/cli/commands/build.rb +3 -3
- data/lib/ronin/payloads/cli/commands/completion.rb +64 -0
- data/lib/ronin/payloads/cli/commands/encode.rb +1 -1
- data/lib/ronin/payloads/cli/commands/encoder.rb +1 -1
- data/lib/ronin/payloads/cli/commands/encoders.rb +1 -1
- data/lib/ronin/payloads/cli/commands/irb.rb +1 -1
- data/lib/ronin/payloads/cli/commands/launch.rb +1 -1
- data/lib/ronin/payloads/cli/commands/list.rb +1 -1
- data/lib/ronin/payloads/cli/commands/new.rb +3 -6
- data/lib/ronin/payloads/cli/commands/show.rb +44 -1
- data/lib/ronin/payloads/cli/encoder_methods.rb +1 -1
- data/lib/ronin/payloads/cli/format_option.rb +1 -1
- data/lib/ronin/payloads/cli/payload_command.rb +1 -1
- data/lib/ronin/payloads/cli/payload_methods.rb +1 -1
- data/lib/ronin/payloads/cli/printing.rb +5 -2
- data/lib/ronin/payloads/cli/ruby_shell.rb +1 -1
- data/lib/ronin/payloads/cli.rb +1 -1
- data/lib/ronin/payloads/coldfusion_payload.rb +1 -1
- data/lib/ronin/payloads/command_payload.rb +1 -1
- data/lib/ronin/payloads/encoders/builtin/html/encode.rb +1 -1
- data/lib/ronin/payloads/encoders/builtin/js/encode.rb +1 -1
- data/lib/ronin/payloads/encoders/builtin/powershell/encode.rb +1 -1
- data/lib/ronin/payloads/encoders/builtin/shell/encode.rb +1 -1
- data/lib/ronin/payloads/encoders/builtin/sql/encode.rb +1 -1
- data/lib/ronin/payloads/encoders/builtin/xml/encode.rb +1 -1
- data/lib/ronin/payloads/encoders/encoder.rb +1 -1
- data/lib/ronin/payloads/encoders/exceptions.rb +1 -1
- data/lib/ronin/payloads/encoders/html_encoder.rb +1 -1
- data/lib/ronin/payloads/encoders/javascript_encoder.rb +1 -1
- data/lib/ronin/payloads/encoders/pipeline.rb +1 -1
- data/lib/ronin/payloads/encoders/powershell_encoder.rb +1 -1
- data/lib/ronin/payloads/encoders/registry.rb +1 -1
- data/lib/ronin/payloads/encoders/shell_encoder.rb +1 -1
- data/lib/ronin/payloads/encoders/sql_encoder.rb +1 -1
- data/lib/ronin/payloads/encoders/xml_encoder.rb +1 -1
- data/lib/ronin/payloads/encoders.rb +1 -1
- data/lib/ronin/payloads/exceptions.rb +1 -1
- data/lib/ronin/payloads/go_payload.rb +6 -2
- data/lib/ronin/payloads/groovy_payload.rb +49 -0
- data/lib/ronin/payloads/html_payload.rb +1 -1
- data/lib/ronin/payloads/java_payload.rb +6 -2
- data/lib/ronin/payloads/javascript_payload.rb +1 -1
- data/lib/ronin/payloads/jsp_payload.rb +1 -1
- data/lib/ronin/payloads/metadata/arch.rb +1 -1
- data/lib/ronin/payloads/metadata/os.rb +1 -1
- data/lib/ronin/payloads/mixins/binary.rb +1 -1
- data/lib/ronin/payloads/mixins/bind_shell.rb +1 -1
- data/lib/ronin/payloads/mixins/build_dir.rb +1 -1
- data/lib/ronin/payloads/mixins/c_compiler.rb +250 -0
- data/lib/ronin/payloads/mixins/erb.rb +1 -1
- data/lib/ronin/payloads/mixins/network.rb +1 -1
- data/lib/ronin/payloads/mixins/post_ex.rb +1 -1
- data/lib/ronin/payloads/mixins/resolve_host.rb +1 -1
- data/lib/ronin/payloads/mixins/reverse_shell.rb +4 -2
- data/lib/ronin/payloads/mixins/tempfile.rb +1 -1
- data/lib/ronin/payloads/mixins/typescript.rb +6 -2
- data/lib/ronin/payloads/nashorn_payload.rb +51 -0
- data/lib/ronin/payloads/node_js_payload.rb +1 -1
- data/lib/ronin/payloads/payload.rb +1 -1
- data/lib/ronin/payloads/php_payload.rb +1 -1
- data/lib/ronin/payloads/powershell_payload.rb +1 -1
- data/lib/ronin/payloads/python_payload.rb +1 -1
- data/lib/ronin/payloads/registry.rb +1 -1
- data/lib/ronin/payloads/root.rb +1 -1
- data/lib/ronin/payloads/ruby_payload.rb +1 -1
- data/lib/ronin/payloads/rust_payload.rb +6 -2
- data/lib/ronin/payloads/shell_payload.rb +1 -1
- data/lib/ronin/payloads/shellcode/bind_shell_payload.rb +1 -1
- data/lib/ronin/payloads/shellcode/exec_shell_payload.rb +1 -1
- data/lib/ronin/payloads/shellcode/reverse_shell_payload.rb +1 -1
- data/lib/ronin/payloads/shellcode_payload.rb +1 -1
- data/lib/ronin/payloads/sql_payload.rb +1 -1
- data/lib/ronin/payloads/url_payload.rb +1 -1
- data/lib/ronin/payloads/version.rb +2 -2
- data/lib/ronin/payloads/xml_payload.rb +1 -1
- data/lib/ronin/payloads.rb +1 -1
- data/man/ronin-payloads-build.1 +17 -31
- data/man/ronin-payloads-build.1.md +15 -11
- data/man/ronin-payloads-completion.1 +76 -0
- data/man/ronin-payloads-completion.1.md +78 -0
- data/man/ronin-payloads-encode.1 +13 -25
- data/man/ronin-payloads-encode.1.md +12 -8
- data/man/ronin-payloads-encoder.1 +10 -19
- data/man/ronin-payloads-encoder.1.md +8 -4
- data/man/ronin-payloads-encoders.1 +9 -17
- data/man/ronin-payloads-encoders.1.md +7 -3
- data/man/ronin-payloads-irb.1 +9 -16
- data/man/ronin-payloads-irb.1.md +6 -2
- data/man/ronin-payloads-launch.1 +12 -21
- data/man/ronin-payloads-launch.1.md +9 -5
- data/man/ronin-payloads-list.1 +10 -17
- data/man/ronin-payloads-list.1.md +7 -3
- data/man/ronin-payloads-new.1.md +15 -11
- data/man/ronin-payloads-show.1 +12 -21
- data/man/ronin-payloads-show.1.md +9 -5
- data/man/ronin-payloads.1 +19 -27
- data/man/ronin-payloads.1.md +17 -10
- data/scripts/setup +58 -0
- metadata +34 -9
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin-payloads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ronin-support
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.2.0.rc1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.2.0.rc1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: ronin-repos
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,10 +94,9 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '2.0'
|
97
|
-
description:
|
98
|
-
payloads. ronin-payloads allows one to write payloads as plain old Ruby classes.
|
99
|
-
|
100
|
-
be installed with ronin-repos.
|
97
|
+
description: |-
|
98
|
+
ronin-payloads is a Ruby micro-framework for writing and running exploit payloads. ronin-payloads allows one to write payloads as plain old Ruby classes. ronin-payloads can be distributed as Ruby files or in git repositories that can be installed with ronin-repos.
|
99
|
+
It's like `msfvenom` but simpler and more modular.
|
101
100
|
email: postmodern.mod3@gmail.com
|
102
101
|
executables:
|
103
102
|
- ronin-payloads
|
@@ -120,25 +119,42 @@ files:
|
|
120
119
|
- README.md
|
121
120
|
- Rakefile
|
122
121
|
- bin/ronin-payloads
|
122
|
+
- data/completions/ronin-payloads
|
123
|
+
- data/completions/ronin-payloads.yml
|
123
124
|
- data/templates/payload.rb.erb
|
124
125
|
- examples/bin_sh.rb
|
125
126
|
- gemspec.yml
|
126
127
|
- lib/ronin/payloads.rb
|
127
128
|
- lib/ronin/payloads/asm_payload.rb
|
128
129
|
- lib/ronin/payloads/binary_payload.rb
|
130
|
+
- lib/ronin/payloads/builtin/bin/unix/reverse_shell.c
|
131
|
+
- lib/ronin/payloads/builtin/bin/unix/reverse_shell.rb
|
132
|
+
- lib/ronin/payloads/builtin/bin/windows/reverse_shell.c
|
133
|
+
- lib/ronin/payloads/builtin/bin/windows/reverse_shell.rb
|
129
134
|
- lib/ronin/payloads/builtin/cmd/awk/reverse_shell.rb
|
130
135
|
- lib/ronin/payloads/builtin/cmd/bash/reverse_shell.rb
|
131
136
|
- lib/ronin/payloads/builtin/cmd/lua/reverse_shell.rb
|
137
|
+
- lib/ronin/payloads/builtin/cmd/netcat/bind_shell.rb
|
132
138
|
- lib/ronin/payloads/builtin/cmd/node/reverse_shell.rb
|
133
139
|
- lib/ronin/payloads/builtin/cmd/openssl/reverse_shell.rb
|
134
140
|
- lib/ronin/payloads/builtin/cmd/perl/reverse_shell.rb
|
135
141
|
- lib/ronin/payloads/builtin/cmd/php/reverse_shell.rb
|
142
|
+
- lib/ronin/payloads/builtin/cmd/ping.rb
|
136
143
|
- lib/ronin/payloads/builtin/cmd/powershell/reverse_shell.rb
|
137
144
|
- lib/ronin/payloads/builtin/cmd/python/reverse_shell.rb
|
138
145
|
- lib/ronin/payloads/builtin/cmd/ruby/reverse_shell.rb
|
146
|
+
- lib/ronin/payloads/builtin/cmd/sleep.rb
|
147
|
+
- lib/ronin/payloads/builtin/cmd/touch.rb
|
148
|
+
- lib/ronin/payloads/builtin/cmd/windows/download.rb
|
149
|
+
- lib/ronin/payloads/builtin/cmd/zsh/reverse_shell.rb
|
150
|
+
- lib/ronin/payloads/builtin/groovy/reverse_shell.rb
|
139
151
|
- lib/ronin/payloads/builtin/java/reverse_shell.rb
|
140
152
|
- lib/ronin/payloads/builtin/java/reverse_shell/Payload.java.erb
|
153
|
+
- lib/ronin/payloads/builtin/js/nashorn/reverse_shell.rb
|
154
|
+
- lib/ronin/payloads/builtin/js/node/reverse_shell.rb
|
141
155
|
- lib/ronin/payloads/builtin/php/cmd_exec.rb
|
156
|
+
- lib/ronin/payloads/builtin/php/download_exec.php.erb
|
157
|
+
- lib/ronin/payloads/builtin/php/download_exec.rb
|
142
158
|
- lib/ronin/payloads/builtin/shellcode/freebsd/x86/bind_shell.rb
|
143
159
|
- lib/ronin/payloads/builtin/shellcode/freebsd/x86/exec_shell.rb
|
144
160
|
- lib/ronin/payloads/builtin/shellcode/freebsd/x86/reverse_shell.rb
|
@@ -164,12 +180,15 @@ files:
|
|
164
180
|
- lib/ronin/payloads/builtin/shellcode/openbsd/x86/bind_shell.rb
|
165
181
|
- lib/ronin/payloads/builtin/shellcode/openbsd/x86/exec_shell.rb
|
166
182
|
- lib/ronin/payloads/builtin/shellcode/windows/x86_64/cmd.rb
|
183
|
+
- lib/ronin/payloads/builtin/test/cmd.rb
|
167
184
|
- lib/ronin/payloads/builtin/test/open_redirect.rb
|
185
|
+
- lib/ronin/payloads/builtin/test/url.rb
|
168
186
|
- lib/ronin/payloads/builtin/test/xss.rb
|
169
187
|
- lib/ronin/payloads/c_payload.rb
|
170
188
|
- lib/ronin/payloads/cli.rb
|
171
189
|
- lib/ronin/payloads/cli/command.rb
|
172
190
|
- lib/ronin/payloads/cli/commands/build.rb
|
191
|
+
- lib/ronin/payloads/cli/commands/completion.rb
|
173
192
|
- lib/ronin/payloads/cli/commands/encode.rb
|
174
193
|
- lib/ronin/payloads/cli/commands/encoder.rb
|
175
194
|
- lib/ronin/payloads/cli/commands/encoders.rb
|
@@ -206,6 +225,7 @@ files:
|
|
206
225
|
- lib/ronin/payloads/encoders/xml_encoder.rb
|
207
226
|
- lib/ronin/payloads/exceptions.rb
|
208
227
|
- lib/ronin/payloads/go_payload.rb
|
228
|
+
- lib/ronin/payloads/groovy_payload.rb
|
209
229
|
- lib/ronin/payloads/html_payload.rb
|
210
230
|
- lib/ronin/payloads/java_payload.rb
|
211
231
|
- lib/ronin/payloads/javascript_payload.rb
|
@@ -215,6 +235,7 @@ files:
|
|
215
235
|
- lib/ronin/payloads/mixins/binary.rb
|
216
236
|
- lib/ronin/payloads/mixins/bind_shell.rb
|
217
237
|
- lib/ronin/payloads/mixins/build_dir.rb
|
238
|
+
- lib/ronin/payloads/mixins/c_compiler.rb
|
218
239
|
- lib/ronin/payloads/mixins/erb.rb
|
219
240
|
- lib/ronin/payloads/mixins/network.rb
|
220
241
|
- lib/ronin/payloads/mixins/post_ex.rb
|
@@ -222,6 +243,7 @@ files:
|
|
222
243
|
- lib/ronin/payloads/mixins/reverse_shell.rb
|
223
244
|
- lib/ronin/payloads/mixins/tempfile.rb
|
224
245
|
- lib/ronin/payloads/mixins/typescript.rb
|
246
|
+
- lib/ronin/payloads/nashorn_payload.rb
|
225
247
|
- lib/ronin/payloads/node_js_payload.rb
|
226
248
|
- lib/ronin/payloads/payload.rb
|
227
249
|
- lib/ronin/payloads/php_payload.rb
|
@@ -242,6 +264,8 @@ files:
|
|
242
264
|
- lib/ronin/payloads/xml_payload.rb
|
243
265
|
- man/ronin-payloads-build.1
|
244
266
|
- man/ronin-payloads-build.1.md
|
267
|
+
- man/ronin-payloads-completion.1
|
268
|
+
- man/ronin-payloads-completion.1.md
|
245
269
|
- man/ronin-payloads-encode.1
|
246
270
|
- man/ronin-payloads-encode.1.md
|
247
271
|
- man/ronin-payloads-encoder.1
|
@@ -260,6 +284,7 @@ files:
|
|
260
284
|
- man/ronin-payloads.1
|
261
285
|
- man/ronin-payloads.1.md
|
262
286
|
- ronin-payloads.gemspec
|
287
|
+
- scripts/setup
|
263
288
|
homepage: https://ronin-rb.dev/
|
264
289
|
licenses:
|
265
290
|
- LGPL-3.0
|
@@ -284,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
309
|
- !ruby/object:Gem::Version
|
285
310
|
version: '0'
|
286
311
|
requirements: []
|
287
|
-
rubygems_version: 3.3.
|
312
|
+
rubygems_version: 3.3.27
|
288
313
|
signing_key:
|
289
314
|
specification_version: 4
|
290
315
|
summary: A Ruby micro-framework for writing and running exploit payloads
|