{"id":13468304,"url":"https://github.com/calebmadrigal/trackerjacker","last_synced_at":"2025-05-14T14:08:03.420Z","repository":{"id":55512613,"uuid":"76809214","full_name":"calebmadrigal/trackerjacker","owner":"calebmadrigal","description":"Like nmap for mapping wifi networks you're not connected to, plus device tracking","archived":false,"fork":false,"pushed_at":"2024-01-16T05:10:22.000Z","size":1074,"stargazers_count":2676,"open_issues_count":19,"forks_count":190,"subscribers_count":74,"default_branch":"master","last_synced_at":"2025-05-12T13:50:00.211Z","etag":null,"topics":["hacking","network","packets","python","scapy","wireless"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebmadrigal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-18T22:01:13.000Z","updated_at":"2025-05-12T10:17:38.000Z","dependencies_parsed_at":"2024-06-19T03:02:16.879Z","dependency_job_id":null,"html_url":"https://github.com/calebmadrigal/trackerjacker","commit_stats":{"total_commits":128,"total_committers":4,"mean_commits":32.0,"dds":0.03125,"last_synced_commit":"692262b2646a2e784733a258da8b8d6bfe79e3d7"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebmadrigal%2Ftrackerjacker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebmadrigal%2Ftrackerjacker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebmadrigal%2Ftrackerjacker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebmadrigal%2Ftrackerjacker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebmadrigal","download_url":"https://codeload.github.com/calebmadrigal/trackerjacker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159650,"owners_count":22024563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacking","network","packets","python","scapy","wireless"],"created_at":"2024-07-31T15:01:08.476Z","updated_at":"2025-05-14T14:08:03.370Z","avatar_url":"https://github.com/calebmadrigal.png","language":"Python","readme":"# trackerjacker\n\nLike nmap for mapping wifi networks you're not connected to. Maps and tracks wifi networks and devices through raw 802.11 monitoring.  \n\nPyPI page: https://pypi.python.org/pypi/trackerjacker\n\n#### Install\n\n    pip3 install trackerjacker\n\n*Supported platforms*: Linux (tested on Ubuntu, Kali, and RPi) and macOS (pre-alpha)\n\n![visual description](https://i.imgur.com/I5NH5KM.jpg)\n\ntrackerjacker can help with the following:\n\n* I want to know all the nearby wifi networks **and know all the devices connected to each network.**\n* I want to know who's hogging all the bandwidth.\n* I want to run a command when this MAC address sends more than 100000 bytes in a 30 second window (maybe to determine when an IP camera is uploading a video, which is indicative that it just saw motion).\n* I want to deauth anyone who uses more than 100000 bytes in a 10 second window.\n* I want to deauth every Dropcam in the area so my Airbnb hosts don't spy on me.\n* I want to be alerted when any MAC address is seen at a power level greater than -40dBm that I've never seen before.\n* I want to see when this particular person is nearby (based on the MAC of their mobile phone) and run a command to alert me.\n* I want to write my own plugin to run some script to do something fun every time a new Apple device shows up nearby.\n\n## Usage\n\nFind detailed usage like this:\n\n\ttrackerjacker -h\n\nThere are 2 major usage modes for `trackerjacker`: **map** mode and **track** mode:\n\n### Map mode example\n\nMap command:\n\n\ttrackerjacker -i wlan1337 --map\n\nBy default, this outputs the `wifi_map.yaml` YAML file, which is a map of all the nearby WiFi networks and all of their users. Here's an example `wifi_map.yaml` file:\n\t\n\tTEST_SSID:\n\t  00:10:18:6b:7a:ea:\n\t    bssid: 00:10:18:6b:7a:ea\n\t    bytes: 5430\n\t    channels:\n\t    - 11\n\t    devices:\n\t      3c:07:71:15:f1:48:\n\t        bytes: 798\n\t        signal: 1\n\t        vendor: Sony Corporation\n\t      78:31:c1:7f:25:43:\n\t        bytes: 4632\n\t        signal: -52\n\t        vendor: Apple, Inc.\n\t    signal: -86\n\t    ssid: TEST_SSID\n\t    vendor: Broadcom\n\t\n\tBRANSONS_WIFI:\n\t  90:48:9a:e3:58:25:\n\t    bssid: 90:48:9a:e3:58:25\n\t    bytes: 5073\n\t    channels:\n\t    - 1\n\t    devices:\n\t      01:00:5e:96:e1:89:\n\t        bytes: 476\n\t        signal: -62\n\t        vendor: ''\n\t      30:8c:fb:66:23:91:\n\t        bytes: 278\n\t        signal: -46\n\t        vendor: Dropcam\n\t      34:23:ba:1c:ba:e7:\n\t        bytes: 548\n\t        signal: 4\n\t        vendor: SAMSUNG ELECTRO-MECHANICS(THAILAND)\n\t    signal: -80\n\t    ssid: BRANSONS_WIFI\n\t    vendor: Hon Hai Precision Ind. Co.,Ltd.\n\t\n\thacker_network:\n\t  80:2a:a8:e5:de:92:\n\t    bssid: 80:2a:a8:e5:de:92\n\t    bytes: 5895\n\t    channels:\n\t    - 11\n\t    devices:\n\t      80:1f:02:e6:44:96:\n\t        bytes: 960\n\t        signal: -46\n\t        vendor: Edimax Technology Co. Ltd.\n\t      80:2a:a8:8a:ec:c8:\n\t        bytes: 472\n\t        signal: 4\n\t        vendor: Ubiquiti Networks Inc.\n\t      80:2a:a8:be:09:a9:\n\t        bytes: 5199\n\t        signal: 4\n\t        vendor: Ubiquiti Networks Inc.\n\t      d8:49:2f:7a:f0:8f:\n\t        bytes: 548\n\t        signal: 4\n\t        vendor: CANON INC.\n\t    signal: -46\n\t    ssid: hacker\n\t    vendor: Ubiquiti Networks Inc.\n\t  80:2a:a8:61:aa:2f:\n\t    bssid: 80:2a:a8:61:aa:2f\n\t    bytes: 5629\n\t    channels:\n\t    - 44\n\t    - 48\n\t    devices:\n\t      78:88:6d:4e:e2:c9:\n\t        bytes: 948\n\t        signal: -52\n\t        vendor: ''\n\t      e4:8b:7f:d4:cb:25:\n\t        bytes: 986\n\t        signal: -48\n\t        vendor: Apple, Inc.\n\t    signal: -48\n\t    ssid: null\n\t    vendor: Ubiquiti Networks Inc.\n\t  82:2a:a8:51:32:25:\n\t    bssid: 82:2a:a8:51:32:25\n\t    bytes: 3902\n\t    channels:\n\t    - 48\n\t    devices:\n\t      b8:e8:56:f5:a0:70:\n\t        bytes: 1188\n\t        signal: -34\n\t        vendor: Apple, Inc.\n\t    signal: -14\n\t    ssid: hacker\n\t    vendor: ''\n\t  82:2a:a8:fc:33:b6:\n\t    bssid: 82:2a:a8:fc:33:b6\n\t    bytes: 7805\n\t    channels:\n\t    - 10\n\t    - 11\n\t    - 12\n\t    devices:\n\t      78:31:c1:7f:25:43:\n\t        bytes: 4632\n\t        signal: -52\n\t        vendor: Apple, Inc.\n\t      7c:dd:90:fe:b4:87:\n\t        bytes: 423223\n\t        signal: 4\n\t        vendor: Shenzhen Ogemray Technology Co., Ltd.\n\t      80:2a:a8:be:09:a9:\n\t        bytes: 5199\n\t        signal: 4\n\t        vendor: Ubiquiti Networks Inc.\n\t    signal: -62\n\t    ssid: null\n\t    vendor: ''\n\nNote that, since this is YAML, you can easily use it as an input for other scripts of your own devising. I have an example script to parse this \"YAML DB\" here: [parse_trackerjacker_wifi_map.py](https://gist.github.com/calebmadrigal/fdb8855a6d05c87bbb0254a1424ee582).\n\n### Example: Track mode with trigger command\n\nTrack mode allows you to specify some number of MAC addresses to watch, and if any specific devices exceeds the threshold (in bytes), specified here with the `--threshold 4000` (specifying an alert threshold of 4000 bytes) an alert will be triggered.\n\n    trackerjacker --track -m 3c:2e:ff:31:32:59 --threshold 4000 --trigger-command \"./alert.sh\" --channels-to-monitor 10,11,12,44\n    Using monitor mode interface: wlan1337\n    Monitoring channels: {10, 11, 12, 44}\n\n    [@] Device (3c:2e:ff:31:32:59) threshold hit: 4734\n\n    [@] Device (3c:2e:ff:31:32:59) threshold hit: 7717\n\n    [@] Device (3c:2e:ff:31:32:59) threshold hit: 7124\n\n    [@] Device (3c:2e:ff:31:32:59) threshold hit: 8258\n\n    [@] Device (3c:2e:ff:31:32:59) threshold hit: 8922\n\nIn this particular example, I was watching a security camera to determine when it was uploading a video (indicating motion was detected) so that I could turn on my security system sirens (which was the original genesis of this project).\n\n### Example: Track mode with foxhunt plugin\n\n    trackerjacker -i wlan1337 --track --trigger-plugin foxhunt\n\nDisplays a curses screen like this:\n\n      POWER        DEVICE ID                VENDOR\n    =======        =================        ================================\n     -82dBm        1c:1b:68:35:c6:5d        ARRIS Group, Inc.\n     -84dBm        fc:3f:db:ed:e9:8e        Hewlett Packard\n     -84dBm        dc:0b:34:7a:11:63        LG Electronics (Mobile Communications)\n     -84dBm        94:62:69:af:c3:64        ARRIS Group, Inc.\n     -84dBm        90:48:9a:34:15:65        Hon Hai Precision Ind. Co.,Ltd.\n     -84dBm        64:00:6a:07:48:13        Dell Inc.\n     -84dBm        00:30:44:38:76:c8        CradlePoint, Inc\n     -86dBm        44:1c:a8:fc:c0:53        Hon Hai Precision Ind. Co.,Ltd.\n     -86dBm        18:16:c9:c0:3b:75        Samsung Electronics Co.,Ltd\n     -86dBm        01:80:c2:62:9e:36\n     -86dBm        01:00:5e:11:90:47\n     -86dBm        00:24:a1:97:68:83        ARRIS Group, Inc.\n     -88dBm        f8:2c:18:f8:f3:aa        2Wire Inc\n     -88dBm        84:a1:d1:a6:34:08\n\n\n* Note that `foxhunt` is a builtin plugin, but you can define your own plugins using the same Plugin API.\n\n### Example: Track mode with trigger plugin\n\n    $ trackerjacker --track -m 3c:2e:ff:31:32:59 --threshold 10 --trigger-plugin examples/plugin_example1.py --channels-to-monitor 10,11,12,44 --trigger-cooldown 1\n    Using monitor mode interface: wlan1337\n    Monitoring channels: {10, 11, 12, 44}\n    [@] Device (device 3c:2e:ff:31:32:59) threshold hit: 34 bytes\n    3c:2e:ff:31:32:59 seen at: [1521926768.756529]\n    [@] Device (device 3c:2e:ff:31:32:59) threshold hit: 11880 bytes\n    3c:2e:ff:31:32:59 seen at: [1521926768.756529, 1521926769.758929]\n    [@] Device (device 3c:2e:ff:31:32:59) threshold hit: 18564 bytes\n    3c:2e:ff:31:32:59 seen at: [1521926768.756529, 1521926769.758929, 1521926770.7622838]\n\nThis runs `examples/plugin_example1.py` every time `3c:2e:ff:31:32:59` is seen sending/receiving 10 bytes or more.\n\ntrackerjacker plugins are simply python files that contain either:\n* `Trigger` class which defines a `__call__(**kwargs)` method (example: `examples/plugin_example1.py`)\n* `trigger(**kwargs)` function (example: `examples/plugin_example2.py`)\n\nAnd optionally a `__apiversion__ = 1` line (for future backward compatibility)\n\n### Example: Configuring with config file\n\n\ttrackerjacker.py -c my_config.json\n\nAnd here's the example config file called `my_config.json`:\n\n```\n{\n    \"iface\": \"wlan1337\",\n    \"devices_to_watch\": {\"5f:cb:53:1c:8a:2c\": 1000, \"32:44:1b:d7:a1:5b\": 2000},\n    \"aps_to_watch\": {\"c6:23:ef:33:cc:a2\": 500},\n    \"threshold_window\": 10,\n    \"channels_to_monitor\": [1, 6, 11, 52],\n    \"channel_switch_scheme\": \"round_robin\"\n}\n```\n\nA few notes about this:\n\n* `threshold_bytes` is the default threshold of bytes which, if seen, a causes the alert function to be called\n* `threshold_window` is the time window in which the `threshold_bytes` is analyzed.\n* `devices_to_watch` is a list which can contain either strings (representing MACs) or dicts (which allow the specification of a `name` and `threshold`)\n\t- `name` is simply what a label you want to be printed when this device is seen.\n\t- `threshold` in the \"Security camera\" is how many bytes must be seen\n* `channels_to_monitor` - list of 802.11 wifi channels to monitor. The list of channels your wifi card supports is printed when trackerjacker starts up. By default, all supported channels are monitored.\n* `channel_switch_scheme` - either `default`, `round_robin`, or `traffic_based`. `traffic_based` determines the channels of most traffic, and probabilistically monitors them more.\n\n### Example: Enable/Disable monitor mode on interface\n\nTrackerjacker comes with a few other utility functions relevant to WiFi hacking. One of these is the ability to turn on monitor mode on a specific interface.\n\nEnable monitor mode:\n\n    trackerjacker --monitor-mode-on -i wlan0\n\nDisable monitor mode:\n\n    trackerjacker --monitor-mode-off -i wlan0mon\n\nNote that trackerjacker will automatically enable/disable monitor mode if necessary. This functionality is just useful if you want to enable monitor mode on an interface for use with other applications (or for quicker starup of trackerjacker, if you plan to be starting/exiting to test stuff).\n\n### Example: Set adapter channel\n\n    trackerjacker --set-channel 11 -i wlan0\n\nNote that trackerjacker will automatically switch channels as necessary during normal map/track actions. This option is just useful if you want to set the channel on an interface for use with other applications.\n\n## Recommended hardware\n\n* Panda PAU07 N600 Dual Band (nice, small, 2.4GHz and 5GHz)\n* Panda PAU09 N600 Dual Band (higher power, 2.4GHz and 5GHz)\n* Alfa AWUS052NH Dual-Band 2x 5dBi (high power, 2.4GHz and 5GHz, large, ugly)\n* TP-Link N150 (works well, but not dual band)\n\n## Roadmap\n\n- [x] Hosted in PyPI\n- [x] Radio signal strength for APs\n- [x] Radio signal strength for individual macs\n- [x] Build map by data exchanged (exclude beacons)\n- [x] Packet count by AP\n- [x] Packet count by MAC\n- [x] Easier way to input per-device tracking thresholds\n- [x] Plugin system\n- [x] Fox hunt mode\n- [x] Tracking by SSID (and not just BSSID)\n- [x] Basic macOS (OS X) support (pre-alpha)\n- [ ] macOS support: get signal strength values correct (will be fixed in https://github.com/secdev/scapy/pull/1381\n- [ ] macOS support: reverse airport binary to determine how to set true monitor mode\n- [ ] macOS support: diverse interface support (not just `en0`)\n- [ ] macOS support: get interface supported channels\n- [ ] Mapping a specific SSID\n- [ ] Performance enhancement: not shelling out for channel switching\n- [ ] \"Jack\" mode - deauth attacks\n\n","funding_links":[],"categories":["Python","\u003ca id=\"a76463feb91d09b3d024fae798b92be6\"\u003e\u003c/a\u003e侦察\u0026\u0026信息收集\u0026\u0026子域名发现与枚举\u0026\u0026OSINT","\u003ca id=\"170048b7d8668c50681c0ab1e92c679a\"\u003e\u003c/a\u003e工具","Tools","Pentesting"],"sub_categories":["\u003ca id=\"94c01f488096fafc194b9a07f065594c\"\u003e\u003c/a\u003enmap","ARM"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebmadrigal%2Ftrackerjacker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebmadrigal%2Ftrackerjacker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebmadrigal%2Ftrackerjacker/lists"}