Skip to content

Commit 0fa4617

Browse files
author
Jonathan Claudius
committed
Fix null arguments syntax
1 parent 7a727f9 commit 0fa4617

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/scanner/http/cisco_ssl_vpn_priv_esc.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ def do_show_version(cookie, tries = 3)
133133
end
134134

135135
def add_user(cookie, tries = 3)
136-
username = random_username()
137-
password = random_password()
136+
username = random_username
137+
password = random_password
138138

139139
tries.times do |i|
140140
print_good "#{peer} - Attemping to add User: #{username}, Pass: #{password}"
@@ -213,7 +213,7 @@ def do_login(user, pass, group)
213213

214214
def run_host(ip)
215215
# Validate we're dealing with Cisco SSL VPN
216-
unless validate_cisco_ssl_vpn()
216+
unless validate_cisco_ssl_vpn
217217
vprint_error "#{peer} - Does not appear to be Cisco SSL VPN"
218218
:abort
219219
end

0 commit comments

Comments
 (0)