metasploit-payloads 2.0.147 → 2.0.148

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -3
  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/dump_sam.x64.debug.dll +0 -0
  7. data/data/meterpreter/dump_sam.x64.dll +0 -0
  8. data/data/meterpreter/dump_sam.x86.debug.dll +0 -0
  9. data/data/meterpreter/dump_sam.x86.dll +0 -0
  10. data/data/meterpreter/elevator.x64.debug.dll +0 -0
  11. data/data/meterpreter/elevator.x64.dll +0 -0
  12. data/data/meterpreter/elevator.x86.debug.dll +0 -0
  13. data/data/meterpreter/elevator.x86.dll +0 -0
  14. data/data/meterpreter/ext_server_bofloader.x64.debug.dll +0 -0
  15. data/data/meterpreter/ext_server_bofloader.x64.dll +0 -0
  16. data/data/meterpreter/ext_server_bofloader.x86.debug.dll +0 -0
  17. data/data/meterpreter/ext_server_bofloader.x86.dll +0 -0
  18. data/data/meterpreter/ext_server_espia.x64.debug.dll +0 -0
  19. data/data/meterpreter/ext_server_espia.x64.dll +0 -0
  20. data/data/meterpreter/ext_server_espia.x86.debug.dll +0 -0
  21. data/data/meterpreter/ext_server_espia.x86.dll +0 -0
  22. data/data/meterpreter/ext_server_extapi.x64.debug.dll +0 -0
  23. data/data/meterpreter/ext_server_extapi.x64.dll +0 -0
  24. data/data/meterpreter/ext_server_extapi.x86.debug.dll +0 -0
  25. data/data/meterpreter/ext_server_extapi.x86.dll +0 -0
  26. data/data/meterpreter/ext_server_incognito.x64.debug.dll +0 -0
  27. data/data/meterpreter/ext_server_incognito.x64.dll +0 -0
  28. data/data/meterpreter/ext_server_incognito.x86.debug.dll +0 -0
  29. data/data/meterpreter/ext_server_incognito.x86.dll +0 -0
  30. data/data/meterpreter/ext_server_kiwi.x64.debug.dll +0 -0
  31. data/data/meterpreter/ext_server_kiwi.x64.dll +0 -0
  32. data/data/meterpreter/ext_server_kiwi.x86.debug.dll +0 -0
  33. data/data/meterpreter/ext_server_kiwi.x86.dll +0 -0
  34. data/data/meterpreter/ext_server_lanattacks.x64.debug.dll +0 -0
  35. data/data/meterpreter/ext_server_lanattacks.x64.dll +0 -0
  36. data/data/meterpreter/ext_server_lanattacks.x86.debug.dll +0 -0
  37. data/data/meterpreter/ext_server_lanattacks.x86.dll +0 -0
  38. data/data/meterpreter/ext_server_peinjector.x64.debug.dll +0 -0
  39. data/data/meterpreter/ext_server_peinjector.x64.dll +0 -0
  40. data/data/meterpreter/ext_server_peinjector.x86.debug.dll +0 -0
  41. data/data/meterpreter/ext_server_peinjector.x86.dll +0 -0
  42. data/data/meterpreter/ext_server_powershell.x64.debug.dll +0 -0
  43. data/data/meterpreter/ext_server_powershell.x64.dll +0 -0
  44. data/data/meterpreter/ext_server_powershell.x86.debug.dll +0 -0
  45. data/data/meterpreter/ext_server_powershell.x86.dll +0 -0
  46. data/data/meterpreter/ext_server_priv.x64.debug.dll +0 -0
  47. data/data/meterpreter/ext_server_priv.x64.dll +0 -0
  48. data/data/meterpreter/ext_server_priv.x86.debug.dll +0 -0
  49. data/data/meterpreter/ext_server_priv.x86.dll +0 -0
  50. data/data/meterpreter/ext_server_python.x64.debug.dll +0 -0
  51. data/data/meterpreter/ext_server_python.x64.dll +0 -0
  52. data/data/meterpreter/ext_server_python.x86.debug.dll +0 -0
  53. data/data/meterpreter/ext_server_python.x86.dll +0 -0
  54. data/data/meterpreter/ext_server_sniffer.x64.dll +0 -0
  55. data/data/meterpreter/ext_server_sniffer.x86.dll +0 -0
  56. data/data/meterpreter/ext_server_stdapi.php +28 -13
  57. data/data/meterpreter/ext_server_stdapi.x64.debug.dll +0 -0
  58. data/data/meterpreter/ext_server_stdapi.x64.dll +0 -0
  59. data/data/meterpreter/ext_server_stdapi.x86.debug.dll +0 -0
  60. data/data/meterpreter/ext_server_stdapi.x86.dll +0 -0
  61. data/data/meterpreter/ext_server_unhook.x64.debug.dll +0 -0
  62. data/data/meterpreter/ext_server_unhook.x64.dll +0 -0
  63. data/data/meterpreter/ext_server_unhook.x86.debug.dll +0 -0
  64. data/data/meterpreter/ext_server_unhook.x86.dll +0 -0
  65. data/data/meterpreter/ext_server_winpmem.x64.debug.dll +0 -0
  66. data/data/meterpreter/ext_server_winpmem.x64.dll +0 -0
  67. data/data/meterpreter/ext_server_winpmem.x86.debug.dll +0 -0
  68. data/data/meterpreter/ext_server_winpmem.x86.dll +0 -0
  69. data/data/meterpreter/metsrv.x64.debug.dll +0 -0
  70. data/data/meterpreter/metsrv.x64.dll +0 -0
  71. data/data/meterpreter/metsrv.x86.debug.dll +0 -0
  72. data/data/meterpreter/metsrv.x86.dll +0 -0
  73. data/data/meterpreter/screenshot.x64.debug.dll +0 -0
  74. data/data/meterpreter/screenshot.x64.dll +0 -0
  75. data/data/meterpreter/screenshot.x86.debug.dll +0 -0
  76. data/data/meterpreter/screenshot.x86.dll +0 -0
  77. data/lib/metasploit-payloads/version.rb +1 -1
  78. data.tar.gz.sig +1 -1
  79. metadata +2 -2
  80. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81cfde1ea52fcda95eb78fcf78f124e872577e58957110c41e0650a662d230ec
