pyrcrack
pyrcrack copied to clipboard
No steps to import the modules and work with it.
Can you give a detailed step by step instruction as to how to use the module in my python code?
Just check the source code. Here is an example on how to use Airodump, I read the code in https://github.com/XayOn/pyrcrack/blob/master/pyrcrack/scanning.py
Good luck
from pyrcrack.scanning import Airodump
kwargs = {
'output-format': 'csv,pcap',
'channel': 1,
'write': '/tmp/capture'
}
airodump_process = Airodump(self.iface, **kwargs)
airodump_process.start()
And have in account that this has not been in active development for a while. Sorry
PRs are welcome of course 😀😉
El mié., 1 mar. 2017 7:47, Leonardo Lazzaro [email protected] escribió:
Just check the source code. Here is an example on how to use Airodump, I read the code in https://github.com/XayOn/pyrcrack/blob/master/pyrcrack/scanning.py
Good luck
from pyrcrack.scanning import Airodump kwargs = { 'output-format': 'csv,pcap', 'channel': 1, 'write': '/tmp/capture' } airodump_process = Airodump(self.iface, **kwargs) airodump_process.start()
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/XayOn/pyrcrack/issues/1#issuecomment-283259375, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGirkzcDCL4Qt3w3JG85yt5hLWUjPHpks5rhRRzgaJpZM4L5X4z .
Hey @uncommonthinker @llazzaro FYI pyrcrack now currently has improved quite a bit, and I'm working on a better documentation set.
I'm reopening this issue and hijacking it a bit to document it.
Could you please explain to me how to fix this import error
It is the Airelay example
@Kriz1618 that shouldn't happen.
Are you, by any chance, executing the examples from the develop branch but having a stable release installed? 😃
As you have pyrcrack installed directly as root, I can guess you did a "sudo pip install pyrcrack", instead of installing from the repo.
That's perfectly valid, except that you need to use the examples for that release, you can't use modern examples on an older release. I don't know wich release you installed, so you need to figure that out, download the relase zip, and run the examples from there.
It's either that, installing it with poetry from the repo, (sudo -E - is useful for this), or waiting for the next major release and upgrade everything.
Yes, I've installed it with sudo pip3
@Kriz1618 Then, as I said, it wouldn't have worked because you were using unreleased examples with a released version. I've set up "main" branch as the public main branch so that confusion shouldn't happen again, main branch and doc will be synced with latest released version from now on.
I'm closing this issue and will be opening a new one for an improved documentation