Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something missed with pmkid? #124

Closed
avin opened this issue Aug 16, 2018 · 2 comments
Closed

Something missed with pmkid? #124

avin opened this issue Aug 16, 2018 · 2 comments

Comments

@avin
Copy link

avin commented Aug 16, 2018

got an error, seems something missed?

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/wifite2/wifite/attack/pmkid.py", line 150, in dumptool_thread
    dumptool = HcxDumpTool(self.target, self.pcapng_file)
  File "/opt/wifite2/wifite/tools/hashcat.py", line 82, in __init__
    self.proc = Process(command)
  File "/opt/wifite2/wifite/util/process.py", line 89, in __init__
    self.pid = Popen(command, stdout=sout, stderr=serr, cwd=cwd, bufsize=bufsize)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

@avin avin changed the title What missing? Something missed with pmkid? Aug 16, 2018
@ragefan
Copy link

ragefan commented Aug 16, 2018

Hi,
I ve got the same issue 👍

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

[!] Full stack trace below

[!] Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/root/tools/wifite2/wifite/attack/pmkid.py", line 150, in dumptool_thread
dumptool = HcxDumpTool(self.target, self.pcapng_file)
File "/root/tools/wifite2/wifite/tools/hashcat.py", line 82, in init
self.proc = Process(command)
File "/root/tools/wifite2/wifite/util/process.py", line 89, in init
self.pid = Popen(command, stdout=sout, stderr=serr, cwd=cwd, bufsize=bufsize)
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
[!] File "/root/tools/wifite2/wifite/attack/all.py", line 57, in attack_single
[!] result = attack.run()
[!] File "/root/tools/wifite2/wifite/attack/pmkid.py", line 70, in run
[!] pmkid_file = self.capture_pmkid()
[!] File "/root/tools/wifite2/wifite/attack/pmkid.py", line 92, in capture_pmkid
[!] pmkid_hash = pcaptool.get_pmkid_hash(self.pcapng_file)
[!] File "/root/tools/wifite2/wifite/tools/hashcat.py", line 110, in get_pmkid_hash
[!] hcxpcap_proc = Process(command)
[!] File "/root/tools/wifite2/wifite/util/process.py", line 89, in init
[!] self.pid = Popen(command, stdout=sout, stderr=serr, cwd=cwd, bufsize=bufsize)
[!] File "/usr/lib/python2.7/subprocess.py", line 394, in init
[!] errread, errwrite)
[!] File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
[!] raise child_exception
[!] OSError: [Errno 2] No such file or directory

@derv82 derv82 closed this as completed in 6adca64 Aug 16, 2018
@derv82
Copy link
Owner

derv82 commented Aug 16, 2018

Whoops, forgot to test without hashcat + hcxdumptools + hcxtools installed.

In wifite 2.1.8, it will now say:

Skipping PMKID attack, missing required tools: hcxdumptool, hcxpcaptool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants