mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-06 05:01:17 -07:00
reveng -g (model search given just hexstr with crc)
This commit is contained in:
parent
53ee28cb3a
commit
d2219cae51
4 changed files with 139 additions and 25 deletions
|
@ -397,8 +397,9 @@ static int l_reveng_models(lua_State *L){
|
|||
|
||||
if( in_width > 89 ) return returnToLuaWithError(L,"Width cannot exceed 89, got %d", in_width);
|
||||
|
||||
uint32_t width = (uint32_t)in_width;
|
||||
int ans = GetModels(models, &count, &width);
|
||||
uint8_t width[80];
|
||||
width[0] = (uint8_t)in_width;
|
||||
int ans = GetModels(models, &count, width);
|
||||
if (!ans) return 0;
|
||||
|
||||
lua_newtable(L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue