{"id":13826806,"url":"https://github.com/depthdeluxe/dot11sniffer","last_synced_at":"2026-01-22T18:08:12.384Z","repository":{"id":29122561,"uuid":"32652308","full_name":"DepthDeluxe/dot11sniffer","owner":"DepthDeluxe","description":"Sniffs 802.11 traffic and counts the number of active wireless devices in an area","archived":false,"fork":false,"pushed_at":"2015-04-28T03:12:51.000Z","size":2336,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-05T09:15:41.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DepthDeluxe.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}},"created_at":"2015-03-21T22:19:36.000Z","updated_at":"2022-12-15T12:00:46.000Z","dependencies_parsed_at":"2022-07-25T18:03:02.814Z","dependency_job_id":null,"html_url":"https://github.com/DepthDeluxe/dot11sniffer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DepthDeluxe%2Fdot11sniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DepthDeluxe%2Fdot11sniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DepthDeluxe%2Fdot11sniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DepthDeluxe%2Fdot11sniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DepthDeluxe","download_url":"https://codeload.github.com/DepthDeluxe/dot11sniffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476383,"owners_count":17480215,"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":[],"created_at":"2024-08-04T09:01:44.578Z","updated_at":"2026-01-22T18:08:12.319Z","avatar_url":"https://github.com/DepthDeluxe.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"7bf0f5839fb2827fdc1b93ae6ac7f53d\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"32739127f0c38d61b14448c66a797098\"\u003e\u003c/a\u003e嗅探\u0026\u0026Sniff"],"readme":"# Dot11Sniffer\nThe 802.11 device counting script for CSCI379.  This counts the number of active devices in an 802.11\nnetwork by using a network card in monitor mode.\n\n# Initial Configuration\nTo configure your computer, you must do three things: (1) install necessary prerequisite libraries\n(2) configure NetworkManager or your chosen Linux network management utility\nto ignore your wireless device, and (3) use Aircrack to enable monitor mode on your card.\n\n## Install Aircrack and Scapy\nThe prerequisite libraries are as follows:\n  1. aircrack-ng\n  2. scapy\n  3. netifaces python library\n\nTo install aircrack-ng and scapy, run the following command on a debian-based Linux machine.\n```bash\napt-get install aircrack-ng scapy\n```\n\nTo install netifaces, you must use the python package manager.  Make sure that you are installing the\nlibrary for python2 and not python3!\n```bash\npip install netifaces\n```\n\n## Configure NetworkManager\nTo tell NetworkManager to ignore your wireless card, first find the device's MAC address.  The `ip addr`\nprogram will tell you the mac address of your device.  On my computer, the wireless device I use is\ncalled `wlp0s20u2`.  Under that device, look for the string just to the right of the line that says\n\"link/ether\".  It is a series of six hex number separated by colons.\n\nOnce you have your MAC address, modify `/etc/NetworkManager/NetworkManager.conf`.  In this file, add the\nfollowing.  If there is already a [keyfile] section, add it to that section.\n\n```\n[keyfile]\nunmanaged-devices=mac:$MAC_ADDR\n```\n\nWhere $MAC_ADDR is your MAC address **with** colons between them.  When added, make sure you restart\nNetworkManager.  If you aren't sure how to do this, just restart your computer.  When NetworkManager is\nbrought back up and you plug your device in, NetworkManager should say \"unmanaged\" next to the device.\n\n## Use Aircrack\nOnce the device is no longer managed by NetworkManager, use the `airmon-ng` utility to bring up a monitor\nnetwork interface.  This is done by typing:\n\n```bash\nairmon-ng start $DEVICE $CHANNEL\n```\n\nWhere $DEVICE is the name of your device and $CHANNEL is the wireless channel you wish to listen on.  For\nour CSCI379 project, use channel 6.  This application should create a virtual network device called `mon0`.\nWhen using scapy, make sure you listen to this device and not on the hardware device.  This python script currently implicitly attempts to connect to the `mon0` interface although this may change in the future.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepthdeluxe%2Fdot11sniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepthdeluxe%2Fdot11sniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepthdeluxe%2Fdot11sniffer/lists"}