{"id":13606251,"url":"https://github.com/wifiphisher/roguehostapd","last_synced_at":"2025-04-12T08:30:51.221Z","repository":{"id":45832745,"uuid":"91971099","full_name":"wifiphisher/roguehostapd","owner":"wifiphisher","description":"Hostapd fork including Wi-Fi attacks and providing Python bindings with ctypes.","archived":false,"fork":false,"pushed_at":"2021-04-27T10:09:04.000Z","size":2138,"stargazers_count":178,"open_issues_count":13,"forks_count":67,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-12T03:38:44.538Z","etag":null,"topics":["hostapd","python","wifi"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wifiphisher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-21T16:24:10.000Z","updated_at":"2025-03-07T09:54:17.000Z","dependencies_parsed_at":"2022-09-05T15:40:39.365Z","dependency_job_id":null,"html_url":"https://github.com/wifiphisher/roguehostapd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wifiphisher%2Froguehostapd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wifiphisher%2Froguehostapd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wifiphisher%2Froguehostapd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wifiphisher%2Froguehostapd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wifiphisher","download_url":"https://codeload.github.com/wifiphisher/roguehostapd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248539773,"owners_count":21121230,"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":["hostapd","python","wifi"],"created_at":"2024-08-01T19:01:07.544Z","updated_at":"2025-04-12T08:30:46.213Z","avatar_url":"https://github.com/wifiphisher.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# roguehostapd\nRoguehostapd is a fork of hostapd, the famous user space software access point. It provides Python ctypes bindings and a number of additional attack features. It was primarily developed for use in the Wifiphisher project.\n\n## Build\n\nTo build the latest development version type the following commands:\n```bash\ngit clone https://github.com/wifiphisher/roguehostapd.git # Download the latest version\ncd roguehostapd # Switch to the roguehostapd directory\npython setup.py install # Build the shared library of hostapd\n```\n\n## Usage\n\n***\n\n```shell\npython run.py -i wlan0 -ssid haha\n```\n\nUse wlan0 for spawning the OPEN rogue AP on channel 6 and the ssid is haha.\n\n***\n\n```shell\npython run.py -i wlan0 -ssid haha -pK 12345678\n```\n\nUse wlan0 for spawning the WPA2/WPA rogue AP with passhrase 12345678\n\n***\n\n```shell\npython run.py -i wlan0 -ssid haha -kA\n```\n\nUse wlan0 for spawning the OPEN rogue AP supporting the KARMA attack.\n\n***\n\n```python\nHOSTAPD_CONFIG_DICT = {\n    'ssid': 'haha',\n    'interface': 'wlan0',\n    'karma_enable': 1}\nHOSTAPD_OPTION_DICT = {\n    'debug_level': hostapd_constants.HOSTAPD_DEBUG_OFF\n}\nHOSTAPD_OBJ = Hostapd()\nHOSTAPD_OBJ.start(HOSTAPD_CONFIG_DICT, HOSTAPD_OPTION_DICT)\n```\n\nThe above configuration will perform the KARMA attack.\n\nFollowing are all the options along with their descriptions (also available with `python run.py -h`)\n\n\n| Short form | Long form | Explanation |\n| :----------: | :---------: | :-----------: |\n|-h | --help| show this help message and exit |\n|-ssid SSID| --ssid SSID| Select the ssid for the spawn rogue AP|\n|-c CHANNEL| --channel CHANNEL| Select the channel number for the spawn rogue AP|\n|-bI BEACON_INT| --beacon_int BEACON_INT| Define the beacon interval in milliseconds for the spawn rogue AP|\n|-i INTERFACE| --interface INTERFACE| Select the interface for the spawn rogue AP. Example: -i wlan0|\n|-pK WPA_PASSPHRASE| --wpa_passphrase WPA_PASSPHRASE| Define the password for the spawn rogue AP.|\n|-kA|| Enabling the KARMA attack|\n|-dV|--debug-verbose| Enabling the verbose debug log|\n|-K|--key_data|Include key data in debug messages|\n|-t|--timestamp|Include timestamps in some debug messages|\n|-v|--version|Show hostapd version|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwifiphisher%2Froguehostapd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwifiphisher%2Froguehostapd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwifiphisher%2Froguehostapd/lists"}