Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Please help
From: James Rogers <jamesmrogers () gmail com>
Date: Thu, 31 May 2012 17:47:35 -0400

Maybe the error message could be more descriptive about how to
properly run the script?

On Thu, May 31, 2012 at 5:10 PM, David Fifield <david () bamsoftware com> wrote:
On Thu, May 31, 2012 at 09:35:42PM +0100, Hani Benhabiles wrote:
On 05/31/2012 09:31 PM, James Rogers wrote:

From the code http://nmap.org/svn/scripts/http-brute.nse :

local path = nmap.registry.args['http-brute.path']

if ( not(path) ) then
            return "  \n  ERROR: No path was specified (see http-brute.path)"

So it appears that you are getting an error message because there is
no registry key of 'http-brute.path'.

On what operating system/version are you running the command?

On Thu, May 31, 2012 at 7:49 AM, M.Younas Imran<myimran () yahoo com>  wrote:
Hello! If I have bothered you by any mean, I am realy sorry, but either solve my problem or direct me to the URL,
my problem:

Starting Nmap 5.61TEST5 ( http://nmap.org ) at 2012-05-31 16:43 PKT
Nmap scan report for
Host is up (0.00085s latency).
80/tcp open  http
| http-brute:
|_  ERROR: No path was specified (see http-brute.path)

I do not understand the ERROR message.
Thank you.

It means he should use --script-args="/somepath"

And thinking about it, the path should be default to root like most
other http scripts.

local path = nmap.registry.args['http-brute.path'] or "/"

I believe that http-brute requires a script argument by design, to
reduce the chance that you run it accidentally.

David Fifield
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 ]