Вы находитесь на странице: 1из 4

d@enu<dot>net

AirSnort Installation on Windows


Wednesday, 08 October 2003

#--- [ Tutorial AirSnort on Windows ] ---#

(c) 2003 by d.walther (d.walther@wireless-bern.ch) - Wireless-Bern.ch

-- Introduction -------------AirSnort is a wireless LAN (WLAN) tool which recovers encryption keys (WEP). AirSnort operates by passively monitoring transmissions, computing the encryption key when enough packets have been gathered.AirSnort requires approximately 5-10 million encrypted packets to be gathered. Once enough packets have been gathered, AirSnort can guess the encryption password in under a second.

This tutorial will show you, how you are able to intall this tool on a windows-based machine. Attention: This installation isn't so easy as a "normal" windows application.

If you find some errors or you are missing something, please contact me.

-- Requirements ---------------

- Download the AirSnort source code. A windows makefile is included. >> http://sourceforge.net/projects/airsnort

- AirSnort for Windows uses the Windows ports of GNU libiconv, GNU gettext runtime for Win32, GLIB and GTK+1.3, you have also to download the developer packages (e.g. gtk+-1.3.0-20030717.zip, glib-2.2.3.zip, gtk+-dev-1.3.020030115.zip, glib-dev-2.2.3.zip, gettext-runtime-0.12.1.bin.woe32.zip, libiconv-1.9.1.bin.woe32.zip). >> http://www.gimp.org/~tml/gimp/win32/index.html >> http://www2.arnes.si/~sopjsimo/gimp/ (binary packages of GIMP and GTK+1.3)

- Unfortunately, the AirSnort for Windows distribution don't contains any drivers. so you have to download them by yourself. You have to download a demo version of AiroPeek or AiroPeek NX from WildPackets. >> http://www.wildpackets.com

-- Installation ------------http://daenu.net/joomla Powered by Joomla! Generated: 1 June, 2013, 10:34

d@enu<dot>net

Now you should have the following files (Filenames are depending on the programversion):

- airsnort-0.2.2.tar.gz

- gtk+-1.3.0-20030717.zip

- glib-2.2.3.zip

- gtk+-dev-1.3.0-20030115.zip

- glib-dev-2.2.3.zip

- gettext-runtime-0.12.1.bin.woe32.zip

- libiconv-1.9.1.bin.woe32.zip

- demo version of AiroPeek or AiroPeek NX from WildPackets

First you have to unpack the following files:

- airsnort-0.2.2.tar.gz

- gtk+-1.3.0-20030717.zip

- glib-2.2.3.zip

- gtk+-dev-1.3.0-20030115.zip

- glib-dev-2.2.3.zip

- gettext-runtime-0.12.1.bin.woe32.zip

- libiconv-1.9.1.bin.woe32.zip

Now you have to copy some directories to another places: X:\gtk+-dev-1.3.0-20030115\include\gdk--->X:\airsnort-0.2.2\gdkX:\gtk+-dev-1.3.0-20030115\include\gtk--->X:\airsnort0.2.2\gtkX:\glib-dev-2.2.3\include\glib-2.0\glib--->X:\airsnort-0.2.2\glibX:\glib-dev-2.2.3\include\glib-2.0\gobject-->X:\airsnort-0.2.2\gobject

Now you have to copy some files to another place:X:\glib-dev-2.2.3\include\glib-2.0\*.*--->X:\airsnort-0.2.2\src (3 files)X:\glib-dev-2.2.3\lib\glib-2.0\include\glibconfig.h--->X:\airsnort-0.2.2\src\glibconfig.hX:\gtk+-dev-1.3.020030115\lib\gtk+\include\gdkconfig.h--->X:\airsnort-0.2.2\src\gdkconfig.h


http://daenu.net/joomla Powered by Joomla! Generated: 1 June, 2013, 10:34

d@enu<dot>net

Libraries: X:\glib-dev-2.2.3\lib\glib-2.0.lib--->X:\Program Files\Microsoft Visual Studio\VC98\Lib\glib-2.0.libX:\gtk+-dev-1.3.020030115\lib\gdk.lib--->X:\Program Files\Microsoft Visual Studio\VC98\Lib\gdk.libX:\gtk+-dev-1.3.0-20030115\lib\gtk.lib-->X:\Program Files\Microsoft Visual Studio\VC98\Lib\gtk.lib

If you have installed the MS Visual Studio 6.0 Libraries in another directory than X:\Program Files\Microsoft Visual Studio\VC98\Libs, then you have to change the Value of the variable "VC_LIBS" in the "windows.mak" file in the following directory X:\airsnort-0.2.2 .

After you have copied all diretories and files, your able to compile AirSnort.

To compile AirSnort, please enter the following command (in the Command Line Interface or Dos-Box): X:\airsnort-0.2.2> nmake /f windows.mak

There will be created some directories during the compilation (e.g. bin).

After the compilation you have to copy some other files into the bin directory from AirSnort: X:\gettext-runtime-0.12.1.bin.woe32\bin\intl.dll--->X:\airsnort-0.2.2\bin\intl.dllX:\libiconv-1.9.1.bin.woe32\bin\iconv.dll-->X:\airsnort-0.2.2\bin\iconv.dllX:\glib-2.2.3\bin\libglib-2.0-0.dll--->X:\airsnort-0.2.2\bin\libglib-2.0-0.dllX:\glib2.2.3\bin\libgmodule-2.0-0.dll--->X:\airsnort-0.2.2\bin\libgmodule-2.0-0.dllX:\gtk+-1.3.0-20030717\lib\libgdk-0.dll-->X:\airsnort-0.2.2\bin\libgdk-0.dllX:\gtk+-1.3.0-20030717\lib\libgtk-0.dll--->X:\airsnort-0.2.2\bin\libgtk-0.dllX:\Program Files\WildPackets\AiroPeek\Peek3.vxd--->X:\airsnort-0.2.2\bin\Peek3.vxdX:\Program Files\WildPackets\AiroPeek\Peek4.sys--->X:\airsnort-0.2.2\bin\Peek4.sysX:\Program Files\WildPackets\AiroPeek\Peek5.sys--->X:\airsnort-0.2.2\bin\Peek5.sys

Now you're able to start the AirSnort (X:\airsnort-0.2.2\bin\airsnort.exe)

The names of the network devices are the registrykeys from these devices. If you want to know which key is corresponding to which device, you have to have a look into the registry: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards

I've compiled AirSnort under WinXP (with MS Visual Studio 6.0), but it should work under Win2k, WinNT and Win9x too.

-- Disclaimer ------------These informations are supplied without liability. I take no respnsibility for any errors and blue screens! You will make this installation at your own risk.
http://daenu.net/joomla Powered by Joomla! Generated: 1 June, 2013, 10:34

d@enu<dot>net

-- References ------------- http://airsnort.shmoo.com - http://www.gimp.org/~tml/gimp/win32/index.html

http://daenu.net/joomla

Powered by Joomla!

Generated: 1 June, 2013, 10:34