Skip to content

Commit 8b51877

Browse files
committed
Dont fail_with on check
1 parent 02915c7 commit 8b51877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/local/ms_ndproxy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def check
294294

295295
handle = open_device("\\\\.\\NDProxy")
296296
if handle.nil?
297-
fail_with(Failure::NoTarget, "\\\\.\\NDProxy device not found")
297+
return Exploit::CheckCode::Safe
298298
end
299299
session.railgun.kernel32.CloseHandle(handle)
300300

0 commit comments

Comments
 (0)