From 906557d2ec7f0e1b49d978e8750fae9129dd3231 Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Thu, 10 Sep 2020 04:38:19 +0700 Subject: [PATCH] :hammer: Update regex for WP Duplicator plugin installer-log --- app/finders/interesting_findings/duplicator_installer_log.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/finders/interesting_findings/duplicator_installer_log.rb b/app/finders/interesting_findings/duplicator_installer_log.rb index 7adc5b05..83a9b263 100644 --- a/app/finders/interesting_findings/duplicator_installer_log.rb +++ b/app/finders/interesting_findings/duplicator_installer_log.rb @@ -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