Skip to content

Commit 3dec7f6

Browse files
committed
Check in sysnative if wow64
1 parent 2dc4faa commit 3dec7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/local/nvidia_nvsvc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ def check
9292
end
9393

9494
if sysinfo['Architecture'] =~ /WOW64/i
95-
# Unable to check the file in System32 (Need to add a DisableWOW64FSRedirection option to meterp!)
96-
return Exploit::CheckCode::Detected
95+
path = svc['Command'].gsub('"','').strip
96+
path.gsub!("system32","sysnative")
9797
else
9898
path = svc['Command'].gsub('"','').strip
9999
end

0 commit comments

Comments
 (0)