Skip to content

Commit 1401a61

Browse files
committed
Land rapid7#6998, Fix rapid7#6984 Undefined method 'winver' in ms10_092_schelevator
2 parents fec2301 + 2b85b21 commit 1401a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/local/ms10_092_schelevator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def exploit
8585
end
8686

8787
if check == Exploit::CheckCode::Safe
88-
print_error("#{winver} is not vulnerable.")
88+
print_error("#{sysinfo["OS"]} is not vulnerable.")
8989
return
9090
end
9191

0 commit comments

Comments
 (0)