🔨 Update regex for WP Duplicator plugin installer-log

This commit is contained in:
Dwi Siswanto
2020-09-10 04:38:19 +07:00
parent c1e278ea80
commit 906557d2ec

View File

@@ -9,7 +9,7 @@ module WPScan
def aggressive(_opts = {})
path = 'installer-log.txt'
return unless /DUPLICATOR INSTALL-LOG/.match?(target.head_and_get(path).body)
return unless /DUPLICATOR(?:-(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