metasploit-payloads 2.0.89 → 2.0.90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/data/android/meterpreter.jar +0 -0
  4. data/data/android/metstage.jar +0 -0
  5. data/data/android/shell.jar +0 -0
  6. data/data/meterpreter/elevator.x64.debug.dll +0 -0
  7. data/data/meterpreter/elevator.x64.dll +0 -0
  8. data/data/meterpreter/elevator.x86.debug.dll +0 -0
  9. data/data/meterpreter/elevator.x86.dll +0 -0
  10. data/data/meterpreter/ext_server_espia.x64.debug.dll +0 -0
  11. data/data/meterpreter/ext_server_espia.x64.dll +0 -0
  12. data/data/meterpreter/ext_server_espia.x86.debug.dll +0 -0
  13. data/data/meterpreter/ext_server_espia.x86.dll +0 -0
  14. data/data/meterpreter/ext_server_extapi.x64.debug.dll +0 -0
  15. data/data/meterpreter/ext_server_extapi.x64.dll +0 -0
  16. data/data/meterpreter/ext_server_extapi.x86.debug.dll +0 -0
  17. data/data/meterpreter/ext_server_extapi.x86.dll +0 -0
  18. data/data/meterpreter/ext_server_incognito.x64.debug.dll +0 -0
  19. data/data/meterpreter/ext_server_incognito.x64.dll +0 -0
  20. data/data/meterpreter/ext_server_incognito.x86.debug.dll +0 -0
  21. data/data/meterpreter/ext_server_incognito.x86.dll +0 -0
  22. data/data/meterpreter/ext_server_kiwi.x64.debug.dll +0 -0
  23. data/data/meterpreter/ext_server_kiwi.x64.dll +0 -0
  24. data/data/meterpreter/ext_server_kiwi.x86.debug.dll +0 -0
  25. data/data/meterpreter/ext_server_kiwi.x86.dll +0 -0
  26. data/data/meterpreter/ext_server_lanattacks.x64.debug.dll +0 -0
  27. data/data/meterpreter/ext_server_lanattacks.x64.dll +0 -0
  28. data/data/meterpreter/ext_server_lanattacks.x86.debug.dll +0 -0
  29. data/data/meterpreter/ext_server_lanattacks.x86.dll +0 -0
  30. data/data/meterpreter/ext_server_peinjector.x64.debug.dll +0 -0
  31. data/data/meterpreter/ext_server_peinjector.x64.dll +0 -0
  32. data/data/meterpreter/ext_server_peinjector.x86.debug.dll +0 -0
  33. data/data/meterpreter/ext_server_peinjector.x86.dll +0 -0
  34. data/data/meterpreter/ext_server_powershell.x64.debug.dll +0 -0
  35. data/data/meterpreter/ext_server_powershell.x64.dll +0 -0
  36. data/data/meterpreter/ext_server_powershell.x86.debug.dll +0 -0
  37. data/data/meterpreter/ext_server_powershell.x86.dll +0 -0
  38. data/data/meterpreter/ext_server_priv.x64.debug.dll +0 -0
  39. data/data/meterpreter/ext_server_priv.x64.dll +0 -0
  40. data/data/meterpreter/ext_server_priv.x86.debug.dll +0 -0
  41. data/data/meterpreter/ext_server_priv.x86.dll +0 -0
  42. data/data/meterpreter/ext_server_python.x64.debug.dll +0 -0
  43. data/data/meterpreter/ext_server_python.x64.dll +0 -0
  44. data/data/meterpreter/ext_server_python.x86.debug.dll +0 -0
  45. data/data/meterpreter/ext_server_python.x86.dll +0 -0
  46. data/data/meterpreter/ext_server_sniffer.x64.dll +0 -0
  47. data/data/meterpreter/ext_server_sniffer.x86.dll +0 -0
  48. data/data/meterpreter/ext_server_stdapi.x64.debug.dll +0 -0
  49. data/data/meterpreter/ext_server_stdapi.x64.dll +0 -0
  50. data/data/meterpreter/ext_server_stdapi.x86.debug.dll +0 -0
  51. data/data/meterpreter/ext_server_stdapi.x86.dll +0 -0
  52. data/data/meterpreter/ext_server_unhook.x64.debug.dll +0 -0
  53. data/data/meterpreter/ext_server_unhook.x64.dll +0 -0
  54. data/data/meterpreter/ext_server_unhook.x86.debug.dll +0 -0
  55. data/data/meterpreter/ext_server_unhook.x86.dll +0 -0
  56. data/data/meterpreter/ext_server_winpmem.x64.debug.dll +0 -0
  57. data/data/meterpreter/ext_server_winpmem.x64.dll +0 -0
  58. data/data/meterpreter/ext_server_winpmem.x86.debug.dll +0 -0
  59. data/data/meterpreter/ext_server_winpmem.x86.dll +0 -0
  60. data/data/meterpreter/meterpreter.py +9 -7
  61. data/data/meterpreter/metsrv.x64.debug.dll +0 -0
  62. data/data/meterpreter/metsrv.x64.dll +0 -0
  63. data/data/meterpreter/metsrv.x86.debug.dll +0 -0
  64. data/data/meterpreter/metsrv.x86.dll +0 -0
  65. data/data/meterpreter/screenshot.x64.debug.dll +0 -0
  66. data/data/meterpreter/screenshot.x64.dll +0 -0
  67. data/data/meterpreter/screenshot.x86.debug.dll +0 -0
  68. data/data/meterpreter/screenshot.x86.dll +0 -0
  69. data/lib/metasploit-payloads/version.rb +1 -1
  70. data.tar.gz.sig +0 -0
  71. metadata +2 -2
  72. metadata.gz.sig +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1512f25f0931730fdd7b8d0fc1cefec0ab49569a47bd67833bd3c63a0703997
