kimocoder / wifite2

Rewrite of the popular wireless network auditor, "wifite" - original by @derv82
https://github.com/derv82/wifite2
GNU General Public License v2.0
960 stars 165 forks source link

Errors on Arch or Manjaro #26

Closed Ashutosh-Kukreti closed 4 years ago

Ashutosh-Kukreti commented 4 years ago

Hi, I installed it on manjaro from AUR and it is given the following output

`[+] enabling monitor mode on wlp6s0... enabled wlp6s0mon

[+] Scanning. Found 0 target(s), 0 client(s). Ctrl+C when ready

[!] Error: [Errno 2] No such file or directory: 'tshark'

[!] Full stack trace below

[!] Traceback (most recent call last):

[!] File "/usr/share/wifite2/wifite/main.py", line 93, in entry_point

[!] wifite.start()

[!] File "/usr/share/wifite2/wifite/main.py", line 54, in start

[!] self.scan_and_attack()

[!] File "/usr/share/wifite2/wifite/main.py", line 78, in scan_and_attack [!] s = Scanner()

[!] File "/usr/share/wifite2/wifite/util/scanner.py", line 42, in init

[!] self.targets = airodump.get_targets(old_targets=self.targets)

[!] File "/usr/share/wifite2/wifite/tools/airodump.py", line 163, in get_targets [!] Tshark.check_for_wps_and_update_targets(capfile, targets)

[!] File "/usr/share/wifite2/wifite/tools/tshark.py", line 177, in check_for_wps_and_update_targets [!] p = Process(command)

[!] File "/usr/share/wifite2/wifite/util/process.py", line 89, in init

[!] self.pid = Popen(command, stdout=sout, stderr=serr, stdin=stdin, cwd=cwd, bufsize=bufsize)

[!] File "/usr/lib/python3.8/subprocess.py", line 854, in init

[!] self._execute_child(args, executable, preexec_fn, close_fds,

[!] File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child [!] raise child_exception_type(errno_num, err_msg, err_filename)

[!] FileNotFoundError: [Errno 2] No such file or directory: 'tshark'

[!] Exiting

[!] Note: Leaving interface in Monitor Mode! [!] To disable Monitor Mode when finished: airmon-ng stop wlp6s0mon`

Ashutosh-Kukreti commented 4 years ago

Installing dependencies like tshark fixed it or install it from here: https://aur.archlinux.org/packages/wifite2-git/