Bugfix in Versiondetection. Without this Fix a very long string is detected as WPVersion and wpscan crashes on determing the vulns from XML because the string is used as xpath
This commit is contained in:
@@ -168,6 +168,6 @@ class WpVersion < Vulnerable
|
||||
|
||||
# Used to check if the version is correct: must contain at least one dot.
|
||||
def self.version_pattern
|
||||
'([^\r\n]+[\.][^\r\n]+)'
|
||||
'([^\r\n"\']+\.[^\r\n"\']+)'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user