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

Unassociated clients are not available on results object #47

Open
CommandCracker8 opened this issue Dec 2, 2022 · 5 comments
Open

Unassociated clients are not available on results object #47

CommandCracker8 opened this issue Dec 2, 2022 · 5 comments
Assignees
Milestone

Comments

@CommandCracker8
Copy link

Hey there. When I run the example in the readme, I get the following error:

Traceback (most recent call last):
  File "/home/commandcracker8/Desktop/Phone-Triangulation/test.py", line 28, in <module>
    asyncio.run(scan_for_targets())
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/commandcracker8/Desktop/Phone-Triangulation/test.py", line 14, in scan_for_targets
    airmon = pyrcrack.AirmonNg()
  File "/usr/local/lib/python3.10/dist-packages/pyrcrack/airmon.py", line 19, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/pyrcrack/executor.py", line 102, in __init__
    check()
  File "/usr/local/lib/python3.10/dist-packages/pyrcrack/executor.py", line 70, in check
    assert b'Aircrack-ng 1.6' in subprocess.check_output(
AssertionError

How do I fix this?

Your Environment

  • Python version used: 3.10.8
  • Operating System: Kali GNU/Linux Rolling x86_64
@XayOn
Copy link
Owner

XayOn commented Dec 2, 2022

Which aircrack Ng version do you have? It works with 1.6 only

@CommandCracker8
Copy link
Author

Pretty sure it's not 1.6 but I just removed the checks to make it work lmao. Quick question: how can I scan for devices like my phone? airodump-ng shows those but pyrcrack doesn't.

@XayOn
Copy link
Owner

XayOn commented Dec 2, 2022

@CommandCracker8 Yep, I'm guessing Kali does have 1.7 now, I'll be making a release shortly that only emits a warning on 1.7 (as I haven't tested it on 1.7, but should work).

How are you using it? If you're using the example, note that by default it only will show access points... and you're looking for a client :)
You can find all clients connected to an AP by using the ap object's "clients" property.

I just realized unassociated clients will probably not be accesible atm. I'm going to keep this issue open to address that limitation.

@XayOn XayOn changed the title "AssertionError" when "airmon = pyrcrack.AirmonNg()" Unassociated clients are not available on results object Dec 3, 2022
@XayOn XayOn self-assigned this Dec 3, 2022
@XayOn XayOn added this to the 1.3.0 milestone Dec 3, 2022
@CommandCracker8
Copy link
Author

@XayOn Alright. Any idea when you'll be able to make unassociated clients available?

Funnily enough I was just about to ask if they can be accessed haha.

@wvthoog
Copy link

wvthoog commented Feb 11, 2023

I am also interested in this

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