It seems pretty easy to reveal WEP passwords by software if you have used that password before connecting to a certain wifi access point. But if the wireless router filters MAC addresses, you need to get around that by changing your device MAC address. It is pretty simple to do on windows platforms. However, for an iPhone or iPod Touch, these steps may be taken (haven’t been verified yet):

  1. Install the Terminal app on your device, load it up and type the following at the prompt:
    ifconfig en0 lladdr 00:00:00:00:00:01
  2. The command will change your MAC address to “00:00:00:00:00:01″ so substitute it for whatever you want.
  3. This change will not be reflected in the Settings menu but typing “ifconfig” will confirm the change.
  4. Now all you have to do is to write a script to execute the command every time your device restarts.

For those who have got passwords only in hex, you can just type that hex code in or add a ‘$’ at the beginning of the code (try another if one doesn’t work).

Now comes to the hardest part: is there a way to hack into a wireless network that I have never got access before? Here is an article you might have interest reading.