FS#33510 - [aircrack-ng-scripts] Airdrop-ng doesn't run due to pylorcon error
Attached to Project:
Community Packages
Opened by Roberto Santalla (roobre) - Tuesday, 22 January 2013, 09:58 GMT
Last edited by Balló György (City-busz) - Friday, 06 September 2013, 16:49 GMT
Opened by Roberto Santalla (roobre) - Tuesday, 22 January 2013, 09:58 GMT
Last edited by Balló György (City-busz) - Friday, 06 September 2013, 16:49 GMT
|
Details
Description:
If you install aircrack-ng-scripts, and all its dependencies, you'll find that airdrop-ng doesn't work. The output looks like this: Did you read the readme? You seem to be missing PyLorcon2 No module named PyLorcon2 ################################################# # Welcome to AirDrop-ng # ################################################# Traceback (most recent call last): File "/usr/bin/airdrop-ng", line 1007, in <module> except PyLorcon2.Lorcon2Exception ,e: NameError: name 'PyLorcon2' is not defined Unfortunately, I have no python knowledges, but as far as I could see on that file, it seems that the include to pylorcon module fails. Steps to reproduce: ~# airdrop-ng -i mon0 -r rules -t *csv -n 0.33 |
This task depends upon
Closed by Balló György (City-busz)
Friday, 06 September 2013, 16:49 GMT
Reason for closing: Won't fix
Additional comments about closing: airdrop-ng dropped
Friday, 06 September 2013, 16:49 GMT
Reason for closing: Won't fix
Additional comments about closing: airdrop-ng dropped
python2
>>> import lorcon
works. However, python2 -m lorcon fails, since it's looking for /tmp/lorcon/lib/liborcon2.so, for some reason.
I think this bug belongs to the python2-pylorcon package. I'll look at the issue. Thanks for reporting.
Fixed this and updated the package in [community].
Now it seems to work, so I'm assigning this bug back to aircrack-ng-scripts:
~% python2
Python 2.7.3 (default, Dec 22 2012, 21:14:12)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyLorcon2
>>> PyLorcon2.Lorcon()
<PyLorcon2.Lorcon object at 0x7fb7a3ce8910>
>>>
However, "airdrop-ng -i mon0 -r rules -t *csv -n 0.33" still says:
"Pylorcon error, do you have it installed?"
Despite that it is installed.
The updated python2-pylorcon package should appear in [community] shortly.