diff --git a/modules/auxiliary/scanner/http/cisco_ssl_vpn.rb b/modules/auxiliary/scanner/http/cisco_ssl_vpn.rb index aa7f95f023..c5d4fc8cd3 100644 --- a/modules/auxiliary/scanner/http/cisco_ssl_vpn.rb +++ b/modules/auxiliary/scanner/http/cisco_ssl_vpn.rb @@ -99,68 +99,39 @@ class MetasploitModule < Msf::Auxiliary false end + def get_login_resource + send_request_cgi( + 'uri' => '/+CSCOE+/logon.html', + 'method' => 'GET', + 'vars_get' => { 'fcadbadd' => "1" } + ) + end + def enumerate_vpn_groups - res = send_request_cgi( - 'uri' => '/+CSCOE+/logon.html', - 'method' => 'GET', - ) - - if res && - res.code == 302 - - res = send_request_cgi( - 'uri' => '/+CSCOE+/logon.html', - 'method' => 'GET', - 'vars_get' => { 'fcadbadd' => "1" } - ) - end - groups = Set.new group_name_regex = /