A python script that creates ducky script for bad usbs that can be used to unlock android lock screen
You can simply copy-paste the ducky script from payload.txt file into your bad usb or if you want to create you own ducky script with some changes then you can use ducky_writer.py file
I've tested the timeouts on android 11 and it works fine till 50 attempts and I had no time to wait for more to see the increased timeouts after those attempts. So I have simply put default delay of 2 minutes for every attempt after 50 tries. If you guys know about the increased timeouts after 50 attempts then make sure to update it in ducky_writer.py file.
The order of the pins in the script is based on four-digit-pin-codes-sorted-by-frequency-withcount.csv by danielmiessler