Class: WPScan::Finders::Users::YoastSeoAuthorSitemap
- Inherits:
-
AuthorSitemap
- Object
- Finder
- AuthorSitemap
- WPScan::Finders::Users::YoastSeoAuthorSitemap
- Defined in:
- app/finders/users/yoast_seo_author_sitemap.rb
Overview
The YOAST SEO plugin has an author-sitemap.xml which can leak usernames See github.com/wpscanteam/wpscan/issues/1228
Constant Summary
Constants inherited from Finder
Instance Attribute Summary
Attributes inherited from Finder
Instance Method Summary collapse
-
#sitemap_url ⇒ String
The URL of the author-sitemap.
Methods inherited from AuthorSitemap
Methods inherited from Finder
#aggressive, #browser, #create_progress_bar, #found_by, #hydra, #initialize, #passive, #titleize
Constructor Details
This class inherits a constructor from WPScan::Finders::Finder
Instance Method Details
#sitemap_url ⇒ String
Returns The URL of the author-sitemap.
10 11 12 |
# File 'app/finders/users/yoast_seo_author_sitemap.rb', line 10 def sitemap_url @sitemap_url ||= target.url('author-sitemap.xml') end |