calebmadrigal / trackerjacker

Like nmap for mapping wifi networks you're not connected to, plus device tracking
MIT License
2.63k stars 188 forks source link

Update oui.txt file #21

Closed greaterthanstar closed 5 years ago

greaterthanstar commented 5 years ago

I have many missing vendor fields in my wifi_mal.yml. The oui.txt file included with the project is out of date and in a custom format. Let's say I run airodump-ng-oui-update to download the latest file to /var/lib/ieee-data//oui.txt. What commands would I run to convert it to the MAC=VENDOR format used by trackerjacker?

greaterthanstar commented 5 years ago

Answering my own question here.. I may do a PR to merge this newer file into the system. It'd be nice if there was a command line option to do this tho.

In Kali you can use the aircrack-ng auto-updater to easily download an updated oui.txt file to /var/lib/ieee-data/oui.txt.. airodump-ng-oui-update cp /var/lib/ieee-data/oui.txt ~/oui.txt egrep '^(\w{6})\s*\(.*?\)\s+(.*?)$' ~/oui.txt | sed -r 's/^(\w{6})\s*\(.*?\)\s+(.*?)$/\1=\2/' > ~/fixedout.txt cp ~/fixedout.txt /usr/local/lib/python3.7/dist-packages/trackerjacker/oui.txt

calebmadrigal commented 5 years ago

That sounds like a good PR.

greaterthanstar commented 5 years ago

Created! https://github.com/calebmadrigal/trackerjacker/pull/22

calebmadrigal commented 5 years ago

Merged https://github.com/calebmadrigal/trackerjacker/pull/22. Thanks @greaterthanstar!