Open nguyentrungduc1 opened 4 months ago
Help me @Ullaakut
Hi @nguyentrungduc1. I'm not sure why, but it's looking like Cameradar is attempting to access not one URL but two:
> DESCRIBE rtsp://192.168.1.7:554// RTSP/1.0 > 2
> Stream rtsp://:@192.168.1.7:554// uses digest authentication method
This one works fine.
> Perform failed for "rtsp://38:AF:29:DA:71:81:554/" (auth 0): curl: URL using bad/illegal format or missing URL
That one does not.
I assume this is due to the network configuration of your machine, that attempts to reach the camera using both IPv4 and IPv6. Regardless, the IPv4 attempt seems to have worked, and Cameradar simply failed because the default credentials from its dictionaries do not match with the camera.
Thank you @Ullaakut . I think the problem is that when you say http://myuser:myp@ssword@host.example.com/file, it sees the username as myuser, the password as myp, and the host as ssword@host.example.com which is obviously wrong.
I'm only interested in this rtsp stream
Perform failed for "rtsp://admin:9phuong@dung@192.168.1.7:554//" (auth 2): curl: Couldn't resolve host name
stream rtsp with unnecessary MAC address!
Ah indeed, that is the problem. Cameradar currently does not support passwords and users with @
or :
characters in them unfortunately. I'm not sure if it would be possible to fix, since it uses CURL which relies on the full URL.
Thank you so much @Ullaakut
Context
Please select one:
Please select one:
Environment
My operating system:
OS version: <kali linux 2023.4> OS architecture:
Issue
<curl: Couldn't resolve host name>
What was expected
<escape '@' in curl password>
What happened
<when the password file has the @ character. curl notification: curl: Couldn't resolve host name. That's my camera password.>
Logs