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...")
|
||||
|
||||
|
@ -37,4 +37,4 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
disconnect
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -27,10 +27,10 @@ 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
|
||||
disconnect
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -27,7 +27,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
end
|
||||
|
||||
def run
|
||||
connect_login
|
||||
return unless connect_login
|
||||
|
||||
raw_send("NLST -1\r\n")
|
||||
|
||||
|
@ -35,4 +35,4 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
print_status("OK, server may still be technically listening, but it won't respond")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
||||
|
@ -31,4 +31,4 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
disconnect
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue