Skip to content

Commit

Permalink
Move build system to CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
mfontanini committed Feb 6, 2016
1 parent 00dd93e commit 9e22034
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4,480 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
PROJECT(dot11decrypt)

FIND_PACKAGE(libtins REQUIRED)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")

ADD_EXECUTABLE(dot11decrypt dot11decrypt.cpp)
TARGET_LINK_LIBRARIES(dot11decrypt ${LIBTINS_LIBRARIES})
32 changes: 0 additions & 32 deletions Makefile.in

This file was deleted.

10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ as well, but I haven't had the chance to try it.
## Compilation ##
-----

In order to compile, just do the usual:
In order to compile, run:


```Shell
./configure
mkdir build
cd build
cmake ..
make
```

Expand All @@ -57,7 +59,7 @@ In order to decrypt WPA2, the application waits for Beacon frames, so
as to identify the BSSIDs associated with each SSID. Afterwards,
it waits for EAPOL handshakes, which are required for decryption. Note
that if the 4-way handshake is not processed, then decryption will not
be successfull. After that, the traffic sent by clients for which the
be successful. After that, the traffic sent by clients for which the
handshake was captured will be decrypted.


Expand All @@ -79,6 +81,6 @@ to listen and the decryption options:
./dot11decrypt mon0 wep:00:01:02:03:04:05:blahbleehh
```

The *wpa:* option allows you to decrypt
The *wpa:* option allows you to decrypt both WPA and WPA2 encrypted packets.

You can provide as many decryption data tuples as you want.
Loading

0 comments on commit 9e22034

Please sign in to comment.