Skip to content

Commit eac38bf

Browse files
committed
Update the size available for native upload
1 parent 285ee66 commit eac38bf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

modules/exploits/windows/smb/psexec.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ def initialize(info = {})
6868
'Targets' => [
6969
[ 'Automatic', { 'Arch' => [ARCH_X86, ARCH_X64] } ],
7070
[ 'PowerShell', { 'Arch' => [ARCH_X86, ARCH_X64] } ],
71-
[ 'Native upload', { 'Arch' => [ARCH_X86, ARCH_X64] } ],
71+
[ 'Native upload', { # upload a service executable
72+
'Arch' => [ARCH_X86, ARCH_X64],
73+
'Payload' => { 'Space' => 2 ** 30 } # service executables place the payload within a segment, 1GiB is a practical max in many cases
74+
} ],
7275
[ 'MOF upload', { 'Arch' => [ARCH_X86, ARCH_X64] } ],
7376
[ 'Command', { 'Arch' => [ARCH_CMD], 'Payload' => { 'Space' => 8191 } } ]
7477
],

0 commit comments

Comments
 (0)