mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Merge pull request #2452 from Foxushka/master
fm11rf08s script: Use last 4 bytes from UID, fixes crash on FM11RF08S-7B
This commit is contained in:
commit
6be55598c7
2 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
|
||||||
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log...
|
||||||
|
|
||||||
## [unreleased][unreleased]
|
## [unreleased][unreleased]
|
||||||
|
- Fixed fm11rf08s script for non-4B UID (FM11RF08S-7B) (@Foxushka)
|
||||||
- Fixed missing require of ansicolors in `lf_hid_bulkclone_v2.lua` script (@whiteneon)
|
- Fixed missing require of ansicolors in `lf_hid_bulkclone_v2.lua` script (@whiteneon)
|
||||||
- Added `lf_t55xx_reset.lua` - a script to aid in quickly resetting t55xx chips (@whiteneon)
|
- Added `lf_t55xx_reset.lua` - a script to aid in quickly resetting t55xx chips (@whiteneon)
|
||||||
- Added more fingerprinting in `hf mf info` (@doegox)
|
- Added more fingerprinting in `hf mf info` (@doegox)
|
||||||
|
|
|
@ -64,10 +64,12 @@ p = pm3.pm3()
|
||||||
|
|
||||||
p.console("hf 14a read")
|
p.console("hf 14a read")
|
||||||
uid = None
|
uid = None
|
||||||
|
|
||||||
if p.grabbed_output is not None:
|
if p.grabbed_output is not None:
|
||||||
for line in p.grabbed_output.split('\n'):
|
for line in p.grabbed_output.split('\n'):
|
||||||
if "UID:" in line:
|
if "UID:" in line:
|
||||||
uid = int(line[10:].replace(' ', ''), 16)
|
uid = int(line[10:].replace(' ', '')[-8:], 16)
|
||||||
|
|
||||||
if uid is None:
|
if uid is None:
|
||||||
print("Card not found")
|
print("Card not found")
|
||||||
exit()
|
exit()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue