Skip to content

Instantly share code, notes, and snippets.

@Wemmy0
Created August 5, 2024 18:31
Show Gist options
  • Save Wemmy0/501186bc5d114ca60d4019b98e561fe3 to your computer and use it in GitHub Desktop.
Save Wemmy0/501186bc5d114ca60d4019b98e561fe3 to your computer and use it in GitHub Desktop.
Creates a badusb file with all combinations of a 4 pin code
# import time
# start = time.process_time()
delay = 50
with open("4-pin bruteforce.txt", "w+") as file:
for i in range(0, 10000):
print(f"{i:04d}")
file.write(f"STRING {i:04d}\n")
file.write(f"DELAY {delay})
file.write(f"ENTER\n")
# print(f"Taken {time.process_time() - start}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment