資源簡介
NFC RFID卡 復制 數據分析
適用于ACR122U-A9 復制 分析 讀取密鑰

代碼片段和文件信息
/*??crapto1.c
????This?program?is?free?software;?you?can?redistribute?it?and/or
????modify?it?under?the?terms?of?the?GNU?General?Public?License
????as?published?by?the?Free?Software?Foundation;?either?version?2
????of?the?License?or?(at?your?option)?any?later?version.
????This?program?is?distributed?in?the?hope?that?it?will?be?useful
????but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
????MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
????GNU?General?Public?License?for?more?details.
????You?should?have?received?a?copy?of?the?GNU?General?Public?License
????along?with?this?program;?if?not?write?to?the?Free?Software
????Foundation?Inc.?51?Franklin?Street?Fifth?Floor
????Boston?MA??02110-1301?US$
????Copyright?(C)?2008-2008?bla?
*/
#include?“crapto1.h“
#include?
#if?!defined?LOWMEM?&&?defined?__GNUC__
static?uint8_t?filterlut[1?<20];
static?void?__attribute__((constructor))?fill_lut()
{
????????uint32_t?i;
????????for(i?=?0;?i?1?<20;?++i)
????????????????filterlut[i]?=?filter(i);
}
#define?filter(x)?(filterlut[(x)?&?0xfffff])
#endif
static?void?quicksort(uint32_t*?const?start?uint32_t*?const?stop)
{
uint32_t?*it?=?start?+?1?*rit?=?stop;
if(it?>?rit)
return;
while(it? if(*it?<=?*start)
++it;
else?if(*rit?>?*start)
--rit;
else
*it?^=?(*it?^=?*rit?*rit?^=?*it);
if(*rit?>=?*start)
--rit;
if(rit?!=?start)
*rit?^=?(*rit?^=?*start?*start?^=?*rit);
quicksort(start?rit?-?1);
quicksort(rit?+?1?stop);
}
/**?binsearch
?*?Binary?search?for?the?first?occurence?of?*stop‘s?MSB?in?sorted?[startstop]
?*/
static?inline?uint32_t*?binsearch(uint32_t?*start?uint32_t?*stop)
{
uint32_t?mid?val?=?*stop?&?0xff000000;
while(start?!=?stop)
if(start[mid?=?(stop?-?start)?>>?1]?>?val)
stop?=?&start[mid];
else
start?+=?mid?+?1;
return?start;
}
/**?update_contribution
?*?helper?calculates?the?partial?linear?feedback?contributions?and?puts?in?MSB
?*/
static?inline?void
update_contribution(uint32_t?*item?const?uint32_t?mask1?const?uint32_t?mask2)
{
uint32_t?p?=?*item?>>?25;
p?=?p?<1?|?parity(*item?&?mask1);
p?=?p?<1?|?parity(*item?&?mask2);
*item?=?p?<24?|?(*item?&?0xffffff);
}
/**?extend_table
?*?using?a?bit?of?the?keystream?extend?the?table?of?possible?lfsr?states
?*/
static?inline?void
extend_table(uint32_t?*tbl?uint32_t?**end?int?bit?int?m1?int?m2?uint32_t?in)
{
in?<<=?24;
for(*tbl?<<=?1;?tbl?<=?*end;?*++tbl?<<=?1)
if(filter(*tbl)?^?filter(*tbl?|?1))?{
*tbl?|=?filter(*tbl)?^?bit;
update_contribution(tbl?m1?m2);
*tbl?^=?in;
}?else?if(filter(*tbl)?==?bit)?{
*++*end?=?tbl[1];
tbl[1]?=?tbl[0]?|?1;
update_contribution(tbl?m1?m2);
*tbl++?^=?in;
update_contribution(tbl?m1?m2);
*tbl?^=?in;
}?else
*tbl--?=?*(*end)--;
}
/**?extend_table_simple
?*?using?a?bit?of?the?keystream?extend?t
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????37376??2009-12-16?00:16??acr122U\ACR122U\a122w98.sys
?????文件???????8176??2010-01-26?03:34??acr122U\ACR122U\a38ccid.cat
?????文件???????3358??2009-12-15?23:32??acr122U\ACR122U\a38ccid.inf
?????文件??????38016??2009-12-15?23:37??acr122U\ACR122U\a38ccid.sys
?????文件??????45824??2009-12-15?23:38??acr122U\ACR122U\a38ccidx64.sys
?????文件??????37888??2009-12-15?23:36??acr122U\ACR122U\a38cd98.sys
?????文件???????8170??2010-01-04?23:05??acr122U\ACR122U\acr122.cat
?????文件???????3353??2009-12-16?00:15??acr122U\ACR122U\acr122.inf
?????文件??????37632??2009-12-16?00:18??acr122U\ACR122U\acr122.sys
?????文件??????44800??2009-12-16?00:19??acr122U\ACR122U\acr122x64.sys
?????文件??????27199??2009-12-16?16:30??acr122U\ACR122U\Driver_Readme.txt
?????文件???????4043??2010-01-05?16:20??acr122U\ACR122U\Release.txt
?????文件??????10752??2014-08-31?00:07??acr122U\dump(群內首發,內測,免費).exe
?????文件???????1024??2014-11-04?09:06??acr122U\mfocGUI_v29\compiled\dumpfile?3599e435?(2014-11-04?09_06_00)?1K.dump
?????文件???????1024??2014-11-04?09:38??acr122U\mfocGUI_v29\compiled\dumpfile?8e4bd23b?(2014-11-04?09_38_14)?1K.dump
?????文件?????????96??2014-11-04?09:06??acr122U\mfocGUI_v29\compiled\Keys\a03fc16f0.dump
?????文件?????????96??2014-11-04?09:06??acr122U\mfocGUI_v29\compiled\Keys\a3599e435.dump
?????文件?????????96??2014-11-04?09:38??acr122U\mfocGUI_v29\compiled\Keys\a8e4bd23b.dump
?????文件?????????96??2014-11-04?09:06??acr122U\mfocGUI_v29\compiled\Keys\b03fc16f0.dump
?????文件?????????96??2014-11-04?09:06??acr122U\mfocGUI_v29\compiled\Keys\b3599e435.dump
?????文件?????????96??2014-11-04?09:38??acr122U\mfocGUI_v29\compiled\Keys\b8e4bd23b.dump
?????文件????????112??2014-11-04?16:47??acr122U\mfocGUI_v29\compiled\Keys\Ta1200e635.dump
?????文件????????112??2014-11-04?09:30??acr122U\mfocGUI_v29\compiled\Keys\Ta4e62d894.dump
?????文件????????112??2014-11-04?09:33??acr122U\mfocGUI_v29\compiled\Keys\Tafef3d794.dump
?????文件????????112??2014-11-04?16:47??acr122U\mfocGUI_v29\compiled\Keys\Tb1200e635.dump
?????文件????????112??2014-11-04?09:30??acr122U\mfocGUI_v29\compiled\Keys\Tb4e62d894.dump
?????文件????????112??2014-11-04?09:33??acr122U\mfocGUI_v29\compiled\Keys\Tbfef3d794.dump
?????文件?????167936??2011-03-13?19:23??acr122U\mfocGUI_v29\compiled\mfocGUI.exe
?????文件?????773120??2011-03-13?19:23??acr122U\mfocGUI_v29\compiled\mfocGUI.pdb
?????文件??????38912??2010-09-07?21:59??acr122U\mfocGUI_v29\compiled\nfc.dll
............此處省略139個文件信息
評論
共有 條評論