4
- data.tar.gz: 976224c2571cef9fec88b0aa77519f857287688e790ff835c029eafde6ce3121
3
+ metadata.gz: 20851bb98a3cde9efa3f4034f8dc91aea78227c0a2045184ca2aa220a4f83299
4
+ data.tar.gz: de392b84384a87cad25930a1e8b2d4d29c87847a1194753a58f6756eacb5e12b
5
5
  SHA512:
6
- metadata.gz: f94ce694e81a6d5655da61956ed39cbd1a40dc9461c13a7c1780a944034e5dbf01986b81b05c741650dc94cf0b59788d9ae7d5b1ee87ec7883358cf85e295f31
7
- data.tar.gz: 6c0508bf78c348d8214cb9094dad6b9d41e23c403c72eb3d44e1e38cdb87e2f825b8f2c22e0dfc0ba3b0db6222d5e8b113c9869873c3c75db34d5fe657bcea3b
6
+ metadata.gz: f18f1787b6b38a0f87c565640200151ebf05ffdfb46f84eeddc8abae8b52c3d6e34f2872bf5cbcb8e3a00c775507b281a17e485cfe8732c4e6633316f60bd051
7
+ data.tar.gz: 2fabc289a77db3f729b3abc4c5cd0033ddf460b1964e2c17320957a3a01124f61f2e08852ecccc1c5f2938e45a06df9ebab37f11bd1e857290ab502999538782
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- ����'Q��˓�q�&�������5{y��if���5�~�)@��8��)U��e�����ZD��"������LJ@|�9c�ҭοQ�%�.��rjJ2Y��#��ja�̛rtU=����
2
- ��„�oUOay�����q�s=���ց�ь��# �*ѓ�bm�)�� 4����҈�
3
- ���?����tˊ�3��لۼuVݰxֲ1�o���+�ݣ��h#����
1
+ K9��/�yl�z>��<���U!�}���(Dg8w���^E��� 䁼r<�<��}�%)&1] �h��"�$ "��=�#����rﺡ������d�=7����kV��]#�\xt�:�������f
2
+ I?"J1��h���;�ͅo�&�-�.�t&
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -21,7 +21,7 @@ define("TLV_TYPE_FILE_MODE", TLV_META_TYPE_STRING | 1203);
21
21
  define("TLV_TYPE_FILE_SIZE", TLV_META_TYPE_UINT | 1204);
22
22
  define("TLV_TYPE_FILE_HASH", TLV_META_TYPE_RAW | 1206);
23
23
 
24
- define("TLV_TYPE_STAT_BUF32", TLV_META_TYPE_COMPLEX | 1220);
24
+ define("TLV_TYPE_STAT_BUF", TLV_META_TYPE_COMPLEX | 1221);
25
25
 
