Basic Authotecation for Snapshot in Browser?

BGChicago

Young grasshopper
Joined
Apr 17, 2016
Messages
61
Reaction score
16
Hello hive minds,
Does anyone know at what firmware level Dahua disabled basic authentication for snapshots? (http://username:password@IP_Address/cgi-bin/snapshot.cgi)

Alternatively, is there a way to create a snapshot to FTP on request only via SSH or some sort of browser HTML call?
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,905
Reaction score
39,342
Location
Alabama
Code:
http://username:password@Camera-IP/cgi-bin/snapshot.cgi?
Note the "?" at the end of the URL

FWIW, I have an Amcrest (re-branded Dahua) IP2M-841 that provides a snapshot using the above URL with Chrome and Firefox but not IE11.
The Amcrest f/w is from August of last year: Software VersionV2.420.AC00.18.R, Build Date: 2019-08-03
 

BGChicago

Young grasshopper
Joined
Apr 17, 2016
Messages
61
Reaction score
16
Code:
http://username:password@Camera-IP/cgi-bin/snapshot.cgi?
Note the "?" at the end of the URL

FWIW, I have an Amcrest (re-branded Dahua) IP2M-841 that provides a snapshot using the above URL with Chrome and Firefox but not IE11.
The Amcrest f/w is from August of last year: Software VersionV2.420.AC00.18.R, Build Date: 2019-08-03
The ? is for additional parameters. For NVR, ?channel=X etc.

IE11 blocks basic authentication. I can also get it to work in a browser without a loging popup but after I wireshark-ed I realized that the browsers are smart enough to translate the user and pass in the URL to a digest authentication.
 
Top