Ticket #771 (new defect)
Opened 14 months ago
Error using scapy v2.2.0 with Backtrack Linux 5 R2 x86 Gnome Live-CD
|Reported by:||johann.unbekannt@…||Owned by:||pbi|
I want do use wpscrack.py with Backtrack Linux 5 R2 x86 Gnome Live-CD. Backtrack Linux 5 R2 x86 Gnome Live-CD is shipped with scapy v2.0.1. But wpscrack.py needs scapy v2.2.0. Therefore I installed scapy v2.2.0. # chmod +x setup.py # ./setup.py install --user
The installation works fine. When I now start wpscrack.py, I get the following error: /root/local/lib/python2.6/site-packages/scapy/crypto/cert.py:10: DeprecationWarning?: the sha module is deprecated; use the hash lib module instead. Import os, sys, math, socket, struct, sha, hmac, string, time /root/local/lib/python2.6/site-packages/scapy/crypto/cert.py:11: DeprecationWarning?: the popen2 module is deprecated; Use the subprocess module. Import random, popen2, tempfile
Then I did a look into the file cert.py (date: 12/08/2010) shipped with scapy v2.2.0 and the one that is installed on the Backtrack 5 R2 x86 Live-CD: v2.0.1 (date: 17/10/2011). I thought, that the one with the newer date from v2.2.0 had to work without errors, but it did not.
The I did the follwing work a round: I took the installed file cert.py from v2.0.1 and put it to the scapy v2.2.0 package. Then I installed the scapy v2.2.0 package again and the above warning is gone.
My question is, if it is O.K. to to this work a round, or does the one from v2.2.0 to be updated?