From 09c8f829b0def949d02862bc5b86dfbc30b70b1e Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Fri, 14 Jun 2024 19:50:25 -0700 Subject: [PATCH] Add additional messages and instructions --- traceKeyExtractor.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/traceKeyExtractor.py b/traceKeyExtractor.py index 39a04ad..a73447a 100644 --- a/traceKeyExtractor.py +++ b/traceKeyExtractor.py @@ -48,16 +48,23 @@ def main(): dictionaryFilepath = os.path.abspath(dictionaryFilename) print(f"Saved dictionary to {dictionaryFilepath}") + #Instruct the user to create a trace file + print() + print("Start by creating a trace file. In the proxmark terminal, execute command `hf 14a sniff -c -r`.") + print("Then, place the Proxmark3 between the RFID reader and spool.") + print("Load in filament and wait for the process to complete, then press the button on the Proxmark3.") + print("Finally, in the proxmark terminal, execute command `trace save -f [FILEPATH]` to create the trace file.") + print("See the GitHub repository for more details.") + print() + #Get the tracename/filepath from user - print(""); trace = input("Enter trace name or full trace filepath: ") - discoverKeys(); + discoverKeys() - print(f"In proxmark terminal, execute command `hf mf fchk -f {dictionaryFilepath} --dump`") - print(" to create a keyfile from this dictionary") - print() - print("Then execute `hf mf dump` to dump the contents of the RFID tag") + print("Keys obtained. Remove the spool from the AMS and place the Proxmark3 on the spool's tag.") + print(f"In proxmark terminal, execute command `hf mf fchk -f {dictionaryFilepath} --dump` to create a keyfile from this dictionary.") + print("Then, execute `hf mf dump` to dump the contents of the RFID tag.") #Loop 16 times to attempt to extract all 16 keys from the tracefile