Skip to content

Commit 3f40342

Browse files
committed
Fix sock_sendpage
1 parent 46b678e commit 3f40342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/linux/local/sock_sendpage.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def initialize(info={})
6666
OptString.new("WritableDir", [ true, "A directory where we can write files (must not be mounted noexec)", "/tmp" ]),
6767
])
6868
register_options([
69-
OptBool.new("DEBUG", [ true, "Make the exploit executable be verbose about what it's doing", false ]),
69+
OptBool.new("DEBUG_EXPLOIT", [ true, "Make the exploit executable be verbose about what it's doing", false ]),
7070
])
7171
end
7272

@@ -85,7 +85,7 @@ def exploit
8585
#endif
8686
|
8787
current_task_struct_h(sc)
88-
if datastore["DEBUG"]
88+
if datastore["DEBUG_EXPLOIT"]
8989
cparser.parse "#define DEBUG\n"
9090
end
9191

0 commit comments

Comments
 (0)