Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wpscanteam
GitHub Repository: wpscanteam/wpscan
Path: blob/master/app/finders/plugins/urls_in_404_page.rb
485 views
1
# frozen_string_literal: true
2
3
module WPScan
4
module Finders
5
module Plugins
6
# URLs In 404 Page Finder
7
# Typically, the items detected from URLs like /wp-content/plugins/<slug>/
8
class UrlsIn404Page < UrlsInHomepage
9
# @return [ Typhoeus::Response ]
10
def page_res
11
@page_res ||= target.error_404_res
12
end
13
end
14
end
15
end
16
end
17
18