Hello to all.
You can say I am a semi-n00b and I started a small project in:
http://forums.remote-exploit.org/wireless/27676-how-e-z-setup-transparent-proxyed-sslstripped-wlan-based-fake-ap-6.html#post157045which is mostly based on the airbase-ng. Lately I was trying to add WEP encryption and it will be very nice if someone cleared up some things.
The (-w) option in airbase-ng says :
-w WEP key : use this WEP key to en-/decrypt packets
and man page says:
-w <WEP key>
If WEP should be used as encryption, then the parameter "-w <WEP
key>" sets the en-/decryption key. This is sufficient to let
airbase-ng set all the appropriate flags by itself. If the sof‐
tAP operates with WEP encryption, the client can choose to use
open system authentication or shared key authentication. Both
authentication methods are supported by airbase-ng. But to get a
keystream, the user can try to force the client to use shared
key authentication. "-s" forces a shared key auth and "-S <len>"
sets the challenge length.
Obviously (find out while trying various key) airbase-ng accepts only HEX keys. So, these keys must be 10 HEX characters long or 26 HEX characters long.
Using Aircrack-ng 1.0 rc3 r1552The followings are all accepted as valid keys.
40bit keys (10 characters long)
airbase-ng -w 1234567890 mon0
airbase-ng -w 12:34:56:78:90 mon0
104bit keys (26 characters long)
airbase-ng -w 12345678901234567890123456 mon0
airbase-ng -w 12:34:56:78:90:12:34:56:78:90:12:34:56 mon0
all are good until now.
Here starts the "strange" part:
11 characters long
airbase-ng -w 12345678901 mon0
airbase-ng -w 12:34:56:78:90:1 mon0
and
27 characters long
airbase-ng -w 123456789012345678901234567 mon0
airbase-ng -w 12:34:56:78:90:12:34:56:78:90:12:34:56:7 mon0
are also accepted. Don't know if this is bug and my thought was to report it.
Also, it will be nice if we could use airbase-ng with ASCII passphrases and only with HEX keys. Off course we can easily convert ASCII passwords to HEX passwords:
echo -n $WEPKEY | xxd -p
I am very sorry for my bad English and maybe the wrong place to post. (Haven't notice the BUG section)
Keep up the good work.
Nick