Windows – Export / Recover WEP and WPA Wireless Keys

KB ID 0001015 

Problem

If you need to connect to your wireless network with a new machine and have forgotten the key, you can view the WEP or WPA key in cleartext using the following procedure on a machine that has connected before.

Solution

1. First launch PowerShell, ensure you ‘Run as administrator‘.

2. To show all the wireless profiles stored on this machine, issue the following command;

[box]

netsh wlan show profiles

[/box]

3. From the output above, the wireless profile I want the key for, is called SMOGGYNINJA-N. Note: This is the same as the Wireless networks SSID. To view the wireless key in clear text use the following command;

[box]netsh wlan show profiles name=”SMOGGYNINJA-N” key=clear[/box]

You can also export the profile from one PC to another one, (so you don’t have to enter the key on the new PC), with the following two commands.

To Export a Wireless Profile

[box]md c:WiFi
netsh wlan export profile “SMOGGYNINJA-N” folder=c:Wifi [/box]

To Import a Wireless Profile

Copy the WiFi folder you created in the step above, to the new PC/Laptop. Then execute the following command. Note: Change the section in red to match the path to your XML file.

[box]netsh wlan add profile filename=”c:WiFiWi-Fi-SMOGGYNINJA-N.xml” user=current[/box]

Related Articles, References, Credits, or External Links

Hacking Wireless WEP Keys with BackTrack and Aircrack-ng

Tether your iPhone or Using your iPhone as a Wireless Access Point (without jail breaking it)

KB ID 0000373 

Problem

Before you start, your provider has to allow tethering of your iPhone, if the option is not there you need to speak to them, some carriers will want to charge you more for the privilege, others will not care, thats not Apples fault, nor is it mine 🙂

Secondly, before you all start mailing in to berate me, yes I know I’m not turning my phone into a wireless access point, what I’m actually doing is tethering via bluetooth, which is very different, but if you in a hotel, or airport lounge with your laptop, do you want to argue semantics or get online?

Update: iPhone Personal Wireless Hotspot feature coming in version 4.3

Solution

Unfortunately (if you don’t like it) you have to have iTunes installed on the PC in question. This will put on all the Apple mobile device drivers you require.

1. If you are going to tether by the USB cable or via Bluetooth, the setup is the same. On the phone go to Settings > General > Network.

2. Select Internet Tethering, again if it’s not there, speak to your carrier/provider > it will be switched off by default.

3. Switch it on.

4. If you are connected via USB cable wait a few seconds and it will connect.

5. If you want to use bluetooth you will need to pair the phone and your computer, turn on bluetooth and pair the device.

6. The settings on your PC/Laptop will differ.

7. This is the sort of thing we are looking for.

8. On the PC Start > Devices and Printers > Locate the iPhone > Right click Connect using > Access Point.

9. All the while tethering is on, your phone will tell you.

Note: The performance you get will differ between USB and bluetooth, here are a couple of examples,

Via USB.

Via Bluetooth

 

Related Articles, References, Credits, or External Links

NA