Skip to content

go concurrent bssid scanner #8

@randomizedcoder

Description

@randomizedcoder

Thanks for this repo!

I "borrowed" code from this repo to implement a go concurrent BSSID scanner.

https://github.com/randomizedcoder/go-bssid-geolocator

Using this overnight I scanned and found ~91million

[das@t:~/Downloads]$ cat 2025_03_18_1640 | grep -v generateMACs | grep -v "Lat: -180.000000 Long: -180.000000" | wc -l
91273223
[das@t:~/Downloads]$ ls -lah 2025_03_18_1640
-rw-r--r-- 1 das users 9.2G Mar 19 14:50 2025_03_18_1640

Example of output

<snip>
2025/03/18 17:15:17 Worker id:15 BSSID: 9c:5:d6:b:0:2 found at Lat: 41.567009 Long: 2.015902
2025/03/18 17:15:17 Worker id:15 BSSID: 6a:1e:19:9f:be:b6 found at Lat: 41.566376 Long: 2.015917  <--- Location = Barcelona 
2025/03/18 17:15:17 Worker id:15 BSSID: 34:57:60:b4:42:7e found at Lat: 41.566753 Long: 2.014822
2025/03/18 17:15:17 Worker id:15 BSSID: 38:22:e2:54:a7:c7 found at Lat: 41.566376 Long: 2.015649
2025/03/18 17:15:17 Worker id:15 BSSID: 3e:93:b2:7f:2e:d0 found at Lat: 41.567039 Long: 2.015907
2025/03/18 17:15:17 Worker id:15 BSSID: 40:ae:30:86:74:4e found at Lat: 41.566380 Long: 2.015485
2025/03/18 17:15:17 Worker id:15 BSSID: 40:ae:30:86:74:aa found at Lat: 41.566505 Long: 2.015411
2025/03/18 17:15:17 Worker id:15 BSSID: 44:ff:ba:2d:88:d0 found at Lat: 41.567024 Long: 2.015716
<snip>

If you are interested, possibly I could send you an MR to add my code into your repo

Thanks again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions