Merge branch 'master' of github.com:wpscanteam/wpscan
This commit is contained in:
@@ -64,7 +64,7 @@ class WpItem < Vulnerable
|
|||||||
else
|
else
|
||||||
raise("Unknown type #@type")
|
raise("Unknown type #@type")
|
||||||
end
|
end
|
||||||
f = File.readlines(file).grep(/^#{Regexp.escape(@name)}$/i)
|
f = File.readlines(file, encoding: 'UTF-8').grep(/^#{Regexp.escape(@name)}$/i)
|
||||||
f.empty? ? false : true
|
f.empty? ? false : true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user