mailing list archives
Re: [NSE script] http-robtex-shared-ns-domains.nse
From: Arturo 'Buanzo' Busleiman <buanzo () buanzo com ar>
Date: Mon, 09 Apr 2012 07:47:28 -0300
-----BEGIN PGP SIGNED MESSAGE-----
On 04/09/2012 04:26 AM, David Fifield wrote:
Thanks, I removed that argument but I missed it in the @usage. I want the interface to be
mostly uniform with hostmap-bfk.nse. Yes, -sn -Pn is the answer.
I just svn updated my repository, and I checked out the hostmap-robtex.nse file.
It does not look as what I'm working on, I make no mention of checking an IP address. What I'm
Going to http://robtex.com/dns/example.com where example.com is taken from --script-args
http-robtex-shared-domains.host=example.com and used as this:
action = function(host, port)
local target = stdnse.get_script_args("http-robtex-shared-domains.host")
local link = "http://www.robtex.com/dns/"..target..".html"
the resulting html is then parsed with regex "<a href=\"(.-)\.html#shared\" title=\"using ns
Maybe during the renaming some lines got mixed up?
Also, the @args line in my original script was still saying "@args http-robtex-shared-domains.host
IPv4 address of the host to lookup" and that should be "@args http-robtex-shared-domains.host
domain name to lookup". Fixed that.
Attaching updated script, and renamed to hostmap-robtex-sharedns.nse
⁂ Arturo "Buanzo" Busleiman ⁂ - MUSICA: soundcloud.com/no-carrier
Independent Linux and Security Consultant - 16+y of IT exp. at your service .
OWASPer - http://www.buanzo.com.ar/pro/eng.html ..:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/