Skip to content

Upnp utility for device discovery and scan (+ export as json)

License

Notifications You must be signed in to change notification settings

4thel00z/upnpctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upnpctl

Usage:

                                                                             _..._                
                                                                          .-'_..._''.       .---. 
           _________   _...._         _..._   _________   _...._        .' .'      '.\      |   | 
           \        |.'      '-.    .'     '. \        |.'      '-.    / .'                 |   | 
            \        .'''''.    '. .   .-.   . \        .'''''.    '. . '               .|  |   | 
             \      |       \     \|  '   '  |  \      |       \     \| |             .' |_ |   | 
   _    _     |     |        |    ||  |   |  |   |     |        |    || |           .'     ||   | 
  | '  / |    |      \      /    . |  |   |  |   |      \      /    . . '          '--.  .-'|   | 
 .' | .' |    |     |\''-.-'   .'  |  |   |  |   |     |\''-.-'   .'   \ '.          .|  |  |   | 
 /  | /  |    |     | '-....-''    |  |   |  |   |     | '-....-''      '. '._____.-'/|  |  |   | 
|   ''.  |   .'     '.             |  |   |  |  .'     '.                 '-.______ / |  '.''---' 
'   .'|  '/'-----------'           |  |   |  |'-----------'                        '  |   /       
 '-'  '--'                         '--'   '--'                                        ''-'

Usage:
  upnpctl [flags]
  upnpctl [command]

Available Commands:
  help        Help about any command
  monitor     Monitor HTTPU packages and print them on stdout
  scan        Scan the network for possible Devices and persist them

Flags:
  -h, --help   help for upnpctl

Use "upnpctl [command] --help" for more information about a command.

Example Usages

Scanning

Save a scan of your local network to a json file:

upnpctl scan > /tmp/scan.json

Usage:

Scan the network for possible Devices and persist them

Usage:
  upnpctl scan [flags]

Flags:
  -h, --help       help for scan
  -j, --json       --json (default true)
  -n, --num int    --num <num> (default 10)
  -w, --wait int   --wait <num> (default 30)

Monitor

Monitor the device discovery (or other httpu packages):

upnpctl monitor

Usage:

Monitor HTTPU packages and print them on stdout

Usage:
  upnpctl monitor [flags]

Flags:
  -a, --addr string    --addr <hostname>:<port> (default "239.255.255.250:1900")
  -h, --help           help for monitor
  -i, --iface string   --iface <interfacename>
  -m, --multicast      --multicast <true|false> (default true)
  -p, --print-body     --print-body <true|false> (doesn't really make sense for ssdp discovery)

About

Upnp utility for device discovery and scan (+ export as json)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages