Nmap Development mailing list archives

Re: Updated output for scripts


From: Ron <ron () skullsecurity net>
Date: Tue, 10 Nov 2009 13:39:13 -0600

Patrick Donnelly wrote:
My first impressions are that it does indeed look nice but what did it
look like before? Also, the format_output function needs NSEDoc.

It looked, on average, the same. But the indents were often a mix between " ", " ", "| ", etc.

Also, multi-field outputs often looked like:
|  Heading
|  |_ Field1
|  |_ Field2
|_ |_ Field3

Or
|  Heading
|   Field1
|   Field2
|_  Field3

Or (this is what I'm using for everything now):
|  Heading
|  |  Field1
|  |  Field2
|_ |_ Field3

The primary improvement is consistency -- instead of every script defining its own style, the library does.

Ron
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: