Nmap Development mailing list archives
Re: stream output
From: Toni Ruottu <toni.ruottu () iki fi>
Date: Mon, 27 Feb 2012 18:00:44 +0200
I am not talking about scripts alone. I'm ok with a script returning a string, but I would like to see a stream of discovered nodes, and open ports, and detected service, and script results that gets updated as nmap makes new discoveries, as opposed to the current output mechanism which creates an xml-report when everything has completed. Would this be a viable project idea for GSoC 2012? On Thu, Feb 23, 2012 at 7:19 PM, Patrik Karlsson <patrik () cqure net> wrote:
On Thu, Feb 23, 2012 at 5:22 PM, Corey Quinn <corey () sequestered net> wrote:Yup! Pass a -v or two as an argument to nmap. Toni Ruottu <toni.ruottu () iki fi> wrote:Does nmap support outputting scan results as a stream of findings as they come up? Such functionality could be used to refresh user interfaces or send warning emails to admins while the scan is still running. --Toni _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/That would give you any verbose/debug messages added by the developer, which may or may not include what's reported as a result string by the script. AFAIK there's no such capability in Nmap yet and "script results" can only be returned as a string by the action method. As scripts use different methods of building their "result string", using tables or concatenation of strings etc, I don't see an easy way of achieving this. Cheers, Patrik -- Patrik Karlsson http://www.cqure.net http://twitter.com/nevdull77
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- stream output Toni Ruottu (Feb 23)
- <Possible follow-ups>
- Re: stream output Corey Quinn (Feb 23)
- Re: stream output Patrik Karlsson (Feb 23)
- Re: stream output Djalal Harouni (Feb 23)
- Re: stream output Toni Ruottu (Feb 27)
- Re: stream output David Fifield (Feb 27)
- Re: stream output Abuse 007 (Feb 29)
- Re: stream output Patrik Karlsson (Feb 23)