totev / vodafone-station-cli

Access your Vodafone Station from the comfort of the command line.
MIT License
35 stars 8 forks source link

add a option / environment variable to select the protocol http/https #65

Open MaxPeal opened 2 years ago

MaxPeal commented 2 years ago

please add a option / environment variable to select the protocol http/https

totev commented 2 years ago

@MaxPeal Does the vodafone-station expose it's services via HTTPS?

Mine doesn't:

❯ nmap 192.168.0.1
Starting Nmap 7.92 ( https://nmap.org ) at 2022-07-04 22:23 CEST
Stats: 0:00:42 elapsed; 0 hosts completed (1 up), 1 undergoing Connect Scan
Connect Scan Timing: About 98.45% done; ETC: 22:24 (0:00:01 remaining)
Nmap scan report for kabelbox (192.168.0.1)
Host is up (0.0024s latency).
Not shown: 998 filtered tcp ports (no-response)
PORT   STATE SERVICE
53/tcp open  domain
80/tcp open  http

Nmap done: 1 IP address (1 host up) scanned in 43.27 seconds