Removes Changelog detection
This commit is contained in:
@@ -117,10 +117,6 @@ describe WPScan::Model::WpItem do
|
||||
xit
|
||||
end
|
||||
|
||||
describe '#changelog_url' do
|
||||
xit
|
||||
end
|
||||
|
||||
describe '#directory_listing?' do
|
||||
xit
|
||||
end
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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, /.*/)
|
||||
|
||||
Reference in New Issue
Block a user