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:
@@ -52,6 +52,11 @@ describe WpVersion do
|
||||
@fixture = fixtures_dir + "/invalid_version.htm"
|
||||
@expected = nil
|
||||
end
|
||||
|
||||
it "should return 3.5" do
|
||||
@fixture = fixtures_dir + "/3.5_minified.htm"
|
||||
@expected = "3.5"
|
||||
end
|
||||
end
|
||||
|
||||
describe "#find_from_rss_generator" do
|
||||
|
||||
Reference in New Issue
Block a user