4
- data.tar.gz: 3b4692895726086b8dd3440fb208c7864115bd8a06018b080b02acb05597e0b9
3
+ metadata.gz: 3548518c88c1c94964e8b420803bd3008b78c44ba92fc25355476e837342dea7
4
+ data.tar.gz: f30727fbcd19f43a8659c24c1038952106cec46a72bfa33acdfe6468b26eec2b
5
5
  SHA512:
6
- metadata.gz: cbbc6b1258078e02123020dd12d982997bdb6a0d1f1fc1ab6de95bed70a3cc874907cde6ba8fccfc53c4bdc2f4e00cef22b4324ed86ff0068a75593af10713fa
7
- data.tar.gz: 07b26d970f8f31803660e33bd4d4d688ddd4c897dae6c6267a89e0e429e06917c16f372bfcef47a9655627243795dca9860022bd629dbeb2a4dfa88a085c4242
6
+ metadata.gz: 0e96793869bfc073c060b9332bbb96c47d80c3113eb2db82e4ce89eb0986b9b1f11a6053f0d011c3ba7e3ec91c25ab433114bf7030bb26cd07e391f2047c3ef7
7
+ data.tar.gz: 85ec22c2c15083db8e8d3c7bbff045de6d3dd71a22db26f46aecc738b3c93c84f6f3e0821b6d9538d87de8f40f2e649f72d66d4a2971cca27adc732b968b67f3
checksums.yaml.gz.sig CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1348,6 +1348,7 @@ class PythonMeterpreter(object):
1348
1348
  channel = self.channels[channel_id]
1349
1349
  data = bytes()
1350
1350
  write_request_parts = []
1351
+ close_channel = False
1351
1352
  if isinstance(channel, MeterpreterProcess):
1352
1353
  if channel_id in self.interact_channels:
1353
1354
  proc_h = channel.proc_h
