WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.86k stars 965 forks source link

Encoder installer problem #8910

Open para2022 opened 3 months ago

para2022 commented 3 months ago

Now when i install the encoder it stores the password as plain text and i am unable to login. Whilst that encoder is on the encoder network the remote login passwords all store as hashed and they can login fine. I am unable to login locally from the streamer site or the encoder locally as it says the streamer site cannot be found. The streamer site installed fine and i can login fine and its admin password is hashed but the encoder admin password is not hashed its plain text. Ive tried installing it 3 times and same problem.

DanielnetoDotCom commented 3 months ago

If you mean the password in the configuration.php file, it was always like that and cannot be hashed

do not worry about security, because if someone can access the content of your configuration.php your server is already dead.

regarding your login, I do not know, you may need to check your apache logs

para2022 commented 3 months ago

No in the mysql database it is plain text and it definately shouldnt be

DanielnetoDotCom commented 3 months ago

I see what do you mean

This is just in the first login

Once you login again it will be a hash

I will update the installation to also save a hash

para2022 commented 3 months ago

No matter how many times i install the encoder it will not login as admin to the streamer site it is attached to. The installer completes so it can read the admin details but it will not login in and the only problem i can see is that the admin password in the encoder is plain text. Other than that remote users can login but not the admin user from the encoders streamer site.

Screenshot 2024-03-20 at 21 06 46

[20-Mar-2024 21:06:39 Europe/London] mystreamersite/streamer/ == mystreamersite/streamer/ [20-Mar-2024 21:06:39 Europe/London] login.json: Login::run [20-Mar-2024 21:06:39 Europe/London] Login::run (admin, ***, https://mystreamersite/streamer/, false) [20-Mar-2024 21:06:39 Europe/London] Login::run request login user (admin) [20-Mar-2024 21:06:39 Europe/London] Login::run request login complete user (admin) [20-Mar-2024 21:06:39 Europe/London] Get Login fail, try again user (admin) [20-Mar-2024 21:06:39 Europe/London] Login::run Error on Login context [20-Mar-2024 21:06:39 Europe/London] https://mystreamersite/streamer/login?user=admin&pass=mypasswordPass=false [20-Mar-2024 21:06:39 Europe/London] Login:: done session_id = bo8085b59i9iriqkpnd8rsrsc9 session_login

DanielnetoDotCom commented 3 months ago

Hi

if the login fails, please check your streamer to see what happened

milehighkaraoke commented 2 months ago

https ?