mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
ADD: @marshmellow42 's new "-g" search for crc in a hexstring *great*
ADD: fixes in the reveng calling methods
This commit is contained in:
parent
68ff832584
commit
99789601dc
3 changed files with 126 additions and 17 deletions
|
@ -397,11 +397,10 @@ 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);
|
||||
if (!ans){
|
||||
return 0;
|
||||
}
|
||||
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