diff options
author | lassulus <lassulus@googlemail.com> | 2013-05-24 17:25:38 +0200 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-05-24 17:25:38 +0200 |
commit | 2bafe012acd61e90a4a3481f004a71a0378506c1 (patch) | |
tree | 813bdce7798ac7931aa15453f0a7a9a2096270dd /usr/bin | |
parent | cdb4bf2e4370757325452b70ade06aed79a643d5 (diff) |
more comments
Diffstat (limited to 'usr/bin')
-rwxr-xr-x | usr/bin/autowifi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi index fcb5b59c..46a3b7f9 100755 --- a/usr/bin/autowifi +++ b/usr/bin/autowifi @@ -73,12 +73,13 @@ iwlist_scan(){ done; print_iwlist_env ;echo WIFI_COUNT=$count) } crack_wifi(){ + #SSID MAC CHANNEL ENCRYPTION WPA WPA2 if [ "$4" == off ];then encr=open - elif [ "$5" -eq 1 ]; then - encr=psk elif [ "$6" -eq 1 ]; then encr=psk2 + elif [ "$5" -eq 1 ]; then + encr=psk elif [ "$4" == on ]; then encr=wep fi |