Skip to content

Commit 255ab5c

Browse files
authored
Change some messages from vprint to print werkzeug_debug_rce.rb
1 parent 8ad38f1 commit 255ab5c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/exploits/multi/http/werkzeug_debug_rce.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,21 +309,21 @@ def check
309309
return Exploit::CheckCode::Unknown
310310
end
311311
unless match[:evalex_enabled]
312-
vprint_error 'Debugger does not allow code execution'
312+
print_error 'Debugger does not allow code execution'
313313
return Exploit::CheckCode::Safe # blud
314314
end
315-
vprint_status 'Debugger allows code execution'
315+
print_status 'Debugger allows code execution'
316316
if match[:pin_required]
317-
vprint_warning 'Debugger requires authentication'
317+
print_warning 'Debugger requires authentication'
318318
return Exploit::CheckCode::Detected
319319
end
320-
vprint_status 'Debugger does not require authentication'
320+
print_status 'Debugger does not require authentication'
321321
# Now check whether code execution is possible by evaluating '1'
322322
unless check_code_exec(match[:secret], match[:frame] || 0)
323323
vprint_error 'Attempted code execution failed'
324324
Exploit::CheckCode::Safe
325325
end
326-
vprint_status 'Code execution was successful'
326+
print_status 'Code execution was successful'
327327
Exploit::CheckCode::Vulnerable
328328
end
329329

0 commit comments

Comments
 (0)