Update some of my aux modules that require a successful login to not continue
running without it git-svn-id: file:///home/svn/framework3/trunk@5802 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4740e6e452
commit
330bd2ef5b
|
@ -27,7 +27,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
end
|
||||
|
||||
def run
|
||||
connect_login
|
||||
return unless connect_login
|
||||
|
||||
print_status("Sending commands...")
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
end
|
||||
|
||||
def run
|
||||
connect_login
|
||||
return unless connect_login
|
||||
print_status("Sending command...")
|
||||
raw_send("SITE WHO\r\n")
|
||||
sleep 1
|
||||
|
|
|
@ -27,7 +27,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
end
|
||||
|
||||
def run
|
||||
connect_login
|
||||
return unless connect_login
|
||||
|
||||
raw_send("NLST -1\r\n")
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
end
|
||||
|
||||
def run
|
||||
connect_login
|
||||
return unless connect_login
|
||||
|
||||
raw_send_recv("PASV\r\n") # NLST has to follow a PORT or PASV
|
||||
|
||||
|
|
Loading…
Reference in New Issue