26
26
  define("TLV_TYPE_SEARCH_RECURSE", TLV_META_TYPE_BOOL | 1230);
27
27
  define("TLV_TYPE_SEARCH_GLOB", TLV_META_TYPE_STRING | 1231);
@@ -429,25 +429,40 @@ function add_stat_buf($path) {
429
429
  if ($st) {
430
430
  $st_buf = "";
431
431
  $st_buf .= pack("V", $st['dev']);
432
- $st_buf .= pack("v", $st['ino']);
433
- $st_buf .= pack("v", $st['mode']);
434
- $st_buf .= pack("v", 0);
435
- $st_buf .= pack("v", $st['nlink']);
436
- $st_buf .= pack("v", $st['uid']);
437
- $st_buf .= pack("v", $st['gid']);
432
+ $st_buf .= pack("V", $st['mode']);
433
+ $st_buf .= pack("V", $st['nlink']);
434
+ $st_buf .= pack("V", $st['uid']);
435
+ $st_buf .= pack("V", $st['gid']);
438
436
  $st_buf .= pack("V", $st['rdev']);
439
- $st_buf .= pack("V", $st['size']);
440
- $st_buf .= pack("V", $st['ctime']);
441
- $st_buf .= pack("V", $st['atime']);
442
- $st_buf .= pack("V", $st['mtime']);
437
+
438
+ $st_buf .= pack_p($st['ino']);
439
+ $st_buf .= pack_p($st['size']);
440
+ $st_buf .= pack_p($st['atime']);
441
+ $st_buf .= pack_p($st['mtime']);
442
+ $st_buf .= pack_p($st['ctime']);
443
+
443
444
  $st_buf .= pack("V", $st['blksize']);
444
445
  $st_buf .= pack("V", $st['blocks']);
445
- return create_tlv(TLV_TYPE_STAT_BUF32, $st_buf);
446
+
447
+ return create_tlv(TLV_TYPE_STAT_BUF, $st_buf);
446
448
  }
447
449
  return false;
448
450
  }
449
451
  }
450
452
 
453
+ if(!function_exists('pack_p')) {
454
+ # Implements pack('P', $value) - but backwards compatible to PHP4.x
455
+ # https://www.php.net/manual/en/function.pack.php
456
+ # Directive:
457
+ # P unsigned long long (always 64 bit, little endian byte order)
458
+ function pack_p($value) {
459
+ $first_half = pack('V', $value & 0xffffffff);
460
+ $second_half = pack('V', ($value >> 32) & 0xffffffff);
461
+
462
+ return $first_half . $second_half;
463
+ }
464
+ }
465
+
451
466
  if (!function_exists('resolve_host')) {
452
467
  function resolve_host($hostname, $family) {
453
468
  /* requires PHP >= 5 */
@@ -655,7 +670,7 @@ function stdapi_fs_ls($req, &$pkt) {
655
670
  packet_add_tlv($pkt, create_tlv(TLV_TYPE_FILE_PATH, $path . DIRECTORY_SEPARATOR . $file));
656
671
  $st_buf = add_stat_buf($path . DIRECTORY_SEPARATOR . $file);
657
672
  if (!$st_buf) {
658
- $st_buf = create_tlv(TLV_TYPE_STAT_BUF32, '');
673
+ $st_buf = create_tlv(TLV_TYPE_STAT_BUF, '');
659
674
  }
660
675
  packet_add_tlv($pkt, $st_buf);
661
676
  }
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.147'
3
+ VERSION = '2.0.148'
4
4
 
5
5
  def self.version
6
6
  VERSION
data.tar.gz.sig CHANGED
@@ -1 +1 @@
1
- ���F�ee��\��3���a)GG+<��
1
+ rs(�s�%BC����돥Չ��,�-5��q�'�� Ƶ�U���R����؋�;ŌD��,K�1��^�=�$t�D��=�u`��Dp7Y��Jr�,�&�7�����~*�D��ʴT�F���6�� �`��X��� vqOS�ºpUi�4�. �(�ߒz Ji*�e�l�%e��%��錋00^��2<��!��R�g* '34��$[5�Hf����ܸ>M]qy����}DX��}eg��g��
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.147
4
+ version: 2.0.148
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: 2023-06-28 00:00:00.000000000 Z
99
+ date: 2023-06-30 00:00:00.000000000 Z
100
100
  dependencies:
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: rake
metadata.gz.sig CHANGED
Binary file