language stringlengths 0 24 | filename stringlengths 9 214 | code stringlengths 99 9.93M |
|---|---|---|
HTML | wpscan/spec/fixtures/target/platform/wordpress/detection/default.html | <meta name='robots' content='noindex,follow' />
<link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' />
<link rel='stylesheet' id='genericons-css' href='http://ex.lo/wordpress-4.0/wp-co... |
HTML | wpscan/spec/fixtures/target/platform/wordpress/detection/meta_generator.html | <meta name="description" content="spec file"/>
<link rel="canonical" href="http://wp.lab/" />
<meta property="og:type" content="website" />
<meta name="generator" content="Powered by Rspec - drag and drop page builder for WordPress."/> |
HTML | wpscan/spec/fixtures/target/platform/wordpress/detection/mu_plugins.html | <link rel='stylesheet' id='NextGEN-css' href='http://ex.lo/wordpress-4.0/wp-content/mu-plugins/nextgen-gallery/css/nggallery.css?ver=1.0.0' type='text/css' media='screen' /> |
HTML | wpscan/spec/fixtures/target/platform/wordpress/detection/not_wp.html | <head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1" />
<meta name="HandheldFriendly" content="true"/>
<link rel="canonical" href="https:/... |
HTML | wpscan/spec/fixtures/target/platform/wordpress/detection/only_scripts.html | <script type='text/javascript' src='http://ex.lo/wordpress-4.0/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script> |
PHP | wpscan/spec/fixtures/target/platform/wordpress/detection/wp-admin-install.php | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofollow" />
<title>WordPress › Installation</title>
<link rel... |
PHP | wpscan/spec/fixtures/target/platform/wordpress/detection/wp-login.php | <!DOCTYPE html>
<!--[if IE 8]>
<html xmlns="http://www.w3.org/1999/xhtml" class="ie8" lang="en-US">
<![endif]-->
<!--[if !(IE 8) ]><!-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Log... |
HTML | wpscan/spec/fixtures/target/platform/wordpress/detection/wp_admin.html | <script data-cfasync='false'>
//<![CDATA[
_SHR_SETTINGS = {"endpoints":{"local_recs_url":"https:\/\/ex.lo\/wp-admin\/admin-ajax.php?action=shareaholic_permalink_related","ajax_url":"http:\/\/ex.lo\/wp-admin\/admin-ajax.php"},"url_components":{"year":"2019","monthnum":"03","day":"16","hour":"21","minute":"02","sec... |
HTML | wpscan/spec/fixtures/target/platform/wordpress/detection/wp_includes.html | <script type='text/javascript' src='http://ex.lo/wordpress-4.0/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://ex.lo/wordpress-4.0/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://ex.lo/wordpress-4.0/... |
HTML | wpscan/spec/fixtures/target/platform/wordpress/detection/wp_json_oembed.html | <link rel="alternate" type="application/json+oembed" href="https://ex.lo/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fex.lo%2F" />
<link rel="alternate" type="text/xml+oembed" href="http://ex.lo/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fex.lo%2F&format=xml" /> |
HTML | wpscan/spec/fixtures/target/platform/wordpress/maybe_add_cookies/vjs.html | <html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex">
</head>
<body>
<script>
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; exp... |
HTML | wpscan/spec/fixtures/target/platform/wordpress/wordpress_hosted/match_href.html | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>WP Lab</title>
<link rel... |
HTML | wpscan/spec/fixtures/target/platform/wordpress/wordpress_hosted/match_src.html | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>WP Lab</title>
<script t... |
HTML | wpscan/spec/fixtures/target/platform/wordpress/wordpress_hosted/no_match.html | <link rel="pingback" href="http://ex.lo/xmlrpc.php" />
<link rel="stylesheet" href="https://a.cloudfront.net/wp-content/themes/vip/lab/style.css" type="text/css" media="screen" /> |
Ruby | wpscan/spec/lib/browser_spec.rb | # frozen_string_literal: true
describe WPScan::Browser do
subject(:browser) { described_class.instance(options) }
let(:options) { {} }
before { described_class.reset }
describe '#user_agent' do
context 'when not set' do
its(:user_agent) { should eq "WPScan v#{WPScan::VERSION} (https:... |
Ruby | wpscan/spec/lib/helper_spec.rb | # frozen_string_literal: true
describe '#classify_slug' do
{
'slug' => :Slug,
'slug-usual' => :SlugUsual,
'12-slug' => :D_12Slug,
'slug.s' => :SlugS,
'slug yolo $' => :SlugYolo,
'slug $ ab.cd/12' => :SlugAbCd12
}.each do |slug, expected_symbol|
context "when #{slug}" do
it "return... |
Ruby | wpscan/spec/lib/target_spec.rb | # frozen_string_literal: true
describe WPScan::Target do
subject(:target) { described_class.new(url, opts) }
let(:url) { 'http://ex.lo' }
let(:opts) { {} }
it_behaves_like WPScan::Target::Platform::WordPress
describe 'xmlrpc' do
before do
allow(target).to receive(:sub_dir)
exp... |
Ruby | wpscan/spec/lib/vulnerability_spec.rb | # frozen_string_literal: true
describe WPScan::Vulnerability do
subject(:vuln) { described_class.new(title, references: references) }
let(:title) { 'Test Vuln' }
let(:references) { {} }
it_behaves_like WPScan::References
describe '#load_from_json' do
# Handled in spec/app/models/wp_version_spec#... |
Ruby | wpscan/spec/lib/wpscan_spec.rb | # frozen_string_literal: true
describe WPScan do
it 'has a version number' do
expect(WPScan::VERSION).not_to be nil
end
describe '#app_name' do
it 'returns the overriden string' do
expect(WPScan.app_name).to eql 'wpscan'
end
end
end |
Ruby | wpscan/spec/lib/db/fingerprints_spec.rb | # frozen_string_literal: true
describe WPScan::DB::Fingerprints do
describe '#unique_fingerprints' do
# Handled in #wp_unique_fingerprints
end
describe '.wp_fingerprints' do
it 'returns the expected value' do
expect(described_class.wp_fingerprints).to eql(
'path-1' => {
'hash-1' ... |
Ruby | wpscan/spec/lib/db/plugins_spec.rb | # frozen_string_literal: true
describe WPScan::DB::Plugins do
subject(:plugins) { described_class }
describe '#all_slugs' do
its(:all_slugs) { should eql %w[no-vulns-popular vulnerable-not-popular] }
end
describe '#popular_slugs' do
its(:popular_slugs) { should eql %w[no-vulns-popular] }
end
des... |
Ruby | wpscan/spec/lib/db/plugin_spec.rb | # frozen_string_literal: true
describe WPScan::DB::Plugin do
describe '#vulnerabilities' do
# Handled in spec/app/models/plugin_spec
end
end |
Ruby | wpscan/spec/lib/db/themes_spec.rb | # frozen_string_literal: true
describe WPScan::DB::Themes do
subject(:themes) { described_class }
describe '#all_slugs' do
its(:all_slugs) { should eql %w[no-vulns-popular vulnerable-not-popular dignitas-themes yaaburnee-themes] }
end
describe '#popular_slugs' do
its(:popular_slugs) { should eql %w[n... |
Ruby | wpscan/spec/lib/db/theme_spec.rb | # frozen_string_literal: true
describe WPScan::DB::Theme do
describe '#vulnerabilities' do
# Handled in spec/app/models/theme_spec
end
end |
Ruby | wpscan/spec/lib/db/vuln_api_spec.rb | # frozen_string_literal: true
describe WPScan::DB::VulnApi do
subject(:api) { described_class }
let(:request_headers) do
{
'User-Agent' => WPScan::Browser.instance.default_user_agent,
'Authorization' => "Token token=#{api.token}"
}
end
before do
# Reset the default_request_params
... |
Ruby | wpscan/spec/lib/db/wp_items_spec.rb | # frozen_string_literal: true
describe WPScan::DB::WpItems do
# Handled in plugins_spec & themes_spec
end |
Ruby | wpscan/spec/lib/db/wp_item_spec.rb | # frozen_string_literal: true
describe WPScan::DB::WpItem do
describe '#vulnerabilities' do
# Handled in spec/app/models/plugin_spec
end
end |
Ruby | wpscan/spec/lib/db/wp_version_spec.rb | # frozen_string_literal: true
describe WPScan::DB::Version do
describe '#vulnerabilities' do
# Handled in spec/app/models/wp_version_spec
end
end |
Ruby | wpscan/spec/lib/db/dynamic_finders/base_spec.rb | # frozen_string_literal: true
describe WPScan::DB::DynamicFinders::Base do
subject(:dynamic_finders) { described_class }
# Handled in spec/lib/db/dynamic_finders/plugin and wordpress
end |
Ruby | wpscan/spec/lib/db/dynamic_finders/plugin_spec.rb | # frozen_string_literal: true
describe WPScan::DB::DynamicFinders::Plugin do
subject(:dynamic_finders) { described_class }
describe '.finders_configs' do
context 'when the given class is not allowed' do
it 'returns an empty hash' do
expect(subject.finder_configs('aaaa')).to eql({})
end
... |
Ruby | wpscan/spec/lib/db/dynamic_finders/theme_spec.rb | # frozen_string_literal: true
describe WPScan::DB::DynamicFinders::Theme do
subject(:dynamic_finders) { described_class }
# Most of it is done in the Plugin specs
xit
end |
Ruby | wpscan/spec/lib/db/dynamic_finders/wordpress_spec.rb | # frozen_string_literal: true
describe WPScan::DB::DynamicFinders::Wordpress do
subject(:dynamic_finders) { described_class }
xit
end |
Ruby | wpscan/spec/lib/finders/dynamic_finder/plugin_version_spec.rb | # frozen_string_literal: true
# All Plugin Dynamic Finders returning a Version are tested here.
# When adding one to the spec/fixtures/db/dynamic_finder.yml, a few files have
# to be edited/created
#
# - spec/fixtures/dynamic_finder/expected.yml with the expected result/s
# - Then, depending on the finder class used: ... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/theme_version_spec.rb | # frozen_string_literal: true
# All Theme Dynamic Finders returning a Version are tested here.
# When adding one to the spec/fixtures/db/dynamic_finder.yml, a few files have
# to be edited/created
#
# - spec/fixtures/dynamic_finder/expected.yml with the expected result/s
# - Then, depending on the finder class used: s... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/wp_version_spec.rb | # frozen_string_literal: true
expected_all = df_expected_all['wordpress']
WPScan::DB::DynamicFinders::Wordpress.create_versions_finders
describe 'Try to create the finders twice' do
it 'does not raise an error when the class already exists' do
expect { WPScan::DB::DynamicFinders::Wordpress.create_versions_find... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/version/body_pattern_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::DynamicFinder::Version::BodyPattern do
module WPScan
module Finders
module Version
# Needed to be able to test the below
module Rspec
end
end
end
end
let(:finder_module) { WPScan::Finders::Version::Rspec }
let(... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/version/comment_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::DynamicFinder::Version::Comment do
module WPScan
module Finders
module Version
# Needed to be able to test the below
module Rspec
end
end
end
end
let(:finder_module) { WPScan::Finders::Version::Rspec }
let(:fin... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/version/config_parser_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::DynamicFinder::Version::ConfigParser do
module WPScan
module Finders
module Version
# Needed to be able to test the below
module Rspec
end
end
end
end
let(:finder_module) { WPScan::Finders::Version::Rspec }
let... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/version/header_pattern_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::DynamicFinder::Version::HeaderPattern do
module WPScan
module Finders
module Version
# Needed to be able to test the below
module Rspec
end
end
end
end
let(:finder_module) { WPScan::Finders::Version::Rspec }
le... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/version/javascript_var_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::DynamicFinder::Version::JavascriptVar do
module WPScan
module Finders
module Version
# Needed to be able to test the below
module Rspec
end
end
end
end
let(:finder_module) { WPScan::Finders::Version::Rspec }
le... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/version/query_parameter_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::DynamicFinder::Version::QueryParameter do
module WPScan
module Finders
module Version
# Needed to be able to test the below
module Rspec
end
end
end
end
let(:finder_module) { WPScan::Finders::Version::Rspec }
l... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/version/xpath_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::DynamicFinder::Version::Xpath do
module WPScan
module Finders
module Version
# Needed to be able to test the below
module Rspec
end
end
end
end
let(:finder_module) { WPScan::Finders::Version::Rspec }
let(:finde... |
Ruby | wpscan/spec/lib/finders/dynamic_finder/wp_items/finder_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::DynamicFinder::WpItems::Finder do
# Handled in spec/shared_examples/dynamic_finders/wp_items.rb
end |
Ruby | wpscan/spec/lib/finders/finder/wp_version/smart_url_checker_spec.rb | # frozen_string_literal: true
describe WPScan::Finders::Finder::WpVersion::SmartURLChecker do
xit
end |
Ruby | wpscan/spec/lib/typhoeus/response_spec.rb | # frozen_string_literal: true
describe Typhoeus::Response do
describe '#from_vuln_api?' do
context 'when a response from the Vuln API' do
%w[
https://wpscan.com/api/v3/plugins/wpscan
https://wpscan.com/api/v3/plugins/status-test
https://wpscan.com/api/v3/themes/test
https://... |
wpscan/spec/output/enumeration/medias/medias.cli_no_colour | [i] Medias(s) Identified:
[+] http://ex.lo/?attachment_id=1
| Found By: Attachment Brute Forcing
[+] http://ex.lo/?attachment_id=5
| Found By: Attachment Brute Forcing | |
JSON | wpscan/spec/output/enumeration/medias/medias.json | {
"medias": {
"http://ex.lo/?attachment_id=1": {
"found_by": "Attachment Brute Forcing",
"confidence": 0,
"interesting_entries": [
],
"confirmed_by": {
}
},
"http://ex.lo/?attachment_id=5": {
"found_by": "Attachment Brute Forcing",
"confidence": 0,
"... |
wpscan/spec/output/enumeration/timthumbs/no_vulns.cli_no_colour | [i] Timthumb(s) Identified:
[+] http://ex.lo/tt.php
| Found By: Known Locations
|
| Version: 2.8.14
| Found By: Bad Request
[+] http://ex.lo/tt2.php
| Found By: Known Locations
|
| Version: 2.8.14
| Found By: Bad Request | |
JSON | wpscan/spec/output/enumeration/timthumbs/no_vulns.json | {
"timthumbs": {
"http://ex.lo/tt.php": {
"found_by": "Known Locations",
"confidence": 0,
"interesting_entries": [
],
"confirmed_by": {
},
"vulnerabilities": [
],
"version": {
"number": "2.8.14",
"confidence": 0,
"found_by": "Bad Req... |
wpscan/spec/output/enumeration/timthumbs/with_vulns.cli_no_colour | [i] Timthumb(s) Identified:
[+] http://ex.lo/tt.php
| Found By: Known Locations
|
| [!] 2 vulnerabilities identified:
|
| [!] Title: Timthumb <= 2.8.13 WebShot Remote Code Execution
| Fixed in: 2.8.14
| References:
| - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-4663
| - http://s... | |
JSON | wpscan/spec/output/enumeration/timthumbs/with_vulns.json | {
"timthumbs": {
"http://ex.lo/tt.php": {
"found_by": "Known Locations",
"confidence": 0,
"interesting_entries": [
],
"confirmed_by": {
},
"vulnerabilities": [
{
"title": "Timthumb <= 2.8.13 WebShot Remote Code Execution",
"fixed_in": "2.8.14... |
wpscan/spec/output/main_theme/no_verbose.cli_no_colour | [+] WordPress theme in use: test
| Location: http://ex.lo/wp-content/themes/test/
| Readme: http://ex.lo/wp-content/themes/test/readme.txt
| Style URL: http://ex.lo/wp-content/themes/test/style.css
| Style Name: Twenty Fifteen
| Style URI: https://wordpress.org/themes/twentyfifteen
| Description: Our 2015 default... | |
JSON | wpscan/spec/output/main_theme/no_verbose.json | {
"main_theme": {
"slug": "test",
"location": "http://ex.lo/wp-content/themes/test/",
"latest_version": null,
"last_updated": null,
"outdated": false,
"readme_url": "http://ex.lo/wp-content/themes/test/readme.txt",
"directory_listing": false,
"error_log_url": null,
"style_url": "ht... |
wpscan/spec/output/main_theme/verbose.cli_no_colour | [+] WordPress theme in use: test
| Location: http://ex.lo/wp-content/themes/test/
| Readme: http://ex.lo/wp-content/themes/test/readme.txt
| Style URL: http://ex.lo/wp-content/themes/test/style.css
| Style Name: Twenty Fifteen
| Style URI: https://wordpress.org/themes/twentyfifteen
| Description: Our 2015 default... | |
JSON | wpscan/spec/output/main_theme/verbose.json | {
"main_theme": {
"slug": "test",
"location": "http://ex.lo/wp-content/themes/test/",
"latest_version": null,
"last_updated": null,
"outdated": false,
"readme_url": "http://ex.lo/wp-content/themes/test/readme.txt",
"directory_listing": false,
"error_log_url": null,
"style_url": "ht... |
wpscan/spec/output/main_theme/vulnerable.cli_no_colour | [+] 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
| Style URL: http://ex.lo/wp-content/themes/dignitas-themes/style.css
| Style Name: Twenty Fifteen
| Style URI: https://wordpress.org/themes/tw... | |
JSON | wpscan/spec/output/main_theme/vulnerable.json | {
"main_theme": {
"slug": "dignitas-themes",
"location": "http://ex.lo/wp-content/themes/dignitas-themes/",
"latest_version": null,
"last_updated": null,
"outdated": false,
"readme_url": "http://ex.lo/wp-content/themes/dignitas-themes/readme.txt",
"directory_listing": false,
"error_log... |
JSON | wpscan/spec/output/vuln_api/all_ok.json | {
"vuln_api": {
"plan": "paid",
"requests_done_during_scan": 3,
"requests_remaining": 120
}
} |
JSON | wpscan/spec/output/vuln_api/no_more_requests.json | {
"vuln_api": {
"plan": "free",
"requests_done_during_scan": 3,
"requests_remaining": 0
}
} |
wpscan/spec/output/vuln_api/no_token.cli_no_colour | [!] No WPScan API Token given, as a result vulnerability data has not been output.
[!] You can get a free API token with 25 daily requests by registering at https://wpscan.com/register | |
JSON | wpscan/spec/output/vuln_api/no_token.json | {
"vuln_api": {
"error": "No WPScan API Token given, as a result vulnerability data has not been output.\nYou can get a free API token with 25 daily requests by registering at https://wpscan.com/register"
}
} |
wpscan/spec/output/vuln_api/unlimited_requests.cli_no_colour | [+] WPScan DB API OK
| Plan: enterprise
| Requests Done (during the scan): 3
| Requests Remaining: Unlimited | |
JSON | wpscan/spec/output/vuln_api/unlimited_requests.json | {
"vuln_api": {
"plan": "enterprise",
"requests_done_during_scan": 3,
"requests_remaining": "Unlimited"
}
} |
wpscan/spec/output/wp_version/confirmed_multiples.cli_no_colour | [+] WordPress version 4.0 identified (Latest, released on 2014-09-04).
| Found By: rspec
| Confirmed By:
| Confirmed 1
| - IE1
| Confirmed 2
| - IE1
| - IE2 | |
JSON | wpscan/spec/output/wp_version/confirmed_multiples.json | {
"version": {
"number": "4.0",
"release_date": "2014-09-04",
"status": "latest",
"found_by": "rspec",
"confidence": 0,
"interesting_entries": [
],
"confirmed_by": {
"Confirmed 1": {
"confidence": 0,
"interesting_entries": [
"IE1"
]
},
... |
wpscan/spec/output/wp_version/confirmed_one.cli_no_colour | [+] WordPress version 4.0 identified (Latest, released on 2014-09-04).
| Found By: rspec
| Confirmed By: Confirmed 1
| - IE1 | |
JSON | wpscan/spec/output/wp_version/confirmed_one.json | {
"version": {
"number": "4.0",
"release_date": "2014-09-04",
"status": "latest",
"found_by": "rspec",
"confidence": 0,
"interesting_entries": [
],
"confirmed_by": {
"Confirmed 1": {
"confidence": 0,
"interesting_entries": [
"IE1"
]
}
... |
wpscan/spec/output/wp_version/not_confirmed_entries.cli_no_colour | [+] WordPress version 4.0 identified (Latest, released on 2014-09-04).
| Found By: rspec
| - IE1
| - IE2 | |
JSON | wpscan/spec/output/wp_version/not_confirmed_entries.json | {
"version": {
"number": "4.0",
"release_date": "2014-09-04",
"status": "latest",
"found_by": "rspec",
"confidence": 0,
"interesting_entries": [
"IE1",
"IE2"
],
"confirmed_by": {
},
"vulnerabilities": [
]
}
} |
JSON | wpscan/spec/output/wp_version/not_confirmed_no_entries.json | {
"version": {
"number": "4.0",
"release_date": "2014-09-04",
"status": "latest",
"found_by": "rspec",
"confidence": 0,
"interesting_entries": [
],
"confirmed_by": {
},
"vulnerabilities": [
]
}
} |
wpscan/spec/output/wp_version/with_vulns.cli_no_colour | [+] WordPress version 3.8.1 identified (Outdated via api, released on 2014-01-23-via-api).
| Found By: rspec
|
| [!] 2 vulnerabilities identified:
|
| [!] Title: WP 3.8.1 - Vuln 1
| CVSS: 5.4 (VECTOR)
| Reference: https://wpscan.com/vulnerability/1
|
| [!] Title: WP 3.8.1 - Vuln 2
| Fixed in: 3.8.... | |
JSON | wpscan/spec/output/wp_version/with_vulns.json | {
"version": {
"number": "3.8.1",
"release_date": "2014-01-23-via-api",
"status": "outdated-via-api",
"found_by": "rspec",
"confidence": 0,
"interesting_entries": [
],
"confirmed_by": {
},
"vulnerabilities": [
{
"title": "WP 3.8.1 - Vuln 1",
"cvss": {
... |
Ruby | wpscan/spec/shared_examples/references.rb | # frozen_string_literal: true
shared_examples WPScan::References do
describe '#references_keys' do
it 'contains the :wpvulndb symbol' do
expect(subject.class.references_keys)
.to include(:wpvulndb)
end
end
describe 'references' do
context 'when no references' do
its(:wpvulndb_ids... |
Ruby | wpscan/spec/shared_examples/dynamic_finders/wp_items.rb | # frozen_string_literal: true
shared_examples WPScan::Finders::DynamicFinder::WpItems::Finder do
let(:passive_fixture) do
fixtures.join("#{described_class.to_s.demodulize.underscore}_passive_all.html")
end
describe '#passive_configs' do
# Not sure if it's worth to do it as it's just a call to something ... |
Ruby | wpscan/spec/shared_examples/finders/wp_items/urls_in_page.rb | # frozen_string_literal: true
shared_examples 'App::Finders::WpItems::UrlsInPage' do
before do
allow(finder.target).to receive(:content_dir).and_return('wp-content')
stub_request(:get, page_url).to_return(body: defined?(body) ? body : File.read(fixtures.join(fixture)))
end
describe '#items_from_links' ... |
Ruby | wpscan/spec/shared_examples/target/platform/wordpress.rb | # frozen_string_literal: true
require_relative 'wordpress/custom_directories'
shared_examples WPScan::Target::Platform::WordPress do
it_behaves_like 'WordPress::CustomDirectories'
let(:fixtures) { FIXTURES.join('target', 'platform', 'wordpress') }
describe '#wordpress?, wordpress_from_meta_comments_or_scripts... |
Ruby | wpscan/spec/shared_examples/target/platform/wordpress/custom_directories.rb | # frozen_string_literal: true
shared_examples 'WordPress::CustomDirectories' do
let(:fixtures) { super().join('custom_directories') }
describe '#content_dir' do
# Stub the error_404_res to make it easier to test
before { stub_request(:get, ERROR_404_URL_PATTERN) }
{
default: 'wp-content', https... |
Ruby | wpscan/spec/shared_examples/views/enumeration.rb | # frozen_string_literal: true
require_relative 'enumeration/users'
require_relative 'enumeration/medias'
require_relative 'enumeration/themes'
require_relative 'enumeration/plugins'
require_relative 'enumeration/timthumbs'
require_relative 'enumeration/config_backups'
require_relative 'enumeration/db_exports'
shared_... |
Ruby | wpscan/spec/shared_examples/views/main_theme.rb | # frozen_string_literal: true
shared_examples 'App::Views::MainTheme' do
let(:controller) { WPScan::Controller::MainTheme.new }
let(:tpl_vars) { { url: target_url } }
let(:theme) { WPScan::Model::Theme.new(theme_name, target, found_by: 'rspec') }
describe 'main_theme' do
let(:view) { 'theme' }
... |
Ruby | wpscan/spec/shared_examples/views/vuln_api.rb | # frozen_string_literal: true
shared_examples 'App::Views::VulnApi' do
let(:controller) { WPScan::Controller::VulnApi.new }
let(:tpl_vars) { { url: target_url } }
describe 'status' do
let(:view) { 'status' }
context 'when no api token is given' do
let(:expected_view) { 'no_token' }
it 'o... |
Ruby | wpscan/spec/shared_examples/views/wp_version.rb | # frozen_string_literal: true
shared_examples 'App::Views::WpVersion' do
let(:controller) { WPScan::Controller::WpVersion.new }
let(:tpl_vars) { { url: target_url } }
describe 'version' do
let(:view) { 'version' }
context 'when the version is nil' do
let(:expected_view) { 'not_found' }
i... |
Ruby | wpscan/spec/shared_examples/views/enumeration/config_backups.rb | # frozen_string_literal: true
shared_examples 'App::Views::Enumeration::ConfigBackups' do
let(:view) { 'config_backups' }
let(:config_backup) { WPScan::Model::ConfigBackup }
describe 'config_backups' do
context 'when no backups found' do
let(:expected_view) { File.join(view, 'none_found') }
... |
Ruby | wpscan/spec/shared_examples/views/enumeration/db_exports.rb | # frozen_string_literal: true
shared_examples 'App::Views::Enumeration::DbExports' do
let(:view) { 'db_exports' }
let(:db_export) { WPScan::Model::DbExport }
describe 'db_exports' do
context 'when no file found' do
let(:expected_view) { File.join(view, 'none_found') }
it 'outputs the expec... |
Ruby | wpscan/spec/shared_examples/views/enumeration/medias.rb | # frozen_string_literal: true
shared_examples 'App::Views::Enumeration::Medias' do
let(:view) { 'medias' }
let(:media) { WPScan::Model::Media }
describe 'medias' do
context 'when no medias found' do
let(:expected_view) { File.join(view, 'none_found') }
it 'outputs the expected string' do
... |
Ruby | wpscan/spec/shared_examples/views/enumeration/plugins.rb | # frozen_string_literal: true
shared_examples 'App::Views::Enumeration::Plugins' do
let(:view) { 'plugins' }
let(:plugin) { WPScan::Model::Plugin }
describe 'plugins' do
context 'when no plugins found' do
let(:expected_view) { File.join(view, 'none_found') }
it 'outputs the expected string' d... |
Ruby | wpscan/spec/shared_examples/views/enumeration/themes.rb | # frozen_string_literal: true
shared_examples 'App::Views::Enumeration::Themes' do
let(:view) { 'themes' }
let(:plugin) { WPScan::Model::Theme }
describe 'themes' do
context 'when no themes found' do
let(:expected_view) { File.join(view, 'none_found') }
it 'outputs the expected string' do
... |
Ruby | wpscan/spec/shared_examples/views/enumeration/timthumbs.rb | # frozen_string_literal: true
shared_examples 'App::Views::Enumeration::Timthumbs' do
let(:view) { 'timthumbs' }
let(:timthumb) { WPScan::Model::Timthumb }
let(:version) { WPScan::Model::Version.new('2.8.14', found_by: 'Bad Request') }
describe 'timthumbs' do
context 'when no timthumbs found' do
... |
Ruby | wpscan/spec/shared_examples/views/enumeration/users.rb | # frozen_string_literal: true
shared_examples 'App::Views::Enumeration::Users' do
let(:view) { 'users' }
let(:user) { WPScan::Model::User }
describe 'users' do
context 'when no users found' do
let(:expected_view) { File.join(view, 'none_found') }
it 'outputs the expected string' do
@t... |
x64dbg-development/.editorconfig | ; Top-most EditorConfig file
root = true
; Windows-style newlines
[*]
end_of_line = CRLF
; Tab indentation
[*.{cpp,h}]
indent_style = space
tab_width = 4 | |
x64dbg-development/.gitignore | # Ignored directories
bin/*/
obj/
ipch/
Win32/
x64/
release/
build/
gui_build/
debug/
*XE Results*/
doxygen*/
doc/
COV/
minidump/
CppDependOut/
.vs/
.vscode/
# Global filetypes to ignore
*.depend
*.layout
*.patch
*.cscope_file_list
*.bmarks
*.chw
*.cbTemp
*.opensdf
*.sdf
*.suo
*.VC.opendb
*.autosave
*.~vsd
*.dll
*.exe... | |
x64dbg-development/.gitmodules | [submodule "src/gui/Translations"]
path = src/gui/Translations
url = ../Translations.git
[submodule "src/dbg/btparser"]
path = src/dbg/btparser
url = ../btparser
[submodule "deps"]
path = deps
url = ../deps
shallow = true
[submodule "src/zydis_wrapper/zydis"]
path = src/zydis_wrapper/zydis
url = ../zydis.git | |
x64dbg-development/build.bat | @echo off
echo Saving PATH
if "%OLDPATH%"=="" set OLDPATH=%PATH%
cd %~dp0
if /i "%1"=="x32" call setenv.bat x32&set type=Configuration=Release;Platform=Win32&goto build
if /i "%1"=="x64" call setenv.bat x64&set type=Configuration=Release;Platform=x64&goto build
if /i "%1"=="coverity" goto coverity
if /i "%1"=="sonar... | |
x64dbg-development/clean.bat | @echo off
echo Cleaning base directory...
del /Q *.sdf
del /Q *.layout
del /Q /A H *.suo
rmdir /S /Q ipch
rmdir /S /Q release
rmdir /S /Q build
rmdir /S /Q cov-int
echo Cleaning BRIDGE...
cd src\bridge
call :delfiles
echo Cleaning DBG...
cd src\dbg
call :delfiles
echo Cleaning EXE...
cd src\exe
call :delfiles
echo... | |
x64dbg-development/install.bat | @echo off
echo Run this to install the auto-format hook.
git config core.autocrlf false
copy hooks\pre-commit .git\hooks\pre-commit | |
x64dbg-development/LICENSE | GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
THIS DOCUMENT HAS BEEN MODIFIED
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing... | |
x64dbg-development/maketranslatetemplate.bat | @echo off
echo Run this to update translation templates after the source is modified. Be sure to set Qt path in setenv.bat
call setenv.bat x64
lupdate src/x64dbg_translations.pro | |
Markdown | x64dbg-development/README.md | # x64dbg
<img width="100" src="https://github.com/x64dbg/x64dbg/raw/development/src/bug_black.png"/>
[](https://ci.appveyor.com/project/mrexodia/x64dbg) [](https:... |
Markdown | x64dbg-development/README_zh.md | # x64dbg
<img width="100" src="./src/bug_black.png"/>
一个开源的Windows二进制调试器,旨在进行恶意软件分析和你没有源代码的可执行文件的逆向工程。有许多可用的功能和一个全面的插件系统 来添加你自己的功能。你可以在博客上找到更多信息!
## 屏幕截图
<!-- TODO: recreate Chinese screenshots -->

![main interface (dark)](.github/screenshots/cpu-dark.p... |
x64dbg-development/release.bat | @echo off
set RELEASEDIR=.\release
rmdir /S /Q %RELEASEDIR%
mkdir %RELEASEDIR%
echo pluginsdk
mkdir %RELEASEDIR%\pluginsdk
mkdir %RELEASEDIR%\pluginsdk\dbghelp
mkdir %RELEASEDIR%\pluginsdk\DeviceNameResolver
mkdir %RELEASEDIR%\pluginsdk\jansson
mkdir %RELEASEDIR%\pluginsdk\lz4
mkdir %RELEASEDIR%\pluginsdk\TitanEngine... | |
x64dbg-development/setenv.bat | @echo off
if "%OLDPATH%"=="" set OLDPATH=%PATH%
if "%QT32PATH%"=="" set QT32PATH=c:\Qt\qt-5.6.2-x86-msvc2013\5.6\msvc2013\bin
if "%QT64PATH%"=="" set QT64PATH=c:\Qt\qt-5.6.2-x64-msvc2013\5.6\msvc2013_64\bin
if "%QTCREATORPATH%"=="" set QTCREATORPATH=c:\Qt\qtcreator-4.3.1\bin
if "%VSVARSALLPATH%"=="" set VSVARSALLPATH... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.