Nmap Development mailing list archives

Re: Type in script http-webdav-scan


From: nnposter <nnposter () users sourceforge net>
Date: Wed, 22 Feb 2017 20:05:59 -0700



On 2/21/17 5:19 PM, Galen Lyngholm wrote:
I'm not sure if this is the right list for this or not, but it appears
there's a regex issue in line 98 of the http-webdav-scan.nse script

local oct_1, oct_2, oct_3, oct_4 =
matched_ip:match('(%d%d?%d?)%.(%d%d?%d?)%.(%d%d?%d)%.(%d%d?%d?)')

should probably be 

local oct_1, oct_2, oct_3, oct_4 =
matched_ip:match('(%d%d?%d?)%.(%d%d?%d?)%.(%d%d?%d?)%.(%d%d?%d?)')


Hello Galen,
Thank you for reporting the issue. It has been fixed in r36579 together
with another bug in the same pattern.

https://svn.nmap.org/nmap/scripts/http-webdav-scan.nse

Cheers,
nnposter
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: