Moves Models into their own namespace - Ref #1315
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
module WPScan
|
||||
# Override of the CMSScanner::XMLRPC to include the references
|
||||
class XMLRPC < CMSScanner::XMLRPC
|
||||
include References # To be able to use the :wpvulndb reference if needed
|
||||
module Model
|
||||
# Override of the CMSScanner::XMLRPC to include the references
|
||||
class XMLRPC < CMSScanner::Model::XMLRPC
|
||||
include References # To be able to use the :wpvulndb reference if needed
|
||||
|
||||
# @return [ Hash ]
|
||||
def references
|
||||
{
|
||||
url: ['http://codex.wordpress.org/XML-RPC_Pingback_API'],
|
||||
metasploit: [
|
||||
'auxiliary/scanner/http/wordpress_ghost_scanner',
|
||||
'auxiliary/dos/http/wordpress_xmlrpc_dos',
|
||||
'auxiliary/scanner/http/wordpress_xmlrpc_login',
|
||||
'auxiliary/scanner/http/wordpress_pingback_access'
|
||||
]
|
||||
}
|
||||
# @return [ Hash ]
|
||||
def references
|
||||
{
|
||||
url: ['http://codex.wordpress.org/XML-RPC_Pingback_API'],
|
||||
metasploit: [
|
||||
'auxiliary/scanner/http/wordpress_ghost_scanner',
|
||||
'auxiliary/dos/http/wordpress_xmlrpc_dos',
|
||||
'auxiliary/scanner/http/wordpress_xmlrpc_login',
|
||||
'auxiliary/scanner/http/wordpress_pingback_access'
|
||||
]
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user