Use Vulnerable when lfi

This commit is contained in:
Takah1ro
2024-08-07 08:50:42 +09:00
parent 92e2694ac5
commit 4e99e7dfe7
@@ -120,6 +120,7 @@ class MetasploitModule < Msf::Exploit::Remote
when 'LFI'
@file_content = lfi
return Exploit::CheckCode::Safe if @file_content.nil?
return Exploit::CheckCode::Vulnerable
end
Exploit::CheckCode::Detected
end