ابزار Miranda یک ابزار نوشته شده با زبان Python جهت یافتن، Query زدن و ایجاد ارتباط با دستگاه های UPNP است. به خصوص دستگاه های Internet Gateway مانند aka و Router ها. این ابزار برای Audit کردن دستگاه های UPNP در سطح اینترنت جهت کشف آسیب پذیری ها هم مورد استفاده قرار می گیرد. برخی از امکانات این ابزار به شرح زیر می باشد. این ابزار برای لینوکس نوشته شده است و بر روی Linux 2.6 با Python 2.5 تست شده است.
Interactive shell with tab completion and command history Passive and active discovery of UPNP devices Customizable MSEARCH queries (query for specific devices/services) Full control over application settings such as IP addresses, ports and headers Simple enumeration of UPNP devices, services, actions and variables Correlation of input/output state variables with service actions Ability to send actions to UPNP services/devices Ability to save data to file for later analysis and collaboration Command logging
لینک منبع: https://code.google.com/p/mirandaupnptool/
لایسنس: MIT
سازنده: Craig Heffner
نمونه دستور:
[email protected]:~# miranda -h Command line usage: /usr/bin/miranda [OPTIONS] -s Load previous host data from struct file -l Log user-supplied commands to log file -i Specify the name of the interface to use (Linux only, requires root) -u Disable show-uniq-hosts-only option -d Enable debug mode -v Enable verbose mode -h Show help
نمونه عملکرد واقعی دستور:
برنامه در حالت verbose و با Start نمودن اینترفیس eth0 و به صورت discovery mode اجرا شده است.
[email protected]:~# miranda -i eth0 -v Binding to interface eth0 ... Verbose mode enabled! upnp> msearch Entering discovery mode for 'upnp:rootdevice', Ctl+C to stop... **************************************************************** SSDP notification message from 192.168.1.230:80 XML file is located at http://192.168.1.230:80/description.xml Device is running FreeRTOS/6.0.5, UPnP/1.0, IpBridge/0.1