schollz / find3-cli-scanner

The command-line scanner that supports Bluetooth and WiFi
https://www.internalpositioning.com/doc/tracking_your_computer.md
149 stars 55 forks source link

tcpdump scanner for find3-server #28

Open jekkos opened 5 years ago

jekkos commented 5 years ago

Hi there,

Still a work in progress but I thought id mention that I wrote a scanner for OpenWrt to use with find3-server. Check my repo for a step-by-step tutorial.

Initially I tried to cross compile the find3-cli-scanner as a statically linked binary but this yield a huge binary that does not fit on most router devices. Also I faced quite some issues as OpenWrt uses musl as a standard c library instead of glibc. This is not well supported by xgo at the moment.

This solution is a little more lightweight and universal. It uses tcpdump and a python script to submit the fingerprints. I might want to add a simple ash script in the end to save some more space (as python won't fit on devices with smaller flash)