Created
December 10, 2017 13:28
-
-
Save mzahor/a004c5fc335b0648709f1e45ac9487fb to your computer and use it in GitHub Desktop.
RFID bruteforce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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