Basic Authotecation for Snapshot in Browser?

BGChicago

Young grasshopper
Apr 17, 2016
61
17
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?
 
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
 
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.
 
  • Like
Reactions: TonyR