whitespace and another typo

git-svn-id: file:///home/svn/framework3/trunk@13929 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-10-15 18:12:50 +00:00
parent 76bad7a4e4
commit 77e9c9d973
1 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,8 @@ class Metasploit3 < Msf::Post
'Platform' => [ 'cisco'], 'Platform' => [ 'cisco'],
'SessionTypes' => [ 'shell' ] 'SessionTypes' => [ 'shell' ]
)) ))
register_options(
register_options(
[ [
OptString.new('ENABLE', [ false, 'Enable password for changing privilege level.']), OptString.new('ENABLE', [ false, 'Enable password for changing privilege level.']),
OptPath.new('WORDLIST', [false, 'Wordlist of possible enable passwords to try.']) OptPath.new('WORDLIST', [false, 'Wordlist of possible enable passwords to try.'])
@ -153,7 +154,7 @@ class Metasploit3 < Msf::Post
print_good("Obtained higher privilege level.") print_good("Obtained higher privilege level.")
return true return true
else else
print_error("Cold not obtain higher privilege level.") print_error("Could not obtain higher privilege level.")
return false return false
end end
end end