mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-30 20:07:55 +08:00
simplified findbits.main() loop
This commit is contained in:
parent
ee0ef5c5d7
commit
c3631ff82e
1 changed files with 2 additions and 2 deletions
|
@ -85,11 +85,11 @@ def main():
|
|||
16:'HEX',
|
||||
}
|
||||
|
||||
for base in 2,8,10,16:
|
||||
for base, base_name in sorted(bases.iteritems()):
|
||||
try:
|
||||
number= int(sys.argv[1],base)
|
||||
print
|
||||
print 'Trying', bases[base]
|
||||
print 'Trying', base_name
|
||||
# do BINARY as specified to preserve leading zeros
|
||||
if base == 2:
|
||||
domatch(sys.argv[1],sys.argv[2])
|
||||
|
|
Loading…
Reference in a new issue