Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [NSE] robtex http reverse ip (Correction)
From: riemann <riemann () opendz org>
Date: Tue, 11 Oct 2011 12:22:26 +0200

On 11/10/2011 12:40, Duarte Silva wrote:
Hi riemann,

at line 69 you have:

return "\n" .. stdnse.format_output(true, domains)

that will add an unnecessary line break in the output. The line should be:

return stdnse.format_output(true, domains)

it's done
I would also like to purpose the changing of the output to something more in
the lines of this:

80/tcp open  http
| http-robtex-reverse-ip:
|   li86-221.members.linode.com
|_  scanme.nmap.org

i dont understand here, you meen http-robtex-reverse-ip without .nse
It's smaller and uses the scanme.nmap.org machine, which it's only purpose in
live is to be scanned :P

Duarte Silva

On Monday 10 October 2011 14:45:42 riemann wrote:
On 10/10/2011 15:42, riemann wrote:
On 10/10/2011 11:42, Duarte Silva wrote:
Hi riemann,

I did some testing and it seems to work fine, I have a suggestion
though, make
use of the format_output [1] function instead of the strjoin. This
will make
sure that the NSE output is consistent.

[1] http://nmap.org/nsedoc/lib/stdnse.html#format_output

Duarte Silva

Thx Duarte,
It's done.
Best Regards

Sorry, forget some debug value, this is the good one.
Best Regards
Best Regards

Attachment: http-robtex-reverse-ip.nse

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]