ronin-exploits 1.1.0.rc1 → 1.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1903994a4e01a78bb334adf97253e14d28c9aa3b0a96b1f20b396b3aace75a0
4
- data.tar.gz: c7b6722919a752899b73dac910bbae6f5562e6e0f533c3911a5ffe531e673bde
3
+ metadata.gz: 1ffd8a91a46c0ef7c6f51b67d888982105e70c89dd5426ef8618ab100ce7e85e
4
+ data.tar.gz: c606a18604302c7f7525c5e694a739aa9a8f27d7e27dd6ade459d7afe85493c4
5
5
  SHA512:
6
- metadata.gz: 81747617a07cc5cd43618afed1f1e3f80526214f9630ebd8baf7063667e4323c02f25e9f24e2332060f7c6fd3ce1330258ccedb95a17fbdb2633d5d020441e36
7
- data.tar.gz: 1e2144a69c774293648426c2e7b9bbfab62df5d43cd36b25564e9d972bb2dbd138845216814d19bd73360744ca66a0c6bcaddad4ae1d111af14b92c3070894d5
6
+ metadata.gz: bb0f78b1aebef5d68bb442b89bd710a839e4d983718fcf86d3a77841351f6b5d068e3846e866cde1130562bb416a60fb7fbfa115ebe1a2693fac2d2367eab04b
7
+ data.tar.gz: b5164f3d77bc186c788dea751591d9a76469157b3d3fc390d37ef6c1c21343e24564ed4c7d0e84e878e4f56447acd5f21ae6f2161f1737e68c38a682c33be8c9
data/ChangeLog.md CHANGED
@@ -16,6 +16,14 @@
16
16
  `ronin-exploits run` command for the given exploit.
17
17
  * Use hyphenated values for `ronin-exploits new` options.
18
18
 
19
+ ### 1.0.6 / 2024-06-28
20
+
21
+ #### CLI
22
+
23
+ * Fixed the usage for `ronin-exploits new --software-version`.
24
+ * Fixed a bug in `ronin-exploits run` that would crash the command when the
25
+ payload failed to create a post-exploitation session.
26
+
19
27
  ### 1.0.5 / 2024-06-19
20
28
 
21
29
  #### CLI
@@ -64,7 +64,7 @@ module Ronin
64
64
  # --os The Operating System (OS) to target
65
65
  # --os-version VERSION The OS version to target
66
66
  # -S, --software NAME The software to target
67
- # -V, --software-version ARCH The software version to target
67
+ # -V, --software-version VERSION The software version to target
68
68
  # -L, --loot Adds the loot mixin
69
69
  # -h, --help Print help information
70
70
  #
@@ -253,7 +253,7 @@ module Ronin
253
253
  option :software_version, short: '-V',
254
254
  value: {
255
255
  type: String,
256
- usage: 'ARCH'
256
+ usage: 'VERSION'
257
257
  },
258
258
  desc: 'The software version to target' do |ver|
259
259
  # lazy initialize @target
@@ -283,15 +283,15 @@ module Ronin
283
283
  run_test
284
284
  else
285
285
  run_exploit
286
- end
287
286
 
288
- if options[:irb]
289
- start_shell
290
- else
291
- post_exploitation
292
- end
287
+ if options[:irb]
288
+ start_shell
289
+ else
290
+ post_exploitation
291
+ end
293
292
 
294
- perform_cleanup
293
+ perform_cleanup
294
+ end
295
295
  end
296
296
 
297
297
  #
@@ -429,7 +429,7 @@ module Ronin
429
429
  print_error "payload (#{@exploit.payload.class_id}) did not create a post-exploitation session"
430
430
 
431
431
  perform_cleanup
432
- eixt(1)
432
+ exit(1)
433
433
  end
434
434
 
435
435
  @exploit.payload.session.system.interact
@@ -20,6 +20,7 @@
20
20
  #
21
21
 
22
22
  require 'ronin/exploits/version'
23
+ require 'ronin/core/cli/help/banner'
23
24
 
24
25
  require 'command_kit/commands'
25
26
  require 'command_kit/commands/auto_load'
@@ -40,6 +41,7 @@ module Ronin
40
41
  namespace: "#{self}::Commands"
41
42
  )
42
43
  include CommandKit::Options::Version
44
+ include Core::CLI::Help::Banner
43
45
 
44
46
  command_name 'ronin-exploits'
45
47
  version Ronin::Exploits::VERSION
@@ -22,6 +22,6 @@
22
22
  module Ronin
23
23
  module Exploits
24
24
  # ronin-exploits version
25
- VERSION = '1.1.0.rc1'
25
+ VERSION = '1.1.0.rc2'
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-exploits
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.rc1
4
+ version: 1.1.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uri-query_params