I'm trying to understand the protocol that Dahua ConfigTool uses to setup a camera. Below are some packets from ConfigTool that I captured.
As you see in the first packet, the camera sends a challenge with:
And in the second packet, ConfigTool replies with:
Can anyone please help me to understand what protocol is used here? In the first packet, the encryption is 'Default'. What is Default? And in the second packet, password is sent in a hash (that I guess is an MD5 hash). How would I generate that hash?
Basically, I would like to know how I would construct the 2nd packet?
Thanks,
DM
As you see in the first packet, the camera sends a challenge with:
38:af:29:d4:22:11IPCrealm:Login to 4H0693CPAA95AAE
random:da72da72
encryption: Default
random:da72da72
encryption: Default
And in the second packet, ConfigTool replies with:
38:af:29:d4:22:11IPCuserName:admin
password:AF7D0BF2FFFCA9AF7AD315A5B68844C8
authorityType: Default
password:AF7D0BF2FFFCA9AF7AD315A5B68844C8
authorityType: Default
Can anyone please help me to understand what protocol is used here? In the first packet, the encryption is 'Default'. What is Default? And in the second packet, password is sent in a hash (that I guess is an MD5 hash). How would I generate that hash?
Basically, I would like to know how I would construct the 2nd packet?
Thanks,
DM
Last edited: