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

How can I get fingerprint and upload fingerprint template to device #15

Open kazi-zubair opened 8 years ago

shassain commented 8 years ago

perdón no escribo bien el ingles así que responderé en español, Puedes obtenerlo desde el dispositivo con el comando CMD_CAPTUREFINGER=1009, o si sabes con que algoritmo trabaja tu dispositivo puedes subirlo con CMD_USERTEMP_WRQ=10 al dispositivo (debes tener muy en cuenta el algoritmo con el cual encrypta la imagen de la huella digital). espero te sirva

kazi-zubair commented 7 years ago

Thank you shassin for your kind reply. What I understood translating it to English is you are saying I can upload user template by CMD_USERTEMP_WRQ command. I have tried it. Unfortunately the device replies with CMD_ACK_UNKNOWN=0xffff .I have attempted capturing the packet that the zkaccess software sends to device while writing fingerprint to it. It seems that it communicates with CMD_DATA = 1501. I don't understand all of the bytes in this packet and the algorithm I am using to generate checksum(from zklib) seems generate different checksum for the same packet and that's why the device sometimes don't reply at all when I use to upload fingerprint. If you have any experience writing template to zk device then it would be a great help if you help me to do so. You can contact to my email kzubair.bd@gmail.com if you want. any suggestion would be appreciated.

SnguonTheara commented 7 years ago

Can you some code with that?

xgamanet commented 4 years ago

perdón no escribo bien el ingles así que responderé en español, Puedes obtenerlo desde el dispositivo con el comando CMD_CAPTUREFINGER=1009, o si sabes con que algoritmo trabaja tu dispositivo puedes subirlo con CMD_USERTEMP_WRQ=10 al dispositivo (debes tener muy en cuenta el algoritmo con el cual encrypta la imagen de la huella digital). espero te sirva

No existe informacion para armar el template y enviarlo,... tan solo para descargarlo... tu tienen algun codigo para eso?

shassain commented 4 years ago

Hace un par de años que no veo ese tema, pero ultimamente lo utilize con C# y no con php si le interesa, responda a este mensaje.

El sáb., 28 de mar. de 2020 a la(s) 01:44, xgamanet ( notifications@github.com) escribió:

perdón no escribo bien el ingles así que responderé en español, Puedes obtenerlo desde el dispositivo con el comando CMD_CAPTUREFINGER=1009, o si sabes con que algoritmo trabaja tu dispositivo puedes subirlo con CMD_USERTEMP_WRQ=10 al dispositivo (debes tener muy en cuenta el algoritmo con el cual encrypta la imagen de la huella digital). espero te sirva

No existe informacion para armar el template y enviarlo,... tan solo para descargarlo... tu tienen algun codigo para eso?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dnaextrim/php_zklib/issues/15#issuecomment-605400534, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBL5HGQNL2RKQU62CJV4WTRJWFEZANCNFSM4CO3N3XA .

xgamanet commented 4 years ago

Si no se puede hacer en php entonces en C#, el desarrollo que tenemos en C# es con el 4500 y un inbio de 4 puertas para guardar y verificar las huellas, pero esta solucion es muy costosa, para eso mejor queremos usar los mb160 que ademas tienen para rostro 3D... crees que nos puedas ayudar?

El dom., 29 de mar. de 2020 a la(s) 18:50, shassain ( notifications@github.com) escribió:

Hace un par de años que no veo ese tema, pero ultimamente lo utilize con C# y no con php si le interesa, responda a este mensaje.

El sáb., 28 de mar. de 2020 a la(s) 01:44, xgamanet ( notifications@github.com) escribió:

perdón no escribo bien el ingles así que responderé en español, Puedes obtenerlo desde el dispositivo con el comando CMD_CAPTUREFINGER=1009, o si sabes con que algoritmo trabaja tu dispositivo puedes subirlo con CMD_USERTEMP_WRQ=10 al dispositivo (debes tener muy en cuenta el algoritmo con el cual encrypta la imagen de la huella digital). espero te sirva

No existe informacion para armar el template y enviarlo,... tan solo para descargarlo... tu tienen algun codigo para eso?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/dnaextrim/php_zklib/issues/15#issuecomment-605400534 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACBL5HGQNL2RKQU62CJV4WTRJWFEZANCNFSM4CO3N3XA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dnaextrim/php_zklib/issues/15#issuecomment-605729771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7ALZY22FVIMR2TW7LQ7C3RJ7UEDANCNFSM4CO3N3XA .

-- Ing. David Durán Meza Soluciones en Informática Fatrian.com Celular (477) 581-40-60 Oficina (477) 830-01-29 y 30

ChiKaLiO commented 3 years ago

did anyone solve it ? c# would be good too since it's needed for the fingerscanner