
Nmap Development mailing list archives
[PATCH]upnp-info.nse and upnp.lua
From: kaito <kaito834 () gmail com>
Date: Sat, 16 Feb 2013 19:37:43 +0900
Hi, this is kaito. 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. The packet capture is the following; http://www.cloudshark.org/captures/d0989cb2f1eb The result of upnp-info script is the following; PORT STATE SERVICE REASON 1900/udp open upnp script-set | upnp-info: | 192.168.0.106 | Server: Linux/2.6 UPnP/1.0 nasne/1.0 | Location: http://192.168.0.106:58888/ |_ Webserver: Linux/2.6 UPnP/1.0 nasne/1.0 So, I wrote a patch upnp.lua.patch. The file is attached. After the upnp.lua.patch was applied, the result is the following; PORT STATE SERVICE REASON 1900/udp open upnp script-set | upnp-info: | 192.168.0.106 | Server: Linux/2.6 UPnP/1.0 nasne/1.0 | Location: http://192.168.0.106:58888/ | Webserver: Linux/2.6 UPnP/1.0 nasne/1.0 | Name: nasne | Manufacturer: Sony Computer Entertainment Inc. | Model Descr: nasne |_ Model Name: nasne -- kaito<kaito834 () gmail com> Blog: http://d.hatena.ne.jp/kaito834/ Twitter: http://twitter.com/kaito834/
Attachment:
upnp-info.nse.patch
Description:
Attachment:
upnp.lua.patch
Description:
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [PATCH]upnp-info.nse and upnp.lua kaito (Feb 16)
- Re: [PATCH]upnp-info.nse and upnp.lua David Fifield (Feb 23)
- Re: [PATCH]upnp-info.nse and upnp.lua kaito (Feb 25)
- Re: [PATCH]upnp-info.nse and upnp.lua David Fifield (Feb 23)