# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require'msf/core'
classMetasploit3<Msf::Auxiliary
includeMsf::Exploit::Remote::HttpClient
includeMsf::Auxiliary::Report
includeMsf::Auxiliary::Scanner
definitialize
super(
'Name'=>'SAP Management Console Get Logfile',
'Version'=>'$Revision$',
'Description'=>%q{ This module simply attempts to download available logfiles and developer tracefiles through the SAP Management Console SOAP Interface. Please use the sap_manamgenet_console_listlogfiles extension to view a list of availble files. },
'References'=>
[
# General
['URL','http://blog.c22.cc']
],
'Author'=>['Chris John Riley'],
'License'=>MSF_LICENSE
)
register_options(
[
Opt::RPORT(50013),
OptString.new('URI',[false,'Path to the SAP Management Console ','/']),
OptString.new('RFILE',[true,"The name of the file to download","sapstart.log"]),
OptString.new('FILETYPE',[true,'Specify LOGFILE or TRACEFILE','TRACEFILE']),
OptString.new('UserAgent',[true,"The HTTP User-Agent sent in the request",
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)']),
OptString.new('LFILE',[false,'Set path to save output to file','']),