Python 3.11 and lower require alternating quote types in f-strings
This commit is contained in:
1 parent
3d72176f4d
commit
4840f7aef7
1 file changed
+2
-2
@@ -85,7 +85,7 @@ def discoverKeys():
|
||||
# -c specifies commands within proxmark 3 software
|
||||
cmd_list = [pm3Location / pm3Command,"-o","-c", f"trace load -f {trace}; trace list -1 -t mf -f {dictionaryFilepath}; exit"];
|
||||
print(f"Viewing tracelog with {len(keyList)} discovered keys")
|
||||
print(f"pm3 {" ".join(cmd_list[1:])}")
|
||||
print(f"pm3 {' '.join(cmd_list[1:])}")
|
||||
result = subprocess.run(cmd_list, shell=os.name == 'nt',stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
output = result.stdout;
|
||||
|
||||
@@ -192,7 +192,7 @@ def bruteForce(args):
|
||||
cmd_list = [pm3Location / mfNonceBruteCommand] + args
|
||||
print(" Running bruteforce command:")
|
||||
print(" ",end = "")
|
||||
print(f"tools/mf_nonce_brute {" ".join(cmd_list[1:])}")
|
||||
print(f"tools/mf_nonce_brute {' '.join(cmd_list[1:])}")
|
||||
result = subprocess.run(cmd_list, shell=os.name == 'nt', stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
#Parse out the key
|
||||
|
||||
Reference in new issue
Block a user