no space required

bug/bundler_fix
Christian Mehlmauer 2015-01-08 23:43:06 +01:00
parent f7eb9a6cf8
commit 14b1d8dc5f
No known key found for this signature in database
GPG Key ID: BCFF4FA966BC32C7
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ module Msf::HTTP::Wordpress::Version
# try to extract version from readme
# Example line:
# Stable tag: 2.6.6
version = res.body.to_s[/(?:stable tag|version):\s+(?!trunk)([0-9a-z.-]+)/i, 1]
version = res.body.to_s[/(?:stable tag|version):\s*(?!trunk)([0-9a-z.-]+)/i, 1]
# readme present, but no version number
return Msf::Exploit::CheckCode::Detected if version.nil?