biocoder-frodo / FRITZBox-SynologyLogCenterDaemon

PHP 7.2 script that records your FRITZ!Box's System Log events in your Synology NAS
MIT License
7 stars 0 forks source link

Fritzbox Login failed #6

Closed L1brTy closed 1 year ago

L1brTy commented 2 years ago

Hi, how should the content of the password file look like ?

I tried plain text and md5 hashed.

cat stats.pwdfile 12testpw

Fritzbox shows wrong password in the events.

output is : pid =484 array(5) { ["l"]=> string(34) "/volume1/homes/admin/fritzbox/logs" ["q"]=> bool(false) ["a"]=> bool(false) ["j"]=> bool(false) ["t"]=> string(4) "http" } Please come back in 128 seconds.. Login failed closing CURL session complete

Best regards

biocoder-frodo commented 2 years ago

It's in plaintext. Which user do you want the script to login with?

L1brTy commented 2 years ago

At the end I created the user stats with password 12testpw.

I called the script with sudo php72 fritzbox-syslog-daemon.php -l='/volume1/homes/admin/fritzbox/logs' -q -a -j -t=http

biocoder-frodo commented 2 years ago

Your stats.pwdfile should contain just the password, so it should be 1 line without the special characters for Carriage Return and Line Feed. If your password is 36 characters, the file size must be 36 bytes. Screenshot on Windows with Notepad++ to show an incorrect example: image

The function to show all characters is the left highlighted button in the app's toolbar.

biocoder-frodo commented 1 year ago

I think you sorted this one out yourself :)