Removes Changelog detection

This commit is contained in:
erwanlr
2019-03-28 13:40:58 +00:00
parent 1cf330b389
commit 0aa1f20d47
11 changed files with 2 additions and 32 deletions

View File

@@ -117,10 +117,6 @@ describe WPScan::Model::WpItem do
xit
end
describe '#changelog_url' do
xit
end
describe '#directory_listing?' do
xit
end

View File

@@ -1,7 +1,6 @@
[+] WordPress theme in use: test
| Location: http://ex.lo/wp-content/themes/test/
| Readme: http://ex.lo/wp-content/themes/test/readme.txt
| Changelog: http://ex.lo/wp-content/themes/test/changelog.txt
| Style URL: http://ex.lo/wp-content/themes/test/style.css
| Style Name: Twenty Fifteen
| Style URI: https://wordpress.org/themes/twentyfifteen

View File

@@ -6,7 +6,6 @@
"last_updated": null,
"outdated": false,
"readme_url": "http://ex.lo/wp-content/themes/test/readme.txt",
"changelog_url": "http://ex.lo/wp-content/themes/test/changelog.txt",
"directory_listing": false,
"error_log_url": null,
"style_url": "http://ex.lo/wp-content/themes/test/style.css",

View File

@@ -1,7 +1,6 @@
[+] WordPress theme in use: test
| Location: http://ex.lo/wp-content/themes/test/
| Readme: http://ex.lo/wp-content/themes/test/readme.txt
| Changelog: http://ex.lo/wp-content/themes/test/changelog.txt
| Style URL: http://ex.lo/wp-content/themes/test/style.css
| Style Name: Twenty Fifteen
| Style URI: https://wordpress.org/themes/twentyfifteen

View File

@@ -6,7 +6,6 @@
"last_updated": null,
"outdated": false,
"readme_url": "http://ex.lo/wp-content/themes/test/readme.txt",
"changelog_url": "http://ex.lo/wp-content/themes/test/changelog.txt",
"directory_listing": false,
"error_log_url": null,
"style_url": "http://ex.lo/wp-content/themes/test/style.css",

View File

@@ -1,7 +1,6 @@
[+] WordPress theme in use: dignitas-themes
| Location: http://ex.lo/wp-content/themes/dignitas-themes/
| Readme: http://ex.lo/wp-content/themes/dignitas-themes/readme.txt
| Changelog: http://ex.lo/wp-content/themes/dignitas-themes/changelog.txt
| Style URL: http://ex.lo/wp-content/themes/dignitas-themes/style.css
| Style Name: Twenty Fifteen
| Style URI: https://wordpress.org/themes/twentyfifteen

View File

@@ -6,7 +6,6 @@
"last_updated": null,
"outdated": false,
"readme_url": "http://ex.lo/wp-content/themes/dignitas-themes/readme.txt",
"changelog_url": "http://ex.lo/wp-content/themes/dignitas-themes/changelog.txt",
"directory_listing": false,
"error_log_url": null,
"style_url": "http://ex.lo/wp-content/themes/dignitas-themes/style.css",

View File

@@ -22,7 +22,7 @@ shared_examples 'App::Views::MainTheme' do
before do
expect(target).to receive(:content_dir).at_least(1).and_return('wp-content')
# Stub all requests to 200, to detect a readme and changelog.
# Stub all requests to 200, to detect the readme.
# Detection of the error_log will fail as the empty body won't match the patterns
stub_request(:head, /.*/)
stub_request(:get, /.*/)