Fix sock_sendpage
parent
46b678e9d2
commit
3f40342ac5
|
@ -66,7 +66,7 @@ class Metasploit4 < Msf::Exploit::Local
|
|||
OptString.new("WritableDir", [ true, "A directory where we can write files (must not be mounted noexec)", "/tmp" ]),
|
||||
])
|
||||
register_options([
|
||||
OptBool.new("DEBUG", [ true, "Make the exploit executable be verbose about what it's doing", false ]),
|
||||
OptBool.new("DEBUG_EXPLOIT", [ true, "Make the exploit executable be verbose about what it's doing", false ]),
|
||||
])
|
||||
end
|
||||
|
||||
|
@ -85,7 +85,7 @@ class Metasploit4 < Msf::Exploit::Local
|
|||
#endif
|
||||
|
|
||||
current_task_struct_h(sc)
|
||||
if datastore["DEBUG"]
|
||||
if datastore["DEBUG_EXPLOIT"]
|
||||
cparser.parse "#define DEBUG\n"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue