SkillAgentSearch skills...

Peanuts

Peanuts is a free and open source wifi tracking tool. Based on the SensePosts Snoopy-NG project that is now closed.

Install / Use

/learn @sensepost/Peanuts
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Peanuts V1.8

========

Release Date: 26/03/2017

Peanuts is a free and open source wifi tracking tool. Based on the SensePosts Snoopy-NG project that is now closed.<br />

Less dependencies, less overhead, less complications<br />

NOTE: Im not sure how long i will supprot this project as its a slowly dying method, if i get time to work on it i will :D<br />

Changelog:

# [DONE] - Added BT support.
# [DONE] - Added Quiet Mode
# [DONE] - Add COLOR.
# [DONE] - Kill threads on Ctrl+C.
# [DONE] - Defaults added to Arguments.
# [DONE] - GPS added
# [DONE] - Output CSV Tidy

TODO:

# Alert on known SSID or MAC
# Better error correction on GPS exits or false connections
# Add Pause/Stop/Start functions to script.
# Live mapping in time

**** FOR EDUCATIONAL USE! Use at your own risk. **** <br />

  • Tested on: Linux 3.2.6 Ubuntu/Debian (Kali)/Rpi<br />

Installation:

Dependencies:

Required:

  • Python 2.7+
  • Scapy / python-gps / python-bluez

Installing from Source

git clone https://github.com/noobiedog/peanuts/
cd peanuts
pip install -r requirements.txt
apt-get install python-gps bluetooth bluez python-bluez

Installing from Download

pip install argparse datetime gps scapy logging
apt-get install python-gps bluetooth bluez python-bluez

To start GPS in kali/Ubuntu (in a separate terminal window)

service gps start
gpsd -D 5 -N -n /dev/ttyUSB0

Sample commands

Simple

python peanuts.py -i wlan0 -l Home -o Capture1.csv

-i Interface (Doesnt matter if not in monitor mode, the program will do it)<br /> -l location or OP name, whatever you want to identify this capture<br /> -o Output file name for the CSV<br />

Advanced

python peanuts.py -i wlan0 -l home -a True -g True -o Capture1.csv

-i Interface (Doesn't matter if not in monitor mode, the program will do it)<br /> -l location or OP name, whatever you want to identify this capture<br /> -a Include Access Points too in the results<br /> -g Get GPS location of your device (Not tested with Nethunter, yet. Also will need GPSD running)<br /> -o Output file name for the CSV<br /> -b Start Bluetooth sniffing too<br /> (make sure you have either bt enabled in vm or a dongle)

Lets See it in Action

ASCIICinema

Happy Hacking

NOTE: This method of WIFI tracking is slowly dying with the new IOS 10 Updates and Android updates.

https://gist.github.com/computerality/3e0bc104cd216bf0f03f8d3aa8fbf081 line 176

View on GitHub
GitHub Stars70
CategoryDevelopment
Updated13d ago
Forks27

Languages

Python

Security Score

95/100

Audited on Mar 17, 2026

No findings