jpluimers / fritzcap

Fork of elpatron68/fritzcap which was previously automatically exported from code.google.com/p/fritzcap
https://wiert.me/category/power-user/internet/fritz/fritzbox-fritz/
27 stars 11 forks source link

On Mac OS X, leaving out the password does not prompt for it #4

Closed jpluimers closed 7 years ago

jpluimers commented 7 years ago

On Linux:

# python fritzcap.py --capture_files -d --monitor_calls --box_name 192.168.124.23
2017-06-21 13:00:47,052 - FritzCap started.
Exter the FritzBox password:
2017-06-21 13:00:49,306 - Connect    to the call monitor service on 192.168.124.23:1012.
2017-06-21 13:00:49,315 - Connected  to the call monitor service on 192.168.124.23:1012.

On Mac OS X, you do not get the prompt:

# python fritzcap.py --capture_files -d --monitor_calls --box_name 192.168.124.23
2017-06-21 16:51:12,286 - FritzCap 2.1 started.
2017-06-21 16:51:12,292 - Connect    to the call monitor service on 192.168.124.23:1012.
2017-06-21 16:51:12,299 - Connected  to the call monitor service on 192.168.124.23:1012.

Cause is likely that - despite Mac OS X being BSD based - it doesn't represent platform.system() as Linux (and certainly not Windows).

Need to figure out the platform and also how to get the password from the console.