https://github.com/4thel00z/upnpctl
Upnp utility for device discovery and scan (+ export as json)
https://github.com/4thel00z/upnpctl
httpu scan scan-tool scanner upnp upnp-listener
Last synced: 11 months ago
JSON representation
Upnp utility for device discovery and scan (+ export as json)
- Host: GitHub
- URL: https://github.com/4thel00z/upnpctl
- Owner: 4thel00z
- License: mit
- Created: 2019-10-16T22:41:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-24T18:44:29.000Z (over 3 years ago)
- Last Synced: 2024-11-24T16:52:11.663Z (over 1 year ago)
- Topics: httpu, scan, scan-tool, scanner, upnp, upnp-listener
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 (default 10)
-w, --wait int --wait (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 : (default "239.255.255.250:1900")
-h, --help help for monitor
-i, --iface string --iface
-m, --multicast --multicast (default true)
-p, --print-body --print-body (doesn't really make sense for ssdp discovery)
```