Use Vulnerable when lfi
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user