more typo and whitespace fixes
parent
4b271425c9
commit
0784370b98
|
@ -47,11 +47,11 @@ class Metasploit3 < Msf::Post
|
|||
raise "Powershell not available" if ! have_powershell?
|
||||
|
||||
# Preprocess the Powershell::Script object with substitions from Exploit::Powershell
|
||||
script = make_subs(read_script(datstore['SCRIPT']),process_subs(datastore['SUBSTITUTIONS']))
|
||||
script = make_subs(read_script(datastore['SCRIPT']), process_subs(datastore['SUBSTITUTIONS']))
|
||||
|
||||
# Execute in session
|
||||
print_status psh_exec(script)
|
||||
print_good('Finished!')
|
||||
print_good 'Finished!'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue