This commit is contained in:
erwanlr
2021-01-29 13:34:39 +01:00
parent fa3005f2b7
commit 11f35d86ff
3 changed files with 27 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ module WPScan
class KnownLocations < CMSScanner::Finders::Finder
include CMSScanner::Finders::Finder::Enumerator
SQL_PATTERN = /(?:DROP|(?:UN)?LOCK|CREATE) TABLE|INSERT INTO/.freeze
SQL_PATTERN = /(?:DROP|(?:UN)?LOCK|CREATE|ALTER) (?:TABLE|DATABASE)|INSERT INTO/.freeze
# @param [ Hash ] opts
# @option opts [ String ] :list