ronin-exploits 1.1.0 → 1.1.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 +11 -0
- data/README.md +7 -7
- data/data/new/exploit.rb.erb +5 -5
- data/gemspec.yml +2 -1
- data/lib/ronin/exploits/advisory.rb +1 -1
- data/lib/ronin/exploits/cli/command.rb +3 -2
- data/lib/ronin/exploits/cli/commands/completion.rb +3 -2
- data/lib/ronin/exploits/cli/commands/irb.rb +3 -3
- data/lib/ronin/exploits/cli/commands/list.rb +3 -3
- data/lib/ronin/exploits/cli/commands/new.rb +4 -3
- data/lib/ronin/exploits/cli/commands/run.rb +11 -9
- data/lib/ronin/exploits/cli/commands/show.rb +2 -4
- data/lib/ronin/exploits/cli/exploit_command.rb +3 -3
- data/lib/ronin/exploits/cli/exploit_methods.rb +4 -3
- data/lib/ronin/exploits/cli/ruby_shell.rb +1 -1
- data/lib/ronin/exploits/cli.rb +3 -2
- data/lib/ronin/exploits/client_side_web_vuln.rb +2 -2
- data/lib/ronin/exploits/command_injection.rb +4 -3
- data/lib/ronin/exploits/exceptions.rb +1 -1
- data/lib/ronin/exploits/exploit.rb +6 -5
- data/lib/ronin/exploits/heap_overflow.rb +2 -2
- data/lib/ronin/exploits/lfi.rb +2 -2
- data/lib/ronin/exploits/loot/file.rb +2 -2
- data/lib/ronin/exploits/loot.rb +2 -2
- data/lib/ronin/exploits/memory_corruption.rb +4 -4
- data/lib/ronin/exploits/metadata/arch.rb +1 -1
- data/lib/ronin/exploits/metadata/cookie_param.rb +1 -1
- data/lib/ronin/exploits/metadata/default_filename.rb +1 -1
- data/lib/ronin/exploits/metadata/default_port.rb +1 -1
- data/lib/ronin/exploits/metadata/header_name.rb +1 -1
- data/lib/ronin/exploits/metadata/os.rb +1 -1
- data/lib/ronin/exploits/metadata/shouts.rb +1 -1
- data/lib/ronin/exploits/metadata/url_path.rb +1 -1
- data/lib/ronin/exploits/metadata/url_query_param.rb +1 -1
- data/lib/ronin/exploits/mixins/binary.rb +3 -2
- data/lib/ronin/exploits/mixins/build_dir.rb +1 -1
- data/lib/ronin/exploits/mixins/file_builder.rb +2 -2
- data/lib/ronin/exploits/mixins/format_string.rb +3 -3
- data/lib/ronin/exploits/mixins/has_payload.rb +6 -2
- data/lib/ronin/exploits/mixins/has_targets.rb +3 -3
- data/lib/ronin/exploits/mixins/html.rb +1 -1
- data/lib/ronin/exploits/mixins/http.rb +3 -2
- data/lib/ronin/exploits/mixins/loot.rb +2 -2
- data/lib/ronin/exploits/mixins/nops.rb +1 -1
- data/lib/ronin/exploits/mixins/remote_tcp.rb +6 -5
- data/lib/ronin/exploits/mixins/remote_udp.rb +6 -5
- data/lib/ronin/exploits/mixins/seh.rb +4 -4
- data/lib/ronin/exploits/mixins/stack_overflow.rb +4 -4
- data/lib/ronin/exploits/mixins/text.rb +1 -1
- data/lib/ronin/exploits/mixins.rb +13 -13
- data/lib/ronin/exploits/open_redirect.rb +2 -2
- data/lib/ronin/exploits/params/base_url.rb +1 -1
- data/lib/ronin/exploits/params/bind_host.rb +1 -1
- data/lib/ronin/exploits/params/bind_port.rb +1 -1
- data/lib/ronin/exploits/params/filename.rb +2 -2
- data/lib/ronin/exploits/params/host.rb +1 -1
- data/lib/ronin/exploits/params/port.rb +2 -2
- data/lib/ronin/exploits/registry.rb +1 -1
- data/lib/ronin/exploits/rfi.rb +3 -3
- data/lib/ronin/exploits/root.rb +1 -1
- data/lib/ronin/exploits/seh_overflow.rb +3 -3
- data/lib/ronin/exploits/sqli.rb +3 -3
- data/lib/ronin/exploits/ssti.rb +2 -2
- data/lib/ronin/exploits/stack_overflow.rb +3 -3
- data/lib/ronin/exploits/target.rb +1 -1
- data/lib/ronin/exploits/test_result.rb +1 -1
- data/lib/ronin/exploits/use_after_free.rb +2 -2
- data/lib/ronin/exploits/version.rb +2 -2
- data/lib/ronin/exploits/web.rb +3 -3
- data/lib/ronin/exploits/web_vuln.rb +3 -3
- data/lib/ronin/exploits/xss.rb +3 -3
- data/lib/ronin/exploits.rb +15 -15
- metadata +18 -4
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative '../exceptions'
|
23
|
+
|
23
24
|
require 'ronin/support/binary/ctypes'
|
24
25
|
|
25
26
|
module Ronin
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative '../params/filename'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative 'binary'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module Exploits
|
@@ -63,7 +63,7 @@ module Ronin
|
|
63
63
|
|
64
64
|
(machine_word.size / 2).times do
|
65
65
|
low_mask <<= 8
|
66
|
-
low_mask
|
66
|
+
low_mask |= 0xff
|
67
67
|
end
|
68
68
|
|
69
69
|
high_mask = low_mask << ((machine_word.size * 8) / 2)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative '../exceptions'
|
23
|
+
|
23
24
|
require 'ronin/payloads/payload'
|
24
25
|
|
25
26
|
module Ronin
|
@@ -110,6 +111,9 @@ module Ronin
|
|
110
111
|
# @return [Ronin::Payloads::Payload, String, nil]
|
111
112
|
# The new payload of the exploit.
|
112
113
|
#
|
114
|
+
# @raise [IncompatiblePayload]
|
115
|
+
# An incompatible payload object was given to the exploit.
|
116
|
+
#
|
113
117
|
def payload=(new_payload)
|
114
118
|
if new_payload.kind_of?(Payloads::Payload)
|
115
119
|
unless new_payload.kind_of?(self.class.payload_class)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 +19,8 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
require_relative '../target'
|
23
|
+
require_relative '../exceptions'
|
24
24
|
|
25
25
|
module Ronin
|
26
26
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 +19,9 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
+
require_relative '../params/base_url'
|
23
|
+
|
22
24
|
require 'ronin/support/network/http'
|
23
|
-
require 'ronin/exploits/params/base_url'
|
24
25
|
|
25
26
|
module Ronin
|
26
27
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative '../loot'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,11 +19,12 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
+
require_relative '../params/host'
|
23
|
+
require_relative '../params/port'
|
24
|
+
require_relative '../params/bind_host'
|
25
|
+
require_relative '../params/bind_port'
|
26
|
+
|
22
27
|
require 'ronin/support/network/tcp/mixin'
|
23
|
-
require 'ronin/exploits/params/host'
|
24
|
-
require 'ronin/exploits/params/port'
|
25
|
-
require 'ronin/exploits/params/bind_host'
|
26
|
-
require 'ronin/exploits/params/bind_port'
|
27
28
|
|
28
29
|
module Ronin
|
29
30
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,11 +19,12 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
+
require_relative '../params/host'
|
23
|
+
require_relative '../params/port'
|
24
|
+
require_relative '../params/bind_host'
|
25
|
+
require_relative '../params/bind_port'
|
26
|
+
|
22
27
|
require 'ronin/support/network/udp/mixin'
|
23
|
-
require 'ronin/exploits/params/host'
|
24
|
-
require 'ronin/exploits/params/port'
|
25
|
-
require 'ronin/exploits/params/bind_host'
|
26
|
-
require 'ronin/exploits/params/bind_port'
|
27
28
|
|
28
29
|
module Ronin
|
29
30
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,9 +19,9 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
require_relative 'text'
|
23
|
+
require_relative 'binary'
|
24
|
+
require_relative 'nops'
|
25
25
|
|
26
26
|
module Ronin
|
27
27
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,9 +19,9 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
require_relative 'binary'
|
23
|
+
require_relative 'nops'
|
24
|
+
require_relative 'text'
|
25
25
|
|
26
26
|
module Ronin
|
27
27
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,15 +19,15 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
22
|
+
require_relative 'mixins/binary'
|
23
|
+
require_relative 'mixins/file_builder'
|
24
|
+
require_relative 'mixins/format_string'
|
25
|
+
require_relative 'mixins/has_payload'
|
26
|
+
require_relative 'mixins/has_targets'
|
27
|
+
require_relative 'mixins/http'
|
28
|
+
require_relative 'mixins/text'
|
29
|
+
require_relative 'mixins/nops'
|
30
|
+
require_relative 'mixins/remote_tcp'
|
31
|
+
require_relative 'mixins/remote_udp'
|
32
|
+
require_relative 'mixins/seh'
|
33
|
+
require_relative 'mixins/stack_overflow'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative 'client_side_web_vuln'
|
23
23
|
|
24
24
|
require 'ronin/vulns/open_redirect'
|
25
25
|
require 'ronin/payloads/url_payload'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative '../metadata/default_filename'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative '../metadata/default_port'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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
|
data/lib/ronin/exploits/rfi.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 +19,8 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
require_relative 'web_vuln'
|
23
|
+
require_relative 'mixins/has_payload'
|
24
24
|
|
25
25
|
require 'ronin/vulns/rfi'
|
26
26
|
require 'ronin/payloads/url_payload'
|
data/lib/ronin/exploits/root.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 +19,8 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
require_relative 'memory_corruption'
|
23
|
+
require_relative 'mixins/seh'
|
24
24
|
|
25
25
|
module Ronin
|
26
26
|
module Exploits
|
data/lib/ronin/exploits/sqli.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 +19,8 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
require_relative 'web_vuln'
|
23
|
+
require_relative 'mixins/has_payload'
|
24
24
|
|
25
25
|
require 'ronin/vulns/sqli'
|
26
26
|
require 'ronin/payloads/sql_payload'
|
data/lib/ronin/exploits/ssti.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative 'web_vuln'
|
23
23
|
|
24
24
|
require 'ronin/vulns/ssti'
|
25
25
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 +19,8 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
require_relative 'memory_corruption'
|
23
|
+
require_relative 'mixins/stack_overflow'
|
24
24
|
|
25
25
|
module Ronin
|
26
26
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
22
|
+
require_relative 'memory_corruption'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module Exploits
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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
|
@@ -22,6 +22,6 @@
|
|
22
22
|
module Ronin
|
23
23
|
module Exploits
|
24
24
|
# ronin-exploits version
|
25
|
-
VERSION = '1.1.
|
25
|
+
VERSION = '1.1.1'
|
26
26
|
end
|
27
27
|
end
|
data/lib/ronin/exploits/web.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
|
4
4
|
# payload crafting functionality.
|
5
5
|
#
|
6
|
-
# Copyright (c) 2007-
|
6
|
+
# Copyright (c) 2007-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
7
7
|
#
|
8
8
|
# ronin-exploits 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,8 +19,8 @@
|
|
19
19
|
# along with ronin-exploits. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
#
|
21
21
|
|
22
|
-
|
23
|
-
|
22
|
+
require_relative 'exploit'
|
23
|
+
require_relative 'mixins/http'
|
24
24
|
|
25
25
|
require 'uri/query_params'
|
26
26
|
|