Sha256: 79caa3b296fb12badd4b489bbf1428acf7f98ebdd45bca61b725872536f9c6ac

Contents?: true

Size: 453 Bytes

Versions: 21

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true

module WPScan
  module Finders
    module Users
      # The YOAST SEO plugin has an author-sitemap.xml which can leak usernames
      # See https://github.com/wpscanteam/wpscan/issues/1228
      class YoastSeoAuthorSitemap < AuthorSitemap
        # @return [ String ] The URL of the author-sitemap
        def sitemap_url
          @sitemap_url ||= target.url('author-sitemap.xml')
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
wpscan-3.8.27 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.26 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.25 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.24 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.22 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.21 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.20 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.19 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.18 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.17 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.16 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.15 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.14 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.13 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.12 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.11 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.10 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.9 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.8 app/finders/users/yoast_seo_author_sitemap.rb
wpscan-3.8.7 app/finders/users/yoast_seo_author_sitemap.rb