Greetings. I have the same problem dahua dh-ipc-hfw1230sp camera - I can’t get a snapshot, it requires a password ...
I tried the options:
http://192.168.1.108/cgi-bin/snapshot.cgi?username=admin&password=admin
http://192.168.1.108/cgi-bin/snapshot.cgi?u=admin&p=admin...