Movatterモバイル変換


[0]ホーム

URL:


Home page logo
nmap-dev logo

Nmap Developmentmailing list archives

PreviousBy DateNext
PreviousBy ThreadNext

Re: Suggestion: Using script output - Human-readable andmachine-parseable


From: David Fifield <david () bamsoftware com>
Date: Mon, 18 Apr 2011 21:36:37 -0700

On Tue, Apr 05, 2011 at 07:35:29AM -0500, Daniel Miller wrote:
David,I'm attaching a patch that allows for formatting output as YAML. Itincludes a new NSE library, yaml, that is a slightly modified copy ofthe libyaml binding from yaml.luaforge.net (properly attributed). Thesecond diff (luayaml.diff) shows the modifications I made to it.As it currently stands, I'm dynamically linking against libyaml, andusing systemwide headers for it, which I know is not the way we'llwant to go, but it was easiest to start. I haven't worked withautoconfig before, so I didn't know how to package the library withNmap. It's pretty stable (0.1.3 was released August 2009), and not toobig, so it wouldn't be tough to include it. If you want to test, thelibyaml-0-2 and libyaml-dev packages for Ubuntu were sufficient tobuild and run my patched version.
Do we really need to link with libyaml? It seems like emitting YAML, asopposed to parsing it, would be easy enough to implement in stdnse.David Fifield_______________________________________________Sent through the nmap-dev mailing listhttp://cgi.insecure.org/mailman/listinfo/nmap-devArchived athttp://seclists.org/nmap-dev/

PreviousBy DateNext
PreviousBy ThreadNext

Current thread:


[8]ページ先頭

©2009-2025 Movatter.jp