Re: [SLUG] WEP key generator.

From: Eben King (eben1@tampabay.rr.com)
Date: Tue Mar 14 2006 - 11:43:09 EST


On Tue, 14 Mar 2006, William Coulter wrote:

> If I am using wireless access should I be using WEP to help in securing the access. If not, then
> what should I use? What do you use to create the key? I am just curious.

eben@pc:~$ cat /export/bin/random-string
#! /bin/bash
length="$1"
let hex_bytes=($length+1)/2
echo -n $(dd if=/dev/random bs=$hex_bytes count=1 2> /dev/null \
| od --address-radix=none --format=x1 \
| tr -d ' \n' \
| cut -b -$length)

eben@pc:~$ random-string 26
abea520bebcd426a3337e156caeben@pc:~$

(no LF afterward... maybe I should add the option to have/not_have one)

Anyhow, that string's suitable for use a 104/"128" bit WEP key. When doing
a dictionary attack against a WEP key which you know to be alphabetically
generated, you can eliminate 130+ characters out of 255 as being not
typable (unless I have the algorithm wrong).

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Q: What kind of modem did Jimi Hendrix use? A: A purple Hayes. ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:56:51 EDT