Skip to content

Commit 5b25ba5

Browse files
author
root
committed
moved array definition to avoid error
1 parent fac777d commit 5b25ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/telnet/brocade_enable_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def get_username_from_config(un_list,ip)
7373
attr_accessor :password_only
7474

7575
def run_host(ip)
76+
un_list = []
7677
if datastore['GET_USERNAMES_FROM_CONFIG']
77-
un_list = []
7878
connect()
7979
get_username_from_config(un_list,ip)
8080
disconnect()

0 commit comments

Comments
 (0)