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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Roberto Santalla (roobre) - Tuesday, 22 January 2013, 10:00 GMT
Sorry, forgot to add [aircrack-ng-scripts] in the title ><.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 23 January 2013, 23:44 GMT
The Python2 pylorcon module is just named "lorcon".

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.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 24 January 2013, 23:51 GMT
Updated the python2-pylorcon package and changed the name to PyLorcon2. It should appear in [community] shortly. Does it work now?
Comment by Alexander F. Rødseth (xyproto) - Friday, 25 January 2013, 12:03 GMT
There was a problem with a weird path to liborcon2.so in lorcon.py.

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.
Comment by Balló György (City-busz) - Friday, 06 September 2013, 16:48 GMT
I dropped airdrop-ng from our aircrack-ng package, because it requires liborcon-1, but we have liborcon-2 in our repositories already. We can enable it again with the next release of aircrack-ng.

Loading...