Nmap Development mailing list archives
[NSE] sip-extensions.nse
From: Hani Benhabiles <kroosec () gmail com>
Date: Fri, 29 Jun 2012 20:41:42 +0100
Hi list, description = [[ Scans a numeric range of SIP extensions to find valid ones. The script works by sending REGISTER SIP requests to the server with thespecified extension number and checking for the response status code in order
to know if an extension is valid. If a response status code is 401 or407, it means that the extension is valid and requires authentication. If the
response status code is 200, it means that the extension exists and doesn't require any authentication while a 403 response status code means thatextension exists but access is forbidden. To skip false positives, the script
begins by sending a REGISTER request for a random extension and checking for response status code. ]] --- --@args sip-extensions.minext Extension value to start enumeration from. -- Defaults to <code>0</code>. -- --@args sip-extensions.maxext Extension value to end enumeration at. -- Defaults to <code>999</code>. -- --@args sip-extensions.padding Number of digits to pad zeroes up to. -- Defaults to <code>0</code>. No padding if this is set to zero. -- --@args sip-extensions.threads Number of threads to use. -- Defaults to <code>1</code>. -- --@usage -- nmap --script=sip-extensions -sU -p 5060 <targets> -- -- nmap --script=sip-extensions -sU -p 5060 <targets> -- script-args sip-extensions.padding=4, sip-extensions.minext=1000, -- sip-extensions.maxext=9999 -- --@output -- 5060/udp open sip -- | sip-extensions: -- | 101 : Authentication required. -- | 112 : Authentication required. -- |_ 150 : No authentication. -- Hani Benhabiles Twitter: https://twitter.com/#!/kroosec Blog: http://kroosec.blogspot.com
Attachment:
sip-extensions.nse
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [NSE] sip-extensions.nse Hani Benhabiles (Jun 29)
- Re: [NSE] sip-extensions.nse Patrik Karlsson (Jun 29)
- Re: [NSE] sip-extensions.nse Hani Benhabiles (Jun 30)
- Re: [NSE] sip-extensions.nse Patrik Karlsson (Jun 29)