dnaextrim / php_zklib

Attendance Machine Library for PHP with a connection to the network using the UDP protocol and port 4370
http://dnaextrim.github.io/php_zklib/
GNU General Public License v2.0
162 stars 135 forks source link

set Communication Key ? #6

Open MohHeader opened 9 years ago

MohHeader commented 9 years ago

How can we set a Communication key for the Library.

The Communication key is a password used by the machine so that only Auth. Requests are valid.

Thanks,

MostafaNaguib commented 9 years ago

I haven't tried the lib yet, but same question, how to set the Comm key

dnaextrim commented 9 years ago

sorry I could not develop this library again because I already resigned from where I work and I do not have attendance machine to develop this library

MostafaNaguib commented 9 years ago

if you set the communication key to '0' then the lib connects with no problems at all tested and working fine

MohHeader commented 9 years ago

@dnaextrim , no worries :) @MostafaNaguib , Yes it is working, But it is considered a security hole, to keep it 0;

lostsnow commented 9 years ago

anyone else have a solution?

omarouhari commented 8 years ago

I use python_zklib to set user information and get attendance from device. My issues are: I can’t read the last attendance, I can’t set the cardnumber of a user, I can’t set a user with uid > 255

Thanks you to your help. I will be happy if you help me find a solution cause I am realy blocked.

aelaz commented 4 years ago

Same Problem. Any solutions ?

lostsnow commented 4 years ago

Same Problem. Any solutions ?

https://github.com/cobisja/tad-php/issues/5#issuecomment-106260926