Get unlock passcode of a jailbroken iPad/iPhone using TransLock Bruteforce Tool
libTransLock is a tweak you'll need to compile with Theos and install on the device.


Install Theos.
Clone libTransLock to a folder on your computer.
Connect your jailbroken device with USB.
Run make package install in the cloned folder.
SSH into your jailbroken device.
Run tail -f /var/log/syslog on your device to watch the syslog. You should see lines like

Testing : 0000
Testing : 0001
⋮
Password is : 1234


That's the password!
Once you're back in, uninstall the tweak in Cydia.