Open Termux and update the package list using the command:
Create a wordlist or use an existing one containing possible passwords. Use aircrack-ng to perform a brute force attack:
pkg install aircrack-ng iw
iw dev wlan0 scan This command will display nearby wifi networks.