So to crack a wifi password we will be using fluxion :
GitHub - FluxionNetwork/fluxion: Fluxion is a remake of linset by vk496 with enhanced functionality.
1. cd fluxion ; sudo ./fluxion ; select 2 option to capture handshake and make your customized attack.
The captured handshake will be saved in '/fluxion/attacks/Handshake Snooper/handshakes'
2. After capturing the handshake : aircrack-ng (.cap file just drag and drop the file path) -w (word list path) and that's it , we are brute forcing the handshake , if the aircrack is slow then try to use hashcat , go to the hashcat converter :
https://hashcat.net/cap2hashcat/
and convert the .cap file to a hc22000 and then try to use hashcat.
fluxion also have the evil twin attack but it's not that efficient just crack the .cap file.
For hotspot use rockyou.txt and for routers search online for wpa2/wpa wordlists.
to capture a handshake you can also use automated tool like pwngotchi