1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

commit 7dae4affc23f9fd70e916bc461e45eafe4bcf99a

Author: Patrik Karlsson <patrik@cqure.net>
Date:   Thu May 29 21:33:18 2014 -0400

    fix to detect non ASA devices and unsupported versions
This commit is contained in:
patrik
2014-05-30 01:46:59 +00:00
parent c6fc780a29
commit 0b0109d4af
6 changed files with 35 additions and 15 deletions

View File

@@ -41,8 +41,10 @@ end
action = function(host, port)
local ac = anyconnect.Cisco.AnyConnect:new(host, port)
local status = ac:connect()
if status then
local status, err = ac:connect()
if not status then
return ("\n ERROR: %s"):format(err)
else
local o = stdnse.output_table()
local xmltags = { 'version', 'tunnel-group', 'group-alias',
'config-hash', 'host-scan-ticket', 'host-scan-token',