Nmap Development mailing list archives

Re: [NSE] http-backup-finderpatch


From: Martin Holst Swende <martin () swende se>
Date: Sun, 05 Feb 2012 20:41:59 +0100

On 02/05/2012 03:26 PM, Patrik Karlsson wrote:


On Sat, Feb 4, 2012 at 10:53 PM, Martin Holst Swende <martin () swende se
<mailto:martin () swende se>> wrote:

    Hi,

    While scanning my cupsdaemon with some http-*, I found a flaw in the
    http backup finder. It spat out some strange folders due to a
    malfunction if it cannot determine a filename and a suffix:

    | Spidering limited to: maxdepth=3; maxpagecount=20;
    withinhost=localhost
    [snip]
    |   http://localhost:631/classes/{basename}.bak
    <http://localhost:631/classes/%7Bbasename%7D.bak>
    |   http://localhost:631/classes/{basename}.{suffix}~
    <http://localhost:631/classes/%7Bbasename%7D.%7Bsuffix%7D%7E>
    |   http://localhost:631/classes/{basename}
    <http://localhost:631/classes/%7Bbasename%7D> copy.{suffix}
    |   http://localhost:631/classes/Copy of {basename}.{suffix}
    |   http://localhost:631/classes/Copy (2) of {basename}.{suffix}
    [snip]

    Attached is a patch.
    Regards,
    Martin Holst Swende

    _______________________________________________
    Sent through the nmap-dev mailing list
    http://cgi.insecure.org/mailman/listinfo/nmap-dev
    Archived at http://seclists.org/nmap-dev/


Looks good to me, please commit it.

Done in r28015 !
/M

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: