Skip to content

Commit 26d974a

Browse files
committed
Test with real data
1 parent 4273562 commit 26d974a

8 files changed

+58729
-18
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ RUN pip3 install --no-cache-dir -r requirements.txt
1616

1717
COPY . .
1818

19+
# Checek the code
20+
RUN python3 -m pytest
21+
22+
RUN rm -r test_data
23+
1924
# Install hcxtools
2025
RUN git clone https://github.com/ZerBea/hcxtools.git ; cd hcxtools ; make ; make install
2126

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ Dependencies:
8080
sudo apt install tshark
8181
sudo apt install python3 python3-pip
8282

83+
sudo apt install pkg-config libcurl4-openssl-dev libssl-dev zlib1g-dev make gcc
84+
85+
8386
git clone https://github.com/ZerBea/hcxtools.git
8487
cd hcxtools
8588
make

test_data/test-01.cap

44.4 MB
Binary file not shown.

test_data/test-01.csv

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
BSSID, First time seen, Last time seen, channel, Speed, Privacy, Cipher, Authentication, Power, # beacons, # IV, LAN IP, ID-length, ESSID, Key
3+
F0:9F:C2:71:22:12, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 6, 54, , CCMP TKIP, PSK, -29, 333, 165, 0. 0. 0. 0, 11, wifi-mobile,
4+
F0:9F:C2:AA:19:29, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 1, 54, WEP, WEP, , -28, 1137, 41301, 0. 0. 0. 0, 8, wifi-old,
5+
F0:9F:C2:1A:CA:25, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 11, 54, , TKIP, SAE PSK, -28, 331, 20, 0. 0. 0. 0, 7, wifi-IT,
6+
F0:9F:C2:6A:88:26, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 11, 54, OPN, , , -28, 331, 0, 0. 0. 0. 0, 9, ,
7+
F0:9F:C2:11:0A:24, 2023-10-20 14:33:06, 2023-10-20 14:35:01, 11, 54, , TKIP, SAE, -28, 330, 0, 0. 0. 0. 0, 15, wifi-management,
8+
F0:9F:C2:71:22:17, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 44, 54, WPA2, CCMP, MGT, -28, 471, 7491, 0. 0. 0. 0, 11, wifi-global,
9+
F0:9F:C2:71:22:16, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 44, 54, WPA2, CCMP, MGT, -28, 471, 83, 0. 0. 0. 0, 13, wifi-regional,
10+
F0:9F:C2:71:22:1A, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 44, 54, WPA2, CCMP, MGT, -28, 471, 22, 0. 0. 0. 0, 9, wifi-corp,
11+
F0:9F:C2:7A:33:28, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 44, 54, WPA2, CCMP, MGT, -28, 471, 42, 0. 0. 0. 0, 21, wifi-regional-tablets,
12+
F0:9F:C2:71:22:15, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 44, 54, WPA2, CCMP, MGT, -28, 471, 0, 0. 0. 0. 0, 9, wifi-corp,
13+
C6:A3:56:D3:44:B2, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 6, 54, , CCMP TKIP, PSK, -28, 333, 0, 0. 0. 0. 0, 9, WIFI-JUAN,
14+
F0:9F:C2:71:22:10, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 6, 54, OPN, , , -28, 333, 124, 192.168. 10.100, 10, wifi-guest,
15+
B2:9B:00:EE:FB:EB, 2023-10-20 14:33:06, 2023-10-20 14:35:02, 6, 54, WPA2, CCMP, PSK, -28, 333, 0, 0. 0. 0. 0, 14, MiFibra-5-D6G3,
16+
17+
Station MAC, First time seen, Last time seen, Power, # packets, BSSID, Probed ESSIDs
18+
64:32:A8:AD:AB:53, 2023-10-20 14:33:06, 2023-10-20 14:34:57, -49, 60, (not associated) ,wifi-corp-legacy
19+
78:C1:A7:BF:72:46, 2023-10-20 14:33:06, 2023-10-20 14:35:00, -49, 84, (not associated) ,wifi-offices,Jason
20+
B4:99:BA:6F:F9:45, 2023-10-20 14:33:06, 2023-10-20 14:35:02, -49, 96, (not associated) ,wifi-offices,Jason
21+
02:00:00:00:06:00, 2023-10-20 14:33:44, 2023-10-20 14:34:48, -49, 4, (not associated) ,
22+
4E:E6:C2:58:FC:24, 2023-10-20 14:33:06, 2023-10-20 14:35:02, -29, 41203, F0:9F:C2:AA:19:29,
23+
64:32:A8:BA:18:42, 2023-10-20 14:33:06, 2023-10-20 14:35:02, -29, 6316, F0:9F:C2:71:22:17,
24+
64:32:A8:BC:53:51, 2023-10-20 14:33:06, 2023-10-20 14:35:02, -29, 834, F0:9F:C2:71:22:17,open-wifi,home-WiFi,WiFi-Restaurant
25+
80:18:44:BF:72:47, 2023-10-20 14:33:09, 2023-10-20 14:35:02, -29, 74, F0:9F:C2:71:22:10,
26+
28:6C:07:6F:F9:44, 2023-10-20 14:33:09, 2023-10-20 14:35:01, -29, 201, F0:9F:C2:71:22:12,wifi-mobile,AP_router
27+
64:32:A8:AC:53:50, 2023-10-20 14:33:09, 2023-10-20 14:34:56, -29, 98, F0:9F:C2:71:22:16,wifi-regional
28+
28:6C:07:6F:F9:43, 2023-10-20 14:33:38, 2023-10-20 14:34:12, -29, 56, F0:9F:C2:71:22:12,AP_router,wifi-mobile
29+
64:32:A8:BA:6C:41, 2023-10-20 14:33:42, 2023-10-20 14:34:02, -29, 36, F0:9F:C2:71:22:1A,wifi-corp
30+
B0:72:BF:44:B0:49, 2023-10-20 14:33:45, 2023-10-20 14:34:36, -29, 30, F0:9F:C2:71:22:10,
31+
B0:72:BF:B0:78:48, 2023-10-20 14:33:45, 2023-10-20 14:34:36, -29, 20, F0:9F:C2:71:22:10,
32+
10:F9:6F:AC:53:52, 2023-10-20 14:33:55, 2023-10-20 14:34:16, -29, 20, F0:9F:C2:1A:CA:25,
33+
64:32:A8:07:6C:40, 2023-10-20 14:34:02, 2023-10-20 14:34:02, -29, 2, F0:9F:C2:71:22:1A,
34+
64:32:A8:A9:DE:55, 2023-10-20 14:34:30, 2023-10-20 14:34:34, -29, 37, F0:9F:C2:7A:33:28,wifi-regional-tablets
35+
64:32:A8:BD:64:54, 2023-10-20 14:34:30, 2023-10-20 14:34:34, -29, 34, F0:9F:C2:7A:33:28,wifi-regional-tablets
36+

test_data/test-01.kismet.csv

3.68 KB
Binary file not shown.

0 commit comments

Comments
 (0)