Remove Version, Fix Whitespace

GSoC/Meterpreter_Web_Console
Jacob Robles 2018-12-14 13:19:49 -06:00
parent e67eaa94c9
commit 8adfef5730
No known key found for this signature in database
GPG Key ID: 3EC9F18F2B12401C
1 changed files with 0 additions and 4 deletions

View File

@ -21,7 +21,6 @@ class MetasploitModule < Msf::Exploit::Local
}, },
'License' => MSF_LICENSE, 'License' => MSF_LICENSE,
'Author' => [ 'Green-m <greenm.xxoo[at]gmail.com>' ], 'Author' => [ 'Green-m <greenm.xxoo[at]gmail.com>' ],
'Version' => '$Revision:1$',
'Platform' => [ 'windows' ], 'Platform' => [ 'windows' ],
'Targets' => [['Windows', {}]], 'Targets' => [['Windows', {}]],
'SessionTypes' => [ 'meterpreter', 'shell'], 'SessionTypes' => [ 'meterpreter', 'shell'],
@ -40,7 +39,6 @@ class MetasploitModule < Msf::Exploit::Local
OptString.new('SERVICE_NAME', [false, 'The name of service. Random string as default.' ]), OptString.new('SERVICE_NAME', [false, 'The name of service. Random string as default.' ]),
OptString.new('SERVICE_DESCRIPTION', [false, 'The description of service. Random string as default.' ]) OptString.new('SERVICE_DESCRIPTION', [false, 'The description of service. Random string as default.' ])
]) ])
end end
# Run Method for when run command is issued # Run Method for when run command is issued
@ -139,7 +137,6 @@ class MetasploitModule < Msf::Exploit::Local
fd.close fd.close
end end
# Function for creating log folder and returning log path # Function for creating log folder and returning log path
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
def log_file def log_file
@ -172,7 +169,6 @@ class MetasploitModule < Msf::Exploit::Local
@clean_up_rc = "execute -H -f sc.exe -a \"delete #{@service_name}\"\n" + @clean_up_rc @clean_up_rc = "execute -H -f sc.exe -a \"delete #{@service_name}\"\n" + @clean_up_rc
@clean_up_rc = "execute -H -f sc.exe -a \"stop #{@service_name}\"\n" + @clean_up_rc @clean_up_rc = "execute -H -f sc.exe -a \"stop #{@service_name}\"\n" + @clean_up_rc
end end
def metsvc_template(buf) def metsvc_template(buf)