Closed L1brTy closed 1 year ago
It's in plaintext. Which user do you want the script to login with?
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
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:
The function to show all characters is the left highlighted button in the app's toolbar.
I think you sorted this one out yourself :)
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