@@ -1355,9 +1356,9 @@ class PythonMeterpreter(object):
1355
1356
  data += proc_h.stderr_reader.read()
1356
1357
  if proc_h.stdout_reader.is_read_ready():
1357
1358
  data += proc_h.stdout_reader.read()
1359
+ # Defer closing the channel until the data has been sent
1358
1360
  if not channel.is_alive():
1359
- self.handle_dead_resource_channel(channel_id)
1360
- channel.close()
1361
+ close_channel = True
1361
1362
  elif isinstance(channel, MeterpreterSocketTCPClient):
1362
1363
  while select.select([channel.fileno()], [], [], 0)[0]:
1363
1364
  try:
@@ -1400,9 +1401,15 @@ class PythonMeterpreter(object):
1400
1401
  ])
1401
1402
  self.send_packet(tlv_pack_request('core_channel_write', write_request_parts))
1402
1403
 
1404
+ if close_channel:
1405
+ channel.close()
1406
+ self.handle_dead_resource_channel(channel_id)
1407
+
1403
1408
  def handle_dead_resource_channel(self, channel_id):
1404
1409
  if channel_id in self.interact_channels:
1405
1410
  self.interact_channels.remove(channel_id)
1411
+ if channel_id in self.channels:
1412
+ del self.channels[channel_id]
1406
1413
  self.send_packet(tlv_pack_request('core_channel_close', [
1407
1414
  {'type': TLV_TYPE_CHANNEL_ID, 'value': channel_id},
1408
1415
  ]))
@@ -1641,8 +1648,6 @@ class PythonMeterpreter(object):
1641
1648
  return ERROR_FAILURE, response
1642
1649
  channel = self.channels[channel_id]
1643
1650
  status, response = channel.core_read(request, response)
1644
- if not channel.is_alive():
1645
- self.handle_dead_resource_channel(channel_id)
1646
1651
  return status, response
1647
1652
 
1648
1653
  def _core_channel_write(self, request, response):
@@ -1653,9 +1658,6 @@ class PythonMeterpreter(object):
1653
1658
  status = ERROR_FAILURE
1654
1659
  if channel.is_alive():
1655
1660
  status, response = channel.core_write(request, response)
1656
- # evaluate channel.is_alive() twice because it could have changed
1657
- if not channel.is_alive():
1658
- self.handle_dead_resource_channel(channel_id)
1659
1661
  return status, response
1660
1662
 
1661
1663
  def _core_channel_seek(self, request, response):
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  # -*- coding:binary -*-
2
2
  module MetasploitPayloads
3
- VERSION = '2.0.89'
3
+ VERSION = '2.0.90'
4
4
 
5
5
  def self.version
6
6
  VERSION
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit-payloads
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.89
4
+ version: 2.0.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - OJ Reeves
@@ -96,7 +96,7 @@ cert_chain:
96
96
  EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
97
97
  9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
98
98
  -----END CERTIFICATE-----
99
- date: 2022-05-05 00:00:00.000000000 Z
99
+ date: 2022-05-06 00:00:00.000000000 Z
100
100
  dependencies:
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: rake
metadata.gz.sig CHANGED
@@ -1,2 +1,4 @@
1
- �/�f�ٜ"n�oڳ"�
2
- *\/GV_���Duw�x�ZC��Le�� b�Խ"w ���<Dj��+#޳�ݳ������zV앞��ޣWJ�y�.�(�M��/�AQ�n@m�cY6���ë�~��c�#��ުs
1
+ �ǽr
2
+ erz�w8է�i�������k��pU�*h�`'�e�#�����d2獯�*}/��M��ׄ� z$Y[(��zZʰ[kv������d%�
3
+ �mk�Q�����,�5Hd����y�6oX�*�Yt'�V�(i7�g�� �.���?n�.� X:L�p�O��-�oǔ9� �v����8@�
4
+ ����f�)i XG��%�8�V)��3��6}�gS�@