ant-thomas / zsgx1hacks

Hacks for ZS-GX1 IP Camera and various Goke GK7102 based IP Cameras
365 stars 102 forks source link

Change RTSP password? #42

Open xenio opened 6 years ago

xenio commented 6 years ago

I like to connect the camera to a cloud to keep the recordings, is there a way to change the RTSP password? It is now user:admin and blank password.

ant-thomas commented 6 years ago

So far I don't think a way has been found.

xenio commented 6 years ago

Any idea where the user/password are? Is it hardcoded in the firmware?

lukasz-glowacki commented 6 years ago

RTSP Login: admin RTSP Password: dg20160404

Following links works for me: rtsp://admin:dg20160404@camera_ip_address/onvif1 rtsp://admin:dg20160404@camera_ip_address/onvif2

xenio commented 6 years ago

@lukasz-glowacki thanks but my camera has admin with no password, I was asking a way to change/set the password. I have the camera exposed to the internet and this is not a good thing, I have a restrict access with fixed ip via nat on the router.

ant-thomas commented 6 years ago

I suppose the idea with these cameras is you shouldn't be exposing them to the internet because of the cloud app - which I realise we've disabled.

cptX commented 6 years ago

@lukasz-glowacki Hi, how did you find the password and the rtsp link. I have been trying several weeks to connect to rtsp but was not successful. see the thread I openned https://github.com/ant-thomas/zsgx1hacks/issues/30

lukasz-glowacki commented 6 years ago

@cptX I found it there: https://www.youtube.com/watch?v=QDHUVUvunEw

detxm80 commented 5 years ago

hi, there is no way to protect rstp stream with a password?

Fietspomp86 commented 5 years ago

Found this for my DG-MYQ camera: Link to download from Diggo site With this you can change the stream's password, maybe it can be implemented somehow?

detxm80 commented 5 years ago

hi guys, news from rstp password stream?

Fietspomp86 commented 5 years ago

Did you not read my comment? You can change the password using my link. Adjust password in ini file and copy this together with bin file to see. Boot and volia, password is set. Boot custom firmware again and password is still set.

https://www.mydigoo.com/downfile.html?path=/mydigoo/20181008/5bbc16ced92d5-MYQ%20Onvif%20password%20changing.zip

Fietspomp86 commented 5 years ago

Another very simple way is to FTP into your camera if this hack is installed, go to /home/ and there is a file called hwcfg.ini. Open it and change the line passwd = *******

Of course change the **** into your desired password

haylanderlandim commented 4 years ago

If it still works for someone. I accessed the camera by telnet and added the parameter passwrd = ****** using vi /home/hwcfg.ini

bisewski001 commented 3 years ago

If it still works for someone. I accessed the camera by telnet and added the parameter passwrd = ****** using vi /home/hwcfg.ini

Hi Mrs...Is need to install the hack or we can set with a standard? Can you explain more how you did this? Thank you

lukasz-glowacki commented 3 years ago

Hi Mrs...Is need to install the hack or we can set with a standard? Can you explain more how you did this? Thank you

You don't need to install hack to set or change rtsp password. Just telnet to camera with password cxlinux and edit mentioned file by vi editor.

bisewski001 commented 3 years ago

Hi Mrs...Is need to install the hack or we can set with a standard? Can you explain more how you did this? Thank you

You don't need to install hack to set or change rtsp password. Just telnet to camera with password cxlinux and edit mentioned file by vi editor.

Hi Lukasz...I open the file in Telnet but this is the text inside: model = CloudCamera main_bps = 768 sensor_position = 0 support_ptz = 1 ptz_mcu = 1 support_eth = 1 sound_detect = 1 ir_detect_type = 2 adc_setting_max = 700 adc_setting_min = -300 support_onvif = 1

As you can see, I dont have the passwd field...Can I put this field without problem? How can I save this file edit ?

Thank you Lukasz....

lukasz-glowacki commented 3 years ago

As you can see, I dont have the passwd field...Can I put this field without problem? How can I save this file edit ?

Yes, just add new entry in config file: passwd = yourpassword

You may google how to use vi editor.