Remove Version, Fix Whitespace
parent
e67eaa94c9
commit
8adfef5730
|
@ -21,7 +21,6 @@ class MetasploitModule < Msf::Exploit::Local
|
|||
},
|
||||
'License' => MSF_LICENSE,
|
||||
'Author' => [ 'Green-m <greenm.xxoo[at]gmail.com>' ],
|
||||
'Version' => '$Revision:1$',
|
||||
'Platform' => [ 'windows' ],
|
||||
'Targets' => [['Windows', {}]],
|
||||
'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_DESCRIPTION', [false, 'The description of service. Random string as default.' ])
|
||||
])
|
||||
|
||||
end
|
||||
|
||||
# Run Method for when run command is issued
|
||||
|
@ -139,7 +137,6 @@ class MetasploitModule < Msf::Exploit::Local
|
|||
fd.close
|
||||
end
|
||||
|
||||
|
||||
# Function for creating log folder and returning log path
|
||||
#-------------------------------------------------------------------------------
|
||||
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 \"stop #{@service_name}\"\n" + @clean_up_rc
|
||||
|
||||
end
|
||||
|
||||
def metsvc_template(buf)
|
||||
|
|
Loading…
Reference in New Issue