ronin-exploits 1.1.0.rc2 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +1 -0
  3. data/.ruby-version +1 -1
  4. data/ChangeLog.md +12 -1
  5. data/README.md +7 -7
  6. data/data/completions/ronin-exploits +29 -29
  7. data/data/new/exploit.rb.erb +5 -5
  8. data/gemspec.yml +3 -2
  9. data/lib/ronin/exploits/advisory.rb +1 -1
  10. data/lib/ronin/exploits/cli/command.rb +3 -2
  11. data/lib/ronin/exploits/cli/commands/completion.rb +3 -2
  12. data/lib/ronin/exploits/cli/commands/irb.rb +3 -3
  13. data/lib/ronin/exploits/cli/commands/list.rb +3 -3
  14. data/lib/ronin/exploits/cli/commands/new.rb +4 -3
  15. data/lib/ronin/exploits/cli/commands/run.rb +11 -9
  16. data/lib/ronin/exploits/cli/commands/show.rb +2 -4
  17. data/lib/ronin/exploits/cli/exploit_command.rb +3 -3
  18. data/lib/ronin/exploits/cli/exploit_methods.rb +4 -3
  19. data/lib/ronin/exploits/cli/ruby_shell.rb +1 -1
  20. data/lib/ronin/exploits/cli.rb +3 -2
  21. data/lib/ronin/exploits/client_side_web_vuln.rb +2 -2
  22. data/lib/ronin/exploits/command_injection.rb +4 -3
  23. data/lib/ronin/exploits/exceptions.rb +1 -1
  24. data/lib/ronin/exploits/exploit.rb +6 -5
  25. data/lib/ronin/exploits/heap_overflow.rb +2 -2
  26. data/lib/ronin/exploits/lfi.rb +2 -2
  27. data/lib/ronin/exploits/loot/file.rb +2 -2
  28. data/lib/ronin/exploits/loot.rb +2 -2
  29. data/lib/ronin/exploits/memory_corruption.rb +4 -4
  30. data/lib/ronin/exploits/metadata/arch.rb +1 -1
  31. data/lib/ronin/exploits/metadata/cookie_param.rb +1 -1
  32. data/lib/ronin/exploits/metadata/default_filename.rb +1 -1
  33. data/lib/ronin/exploits/metadata/default_port.rb +1 -1
  34. data/lib/ronin/exploits/metadata/header_name.rb +1 -1
  35. data/lib/ronin/exploits/metadata/os.rb +1 -1
  36. data/lib/ronin/exploits/metadata/shouts.rb +1 -1
  37. data/lib/ronin/exploits/metadata/url_path.rb +1 -1
  38. data/lib/ronin/exploits/metadata/url_query_param.rb +1 -1
  39. data/lib/ronin/exploits/mixins/binary.rb +3 -2
  40. data/lib/ronin/exploits/mixins/build_dir.rb +1 -1
  41. data/lib/ronin/exploits/mixins/file_builder.rb +2 -2
  42. data/lib/ronin/exploits/mixins/format_string.rb +3 -3
  43. data/lib/ronin/exploits/mixins/has_payload.rb +6 -2
  44. data/lib/ronin/exploits/mixins/has_targets.rb +3 -3
  45. data/lib/ronin/exploits/mixins/html.rb +1 -1
  46. data/lib/ronin/exploits/mixins/http.rb +3 -2
  47. data/lib/ronin/exploits/mixins/loot.rb +2 -2
  48. data/lib/ronin/exploits/mixins/nops.rb +1 -1
  49. data/lib/ronin/exploits/mixins/remote_tcp.rb +6 -5
  50. data/lib/ronin/exploits/mixins/remote_udp.rb +6 -5
  51. data/lib/ronin/exploits/mixins/seh.rb +4 -4
  52. data/lib/ronin/exploits/mixins/stack_overflow.rb +4 -4
  53. data/lib/ronin/exploits/mixins/text.rb +1 -1
  54. data/lib/ronin/exploits/mixins.rb +13 -13
  55. data/lib/ronin/exploits/open_redirect.rb +2 -2
  56. data/lib/ronin/exploits/params/base_url.rb +1 -1
  57. data/lib/ronin/exploits/params/bind_host.rb +1 -1
  58. data/lib/ronin/exploits/params/bind_port.rb +1 -1
  59. data/lib/ronin/exploits/params/filename.rb +2 -2
  60. data/lib/ronin/exploits/params/host.rb +1 -1
  61. data/lib/ronin/exploits/params/port.rb +2 -2
  62. data/lib/ronin/exploits/registry.rb +1 -1
  63. data/lib/ronin/exploits/rfi.rb +3 -3
  64. data/lib/ronin/exploits/root.rb +1 -1
  65. data/lib/ronin/exploits/seh_overflow.rb +3 -3
  66. data/lib/ronin/exploits/sqli.rb +3 -3
  67. data/lib/ronin/exploits/ssti.rb +2 -2
  68. data/lib/ronin/exploits/stack_overflow.rb +3 -3
  69. data/lib/ronin/exploits/target.rb +1 -1
  70. data/lib/ronin/exploits/test_result.rb +1 -1
  71. data/lib/ronin/exploits/use_after_free.rb +2 -2
  72. data/lib/ronin/exploits/version.rb +2 -2
  73. data/lib/ronin/exploits/web.rb +3 -3
  74. data/lib/ronin/exploits/web_vuln.rb +3 -3
  75. data/lib/ronin/exploits/xss.rb +3 -3
  76. data/lib/ronin/exploits.rb +15 -15
  77. metadata +20 -6
