🔨 Update regex

This commit is contained in:
Dwi Siswanto
2020-09-10 17:30:36 +07:00
parent 906557d2ec
commit 20eb2d825d

View File

@@ -9,7 +9,7 @@ module WPScan
def aggressive(_opts = {})
path = 'installer-log.txt'
return unless /DUPLICATOR(?:-(PRO|LITE):)? INSTALL-LOG/i.match?(target.head_and_get(path).body)
return unless /DUPLICATOR(-|\s)?(PRO|LITE)?:? INSTALL-LOG/i.match?(target.head_and_get(path).body)
Model::DuplicatorInstallerLog.new(target.url(path), confidence: 100, found_by: DIRECT_ACCESS)
end