mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-21 22:54:40 +08:00
Merge branch 'master' of https://github.com/iceman1001/proxmark3
This commit is contained in:
commit
60faf34855
1 changed files with 2 additions and 1 deletions
|
@ -53,6 +53,7 @@ uint64_t getVikingBits(uint32_t id) {
|
||||||
ret |= checksum;
|
ret |= checksum;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
//by marshmellow
|
//by marshmellow
|
||||||
//see ASKDemod for what args are accepted
|
//see ASKDemod for what args are accepted
|
||||||
int CmdVikingRead(const char *Cmd) {
|
int CmdVikingRead(const char *Cmd) {
|
||||||
|
@ -80,7 +81,7 @@ int CmdVikingClone(const char *Cmd) {
|
||||||
|
|
||||||
rawID = getVikingBits(id);
|
rawID = getVikingBits(id);
|
||||||
|
|
||||||
UsbCommand c = {CMD_VIKING_CLONE_TAG,{rawID >> 32, rawID & 0xFFFF, Q5}};
|
UsbCommand c = {CMD_VIKING_CLONE_TAG,{rawID >> 32, rawID & 0xFFFFFFFF, Q5}};
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
//check for ACK
|
//check for ACK
|
||||||
|
|
Loading…
Reference in a new issue