kimocoder/wifite2

wifite exiting after CTRL+C

tracid1987 opened this issue · 8 comments

Hello

I am using a notebook with Atheros AR9285 inbuilt WIFI adapter under live booted Kali Linux persistence mode. (unfortunately i dont have any USB WIFI Adapter yet and in order to use the inbuilt WIFI module i should not use VM. Monitor mode and Packet injection is working on this WIFI module.
update/upgrade of system was done. Python version is 3.10.5
So when i run wifite in terminal it loads - it does not report any missing components, only conflicting services which i have killed after and re-run wifite. It lists the available WIFI networks and give me the option to push CTRL+C when ready. If i push this combination it terminates wifite and returns to command line but also writes out the line with "[+] select target(s) (1-1) separated by commas..." and after that immediately "Finished at tacking 0 target(s), exiting".
I cannot make choices, it writes out these lines after CTRL+C without giving me any chance then exits.
Where could be the problem? I believe it is on my side. Unfortunately i cant find better place to share my issue, sorry. Live Kali is the problem?
Can i save logs to share with you?
Thanks

Sure, feel free. give me output of "lsusb" "airmon-ng" and which wifite2 version ur runing 👍

I think the lsusb would be useless since i am not using USB WIFI adapter. I am using my laptops inbuilt WIFI card based on Atheros AR9285. It has surely the needed abilities because i have succesfully cracked my own WIFI password using airmon,aireplay, aircrack with this inbuilt card. Is it possible that wifite is not dealing with inbuilt cards only with USB adapters?
By the way wifite version is 2.6.0.

If i can share any other info, log, please let me know. If you still need lsusb log then i can share it.

Thank you

Maybe the following issues are related, however they are too old and have been fixed alredy. but still may exist some rare occassions.
derv82/wifite#3
derv82#103

Combinations like Kali Linux Live boot and inbuilt WIFI card. I believe not much people are using this combination.

This is how it looks like on my laptop:
https://youtu.be/oN58PEoVYWg

I have just installed Kali in dualboot mode on my other laptop which has different WIFI adapter too (Its an Intel Wifi Link 5100) and wifite behaves the same (i did not update/upgrade the system yet on my other laptop but i am sure the problem is the same and upgrade wont change anything)
So laptop no.1 live boot Atheros AR9285
Laptop no.2 dualboot Intel WIFI Link 5100
and the problem is the same. It looks like wifite is not accepting inbuilt WIFI cards?

Today i have discovered something:
-if i run just "wifite" then after pushing CTRL+C it automatically terminates the script leaving behind the target select line without allowing to interact

BUT! for example
-if i run wifite with "wifite -p 20" and i dont do anything then after 20 seconds it starts cracking the found WIFI AP .
-if i run wifite with "wifite -e (ESSID)" then it automatically starts cracking selected WIFI AP.

So it is actually working. But for some reason it is terminating itself if i run only "wifite" without parameters. I have tried to uninstall and purge wifite then reinstalling, no difference. And as i have mentioned before i have tried it on two different laptops with different inbuilt WIFI cards.
Could it be some kind of rare bug around inbuilt WIFI cards? how can i download useful logs?

Sorry late answer, I need output from "airmon-ng" and "lspci" 👍

I am new to linux and this stuff so i hope you mean these:

──(root㉿kali)-[~]
└─# airmon-ng

PHY Interface Driver Chipset

lspci: -d: Invalid vendor ID
phy0 wlan0 ath9k

┌──(root㉿kali)-[~]
└─# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation HM55 Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 425M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
03:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
04:00.0 USB controller: Fresco Logic Device 1400 (rev 01)
06:00.0 Ethernet controller: Qualcomm Atheros AR8131 Gigabit Ethernet (rev c0)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
ff:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 05)
ff:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)
ff:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)

That chipset is very supported. Try updating to wifite2 v2.6.8 from git and try reproducing the issue.