1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-07 06:59:03 +00:00
Files
nmap/nselib
david 4dd04a32a5 Make stdnse.format_output return nil when passed an empty table. Before
it was returning an empty string, causing blank output entries for
scripts with no output:

80/tcp    open   http
|_citrix-enum-apps-xml:
|_citrix-enum-servers-xml:
| http-headers:
|   Date: Sun, 31 Jan 2010 19:28:13 GMT
|   Server: Apache/2.2.3 (CentOS)
|   Accept-Ranges: bytes
|   Content-Length: 739
|   Connection: close
|   Content-Type: text/html; charset=UTF-8
|
|_  (Request type: HEAD)
|_http-date: Sun, 31 Jan 2010 19:28:14 GMT; +1s from local time.
|_html-title: Go ahead and ScanMe!
2010-01-31 19:38:13 +00:00
..
2009-01-19 04:57:34 +00:00
2008-11-19 17:46:27 +00:00
2010-01-27 02:05:01 +00:00
2009-09-10 03:26:53 +00:00
2010-01-26 09:40:38 +00:00