Skip to content

Commit 75de792

Browse files
committed
Add a basic check
1 parent fce564c commit 75de792

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/exploits/windows/local/ntapphelpcachecontrol.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ def upload_exploit
121121
)
122122
end
123123

124+
def check
125+
if sysinfo['OS'] =~ /Windows 8/
126+
return Exploit::CheckCode::Appears
127+
end
128+
129+
Exploit::CheckCode::Safe
130+
end
131+
124132
def exploit
125133
print_status("Uploading the payload DLL")
126134
upload_payload

0 commit comments

Comments
 (0)