Skip to content

Instantly share code, notes, and snippets.

@mzahor
Created December 10, 2017 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mzahor/a004c5fc335b0648709f1e45ac9487fb to your computer and use it in GitHub Desktop.
Save mzahor/a004c5fc335b0648709f1e45ac9487fb to your computer and use it in GitHub Desktop.
RFID bruteforce
import itertools
import re
alphabet = '0123456789abcdef'
def crack():
for combination in itertools.combinations_with_replacement(alphabet, 12):
combostring = ''.join((combination))
bites = [int(bite, 16) for bite in re.findall('..', combostring)]
print(bites)
crack()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment