Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wpscanteam
GitHub Repository: wpscanteam/wpscan
Path: blob/master/app/models/xml_rpc.rb
485 views
1
# frozen_string_literal: true
2
3
module WPScan
4
module Model
5
# Override of the CMSScanner::XMLRPC to include the references
6
class XMLRPC < CMSScanner::Model::XMLRPC
7
include References # To be able to use the :wpvulndb reference if needed
8
9
# @return [ Hash ]
10
def references
11
@references ||= {
12
url: ['http://codex.wordpress.org/XML-RPC_Pingback_API'],
13
metasploit: [
14
'auxiliary/scanner/http/wordpress_ghost_scanner',
15
'auxiliary/dos/http/wordpress_xmlrpc_dos',
16
'auxiliary/scanner/http/wordpress_xmlrpc_login',
17
'auxiliary/scanner/http/wordpress_pingback_access'
18
]
19
}
20
end
21
end
22
end
23
end
24
25