ronin-payloads 0.2.0 → 0.2.1
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 +1 -0
- data/ChangeLog.md +13 -0
- data/README.md +1 -1
- data/Rakefile +8 -1
- data/data/completions/ronin-payloads +1 -1
- data/gemspec.yml +1 -1
- data/lib/ronin/payloads/asm_payload.rb +5 -5
- data/lib/ronin/payloads/binary_payload.rb +2 -2
- data/lib/ronin/payloads/builtin/bin/unix/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/bin/windows/reverse_shell.rb +1 -1
- 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 +1 -1
- data/lib/ronin/payloads/builtin/cmd/node/reverse_shell.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/ronin/payloads/builtin/cmd/touch.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/windows/download.rb +1 -1
- data/lib/ronin/payloads/builtin/cmd/zsh/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/groovy/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/java/reverse_shell/Payload.java.erb +1 -1
- data/lib/ronin/payloads/builtin/java/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/js/nashorn/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/js/node/reverse_shell.rb +1 -1
- data/lib/ronin/payloads/builtin/php/cmd_exec.rb +1 -1
- 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 +1 -1
- data/lib/ronin/payloads/builtin/test/open_redirect.rb +1 -1
- data/lib/ronin/payloads/builtin/test/url.rb +1 -1
- data/lib/ronin/payloads/builtin/test/xss.rb +1 -1
- data/lib/ronin/payloads/c_payload.rb +3 -3
- data/lib/ronin/payloads/cli/command.rb +3 -2
- data/lib/ronin/payloads/cli/commands/build.rb +5 -4
- data/lib/ronin/payloads/cli/commands/completion.rb +3 -2
- data/lib/ronin/payloads/cli/commands/encode.rb +7 -7
- data/lib/ronin/payloads/cli/commands/encoder.rb +19 -18
- data/lib/ronin/payloads/cli/commands/encoders.rb +3 -3
- data/lib/ronin/payloads/cli/commands/irb.rb +3 -3
- data/lib/ronin/payloads/cli/commands/launch.rb +4 -3
- data/lib/ronin/payloads/cli/commands/list.rb +3 -3
- data/lib/ronin/payloads/cli/commands/new.rb +3 -3
- data/lib/ronin/payloads/cli/commands/show.rb +6 -5
- data/lib/ronin/payloads/cli/encoder_methods.rb +13 -10
- data/lib/ronin/payloads/cli/format_option.rb +1 -1
- data/lib/ronin/payloads/cli/payload_command.rb +3 -3
- data/lib/ronin/payloads/cli/payload_methods.rb +4 -3
- data/lib/ronin/payloads/cli/printing.rb +1 -1
- data/lib/ronin/payloads/cli/ruby_shell.rb +1 -1
- data/lib/ronin/payloads/cli.rb +3 -2
- data/lib/ronin/payloads/coldfusion_payload.rb +2 -2
- data/lib/ronin/payloads/command_payload.rb +2 -2
- 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 +2 -2
- 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 +3 -2
- data/lib/ronin/payloads/encoders/exceptions.rb +2 -2
- data/lib/ronin/payloads/encoders/html_encoder.rb +2 -2
- data/lib/ronin/payloads/encoders/javascript_encoder.rb +2 -2
- data/lib/ronin/payloads/encoders/pipeline.rb +2 -2
- data/lib/ronin/payloads/encoders/powershell_encoder.rb +2 -2
- data/lib/ronin/payloads/encoders/registry.rb +1 -1
- data/lib/ronin/payloads/encoders/shell_encoder.rb +2 -2
- data/lib/ronin/payloads/encoders/sql_encoder.rb +2 -2
- data/lib/ronin/payloads/encoders/xml_encoder.rb +2 -2
- data/lib/ronin/payloads/encoders.rb +10 -3
- data/lib/ronin/payloads/exceptions.rb +1 -1
- data/lib/ronin/payloads/go_payload.rb +2 -2
- data/lib/ronin/payloads/groovy_payload.rb +2 -2
- data/lib/ronin/payloads/html_payload.rb +4 -3
- data/lib/ronin/payloads/java_payload.rb +2 -2
- data/lib/ronin/payloads/javascript_payload.rb +4 -3
- data/lib/ronin/payloads/jsp_payload.rb +2 -2
- 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 +3 -2
- data/lib/ronin/payloads/mixins/bind_shell.rb +3 -2
- data/lib/ronin/payloads/mixins/build_dir.rb +1 -1
- data/lib/ronin/payloads/mixins/c_compiler.rb +3 -3
- 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 +3 -2
- data/lib/ronin/payloads/mixins/tempfile.rb +1 -1
- data/lib/ronin/payloads/mixins/typescript.rb +2 -2
- data/lib/ronin/payloads/nashorn_payload.rb +2 -2
- data/lib/ronin/payloads/node_js_payload.rb +2 -2
- data/lib/ronin/payloads/payload.rb +5 -5
- data/lib/ronin/payloads/php_payload.rb +2 -2
- data/lib/ronin/payloads/powershell_payload.rb +3 -3
- data/lib/ronin/payloads/python_payload.rb +2 -2
- data/lib/ronin/payloads/registry.rb +1 -1
- data/lib/ronin/payloads/root.rb +1 -1
- data/lib/ronin/payloads/ruby_payload.rb +2 -2
- data/lib/ronin/payloads/rust_payload.rb +2 -2
- data/lib/ronin/payloads/shell_payload.rb +3 -3
- data/lib/ronin/payloads/shellcode/bind_shell_payload.rb +5 -5
- data/lib/ronin/payloads/shellcode/exec_shell_payload.rb +2 -2
- data/lib/ronin/payloads/shellcode/reverse_shell_payload.rb +5 -5
- data/lib/ronin/payloads/shellcode_payload.rb +2 -2
- data/lib/ronin/payloads/sql_payload.rb +3 -3
- data/lib/ronin/payloads/url_payload.rb +2 -2
- data/lib/ronin/payloads/version.rb +2 -2
- data/lib/ronin/payloads/xml_payload.rb +4 -3
- data/lib/ronin/payloads.rb +42 -7
- data/man/ronin-payloads-encode.1 +2 -2
- data/man/ronin-payloads-encode.1.md +2 -2
- data/man/ronin-payloads-encoder.1 +2 -2
- data/man/ronin-payloads-encoder.1.md +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45e39cb049f304d4bad7c8d730a9ef626fd56a1d56bf81e156050d295a792dd8
|
4
|
+
data.tar.gz: c431deb240bf6f4b39f9a23ce91dcb9dfe0456b158a8c01e5b8e744e9f55c979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fba278dfcaab59a172c2aa5f806ec573b85c99aa40a8d2e549d97daee29c0fd4aee68853ba44c22efa161f8474d246df6502de5174fb95911bea3bd4208a7bd
|
7
|
+
data.tar.gz: b314e92bdb928e62fd886cdd554da92dbb5858a0e79382ea4b67a93663e82738e268e3d8ea0d4c2f246bb4b5d8fc65621d3962dbe0c403e2bb718c12af1c472a
|
data/.github/workflows/ruby.yml
CHANGED
data/ChangeLog.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
### 0.2.1 / 2025-02-14
|
2
|
+
|
3
|
+
* Ensure that `ronin/payloads` requires all other Payload classes and Mixin
|
4
|
+
modules.
|
5
|
+
* Use `require_relative` to improve load times.
|
6
|
+
* Documentation fixes.
|
7
|
+
|
8
|
+
#### CLI
|
9
|
+
|
10
|
+
* Properly rescue the `Ronin::Payloads::Encoders::ClassNotFound` exception and
|
11
|
+
print an error message when a payload encoder cannot be found or loaded.
|
12
|
+
* Fixed multiple bugs in the `ronin-payloads encoder` command.
|
13
|
+
|
1
14
|
### 0.2.0 / 2024-07-22
|
2
15
|
|
3
16
|
* Added the {Ronin::Payloads::GroovyPayload} payload class.
|
data/README.md
CHANGED
@@ -388,7 +388,7 @@ malicious software (malware) or malicious in nature.
|
|
388
388
|
|
389
389
|
## License
|
390
390
|
|
391
|
-
Copyright (c) 2007-
|
391
|
+
Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
392
392
|
|
393
393
|
ronin-payloads is free software: you can redistribute it and/or modify
|
394
394
|
it under the terms of the GNU Lesser General Public License as published
|
data/Rakefile
CHANGED
@@ -23,7 +23,14 @@ Gem::Tasks.new(sign: {checksum: true, pgp: true})
|
|
23
23
|
|
24
24
|
require 'rspec/core/rake_task'
|
25
25
|
RSpec::Core::RakeTask.new
|
26
|
-
|
26
|
+
|
27
|
+
namespace :spec do
|
28
|
+
RSpec::Core::RakeTask.new(:integration) do |t|
|
29
|
+
t.rspec_opts = '--tag integration'
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
task :test => [:spec, 'spec:integration']
|
27
34
|
task :default => :spec
|
28
35
|
|
29
36
|
require 'yard'
|
@@ -113,7 +113,7 @@ _ronin-payloads_completions() {
|
|
113
113
|
;;
|
114
114
|
|
115
115
|
'new'*)
|
116
|
-
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -W "$(_ronin-payloads_completions_filter "--type -t --author -a --author-email -e --summary -S --description -D --reference -R")" -- "$cur")
|
116
|
+
while read -r; do COMPREPLY+=("$REPLY"); done < <(compgen -A file -A directory -W "$(_ronin-payloads_completions_filter "--type -t --author -a --author-email -e --summary -S --description -D --reference -R")" -- "$cur")
|
117
117
|
;;
|
118
118
|
|
119
119
|
*)
|
data/gemspec.yml
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -19,10 +19,10 @@
|
|
19
19
|
# along with ronin-payloads. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
require_relative 'binary_payload'
|
23
|
+
require_relative 'metadata/arch'
|
24
|
+
require_relative 'metadata/os'
|
25
|
+
require_relative 'exceptions'
|
26
26
|
require 'ronin/code/asm/program'
|
27
27
|
|
28
28
|
require 'tempfile'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -19,7 +19,7 @@
|
|
19
19
|
# along with ronin-payloads. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative 'payload'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module Payloads
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -14,7 +14,7 @@ public class Payload
|
|
14
14
|
Process process = new ProcessBuilder(shell).redirectErrorStream(true).start();
|
15
15
|
Socket socket = new Socket(host,port);
|
16
16
|
|
17
|
-
InputStream process_input =process.getInputStream();
|
17
|
+
InputStream process_input = process.getInputStream();
|
18
18
|
InputStream process_error = process.getErrorStream();
|
19
19
|
InputStream socket_input = socket.getInputStream();
|
20
20
|
OutputStream process_output = process.getOutputStream();
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
4
4
|
# payloads.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# ronin-payloads - A Ruby micro-framework for writing and running exploit
|
5
5
|
# payloads.
|
6
6
|
#
|
7
|
-
# Copyright (c) 2007-
|
7
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
8
8
|
#
|
9
9
|
# ronin-payloads is free software: you can redistribute it and/or modify
|
10
10
|
# it under the terms of the GNU Lesser General Public License as published
|