Nmap Development mailing list archives

Re: [PATCH]upnp-info.nse and upnp.lua


From: David Fifield <david () bamsoftware com>
Date: Sat, 23 Feb 2013 21:00:53 -0800

On Sat, Feb 16, 2013 at 07:37:43PM +0900, kaito wrote:
I wrote patches for upnp-info.nse and upnp.lua.

I done upnp-info script to nasne(http://nasne.com/), the device does not
respond to unicast M-SEARCH request. So, I wrote a patch upnp-info.nse.patch;
The file is attached. I wrote to blog post for the patch.

http://d.hatena.ne.jp/kaito834/20130211/1360549131 (Japanese)
http://translate.google.co.jp/translate?sl=ja&tl=en&u=http%3A%2F%2Fd.hatena.ne.jp%2Fkaito834%2F20130211%2F1360549131

Whether the upnp-info.nse.patch was applied or not, upnp-info script
failed to retrieve xml file. The upnp-info script sent http request uri is
"0x2f 0x0d" in when tried to retrieve xml from 58888/tcp.

I applied your upnp.lua.patch, thanks.

I am not so sure about upnp-info.nse.patch. The patch changes the script
to send a multicast request instead of a unicast request, then discard
the results that do not match the desired address. Could you instead try
the broadcast-upnp-info script, which does this already?
http://nmap.org/nsedoc/scripts/broadcast-upnp-info

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


Current thread: