moved array definition to avoid error
parent
fac777da3d
commit
5b25ba5df3
|
@ -73,8 +73,8 @@ class Metasploit4 < Msf::Auxiliary
|
||||||
attr_accessor :password_only
|
attr_accessor :password_only
|
||||||
|
|
||||||
def run_host(ip)
|
def run_host(ip)
|
||||||
|
un_list = []
|
||||||
if datastore['GET_USERNAMES_FROM_CONFIG']
|
if datastore['GET_USERNAMES_FROM_CONFIG']
|
||||||
un_list = []
|
|
||||||
connect()
|
connect()
|
||||||
get_username_from_config(un_list,ip)
|
get_username_from_config(un_list,ip)
|
||||||
disconnect()
|
disconnect()
|
||||||
|
|
Loading…
Reference in New Issue