Class: WPScan::Finders::Users::YoastSeoAuthorSitemap

Inherits:
AuthorSitemap
  • Object
show all
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

Instance Method Summary collapse

Methods inherited from AuthorSitemap

#aggressive

Instance Method Details

#sitemap_urlString

Returns The URL of the author-sitemap.

Returns:

  • (String)

    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