rex-powershell 0.1.89 → 0.1.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a16744ce19e6ede9064d9ae074b3af40e10551249ed22d4c6809139d460e2bd6
4
- data.tar.gz: f1aa5236d85697bb4e87e2a3b217c7da7ca45c34ef821126b8e33dd0d931b9e0
3
+ metadata.gz: 0a33516521ac7e860fca2bc66ae38f9859cac0588b657c8ffbe2e5ce8120adde
4
+ data.tar.gz: 222e5ad9199ac80d8c8ec1b88d9504550f89b8811bc36dfc5df9bd34f3c7f329
5
5
  SHA512:
6
- metadata.gz: 8ebd7515e95cf5b2488e33cf9ba6b79af155625b05db956fa8a74063393c1908bee6bcab96110cffa817da5648452103f8f7a140493e24fa048cfa8eaff23962
7
- data.tar.gz: 4935d92f05bd74e2efa7e328c324a36b168b47f40c58d6c8116f18032bfa4c76400477805f59d8ba189d7dcfb75941f81e3ae0e0dc05930d3aed535ba3fa4672
6
+ metadata.gz: 2d048a4d9875adff24b0a7168813918bfa36914130fb41df3666242f2553571b9afe0befac3daa3117f557f0881289e0ec21ceefe2b11922315747a73b6613ff
7
+ data.tar.gz: df1b2109a3ffb337e5691f1a517ee08a99cb335c7b916c820a62e8caef91437a4c6815ad02bb7910daebb05a010acd51c79cc7ce101c7ab617577b9d4d1165ac
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -306,7 +306,9 @@ EOS
306
306
  else
307
307
  fail RuntimeError, 'No Powershell method specified'
308
308
  end
309
-
309
+ if opts[:exec_rc4]
310
+ psh_payload = Rex::Powershell::Payload.to_win32pe_psh_rc4(template_path, psh_payload)
311
+ end
310
312
  # Run our payload in a while loop
311
313
  if opts[:persist]
312
314
  fun_name = Rex::Text.rand_text_alpha(rand(2) + 2)
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Powershell
3
- VERSION = "0.1.89"
3
+ VERSION = "0.1.90"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex-powershell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.89
4
+ version: 0.1.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metasploit Hackers
@@ -93,7 +93,7 @@ cert_chain:
93
93
  EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
94
94
  9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
95
95
  -----END CERTIFICATE-----
96
- date: 2021-01-19 00:00:00.000000000 Z
96
+ date: 2021-04-23 00:00:00.000000000 Z
97
97
  dependencies:
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
metadata.gz.sig CHANGED
Binary file