@@ -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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/web_vuln'
22
+ require_relative 'web_vuln'
23
23
 
24
24
  require 'ronin/vulns/lfi'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
@@ -54,7 +54,7 @@ module Ronin
54
54
  #
55
55
  # Initializes the loot file.
56
56
  #
57
- # @param [Stirng] path
57
+ # @param [String] path
58
58
  # The file name or relative path of the loot file.
59
59
  #
60
60
  # @param [String, Array, Hash, #to_s] contents
@@ -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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/loot/file'
22
+ require_relative 'loot/file'
23
23
 
24
24
  require 'fileutils'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/exploit'
23
- require 'ronin/exploits/metadata/arch'
24
- require 'ronin/exploits/metadata/os'
22
+ require_relative 'exploit'
23
+ require_relative 'metadata/arch'
24
+ require_relative 'metadata/os'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/exceptions'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/params/filename'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/mixins/binary'
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 |= 0xff
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/exceptions'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/target'
23
- require 'ronin/exploits/exceptions'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/loot'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/mixins/text'
23
- require 'ronin/exploits/mixins/binary'
24
- require 'ronin/exploits/mixins/nops'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/mixins/binary'
23
- require 'ronin/exploits/mixins/nops'
24
- require 'ronin/exploits/mixins/text'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/mixins/binary'
23
- require 'ronin/exploits/mixins/file_builder'
24
- require 'ronin/exploits/mixins/format_string'
25
- require 'ronin/exploits/mixins/has_payload'
26
- require 'ronin/exploits/mixins/has_targets'
27
- require 'ronin/exploits/mixins/http'
28
- require 'ronin/exploits/mixins/text'
29
- require 'ronin/exploits/mixins/nops'
30
- require 'ronin/exploits/mixins/remote_tcp'
31
- require 'ronin/exploits/mixins/remote_udp'
32
- require 'ronin/exploits/mixins/seh'
33
- require 'ronin/exploits/mixins/stack_overflow'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/client_side_web_vuln'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/metadata/default_filename'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/metadata/default_port'
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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
- require 'ronin/exploits/web_vuln'
23
- require 'ronin/exploits/mixins/has_payload'
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'
@@ -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-2024 Hal Brodigan (postmodern.mod3 at gmail.com)
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