{"id":13616469,"url":"https://github.com/MS-WEB-BN/c41n","last_synced_at":"2025-04-14T00:32:18.709Z","repository":{"id":44406356,"uuid":"300217749","full_name":"MS-WEB-BN/c41n","owner":"MS-WEB-BN","description":"Automated rogue access point setup tool.","archived":false,"fork":false,"pushed_at":"2021-04-02T09:35:13.000Z","size":129,"stargazers_count":191,"open_issues_count":5,"forks_count":38,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-02T20:48:14.519Z","etag":null,"topics":["evil-twin","rogue-ap","rogue-ap-attacks","social-engineering","social-engineering-attacks","wifi","wifi-ap","wifi-attack","wifi-attacks","wifi-hacking","wifi-password"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MS-WEB-BN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-01T09:13:54.000Z","updated_at":"2024-07-25T04:51:17.000Z","dependencies_parsed_at":"2022-07-15T09:17:24.726Z","dependency_job_id":null,"html_url":"https://github.com/MS-WEB-BN/c41n","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/MS-WEB-BN%2Fc41n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MS-WEB-BN%2Fc41n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MS-WEB-BN%2Fc41n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MS-WEB-BN%2Fc41n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MS-WEB-BN","download_url":"https://codeload.github.com/MS-WEB-BN/c41n/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223612056,"owners_count":17173567,"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":["evil-twin","rogue-ap","rogue-ap-attacks","social-engineering","social-engineering-attacks","wifi","wifi-ap","wifi-attack","wifi-attacks","wifi-hacking","wifi-password"],"created_at":"2024-08-01T20:01:28.957Z","updated_at":"2024-11-08T00:31:42.142Z","avatar_url":"https://github.com/MS-WEB-BN.png","language":"HTML","funding_links":[],"categories":["HarmonyOS","HTML (177)","HTML"],"sub_categories":["Windows Manager"],"readme":"# c41n\n**c41n** is an automated Rogue Access Point setup tool.\n\n**c41n** provides automated setup of several types of Rogue Access Points, and Evil Twin attacks. **c41n** sets up an access point with user defined characteristics (interface, name and channel for the access point), sets up DHCP server for the access point, and provides user with abilities of HTTP traffic sniffing, or Captive Portal setup with credential sniffing. \n\n# Installation:\nInstallation consists of cloning the repo, running a script that will install dependencies, or install them manually, and making **c41n** executable. Installation script works with apt and pacman package managers (Debian and Arch only). \n```\n# git clone https://github.com/MS-WEB-BN/c41n/\n# cd c41n\n# sudo bash install.sh\n# sudo chmod +x c41n\n```\nDependencies can also be installed manually (without the script) with apt-get package manager (Debian and Debian based distributions):\n```\n# sudo apt-get install net-tools hostapd dnsmasq tcpflow\n```\nand pacman (Arch and Arch based distributions):\n```\n# sudo pacman -Sy net-tools hostapd dnsmasq tcpflow\n```\n\n# Usage:\n**c41n** can be run in interactive, and quick mode.\n\nTo run **c41n** in ***interactive mode***:\n```\n# ./c41n\n```\n\n***Quick mode***:\n\n\n*Start Rogue AP*:\n```\n# ./c41n \u003cAP interface\u003e \u003cinternet connection interface\u003e \u003cAP name\u003e \u003cAP channel\u003e\n```\n\n*Start Rogue AP + sniffing HTTP traffic*:\n```\n# ./c41n sniff \u003cAP interface\u003e \u003cinternet connection interface\u003e \u003cAP name\u003e \u003cAP channel\u003e\n```\n\n*Start Rogue AP + captive portal*:\n```\n# ./c41n captive \u003cap interface\u003e \u003cinternet connection interface\u003e \u003cAP name\u003e \u003cAP channel\u003e \u003credirection parameter\u003e\n```\n\nRedirection parameter can have the following values: \n```\n0: Redirects only predefined domains.\n1: Redirects all traffic.\ndomains_file: Redirects predefined domains + domains from specified file (separated by new line).\n```\n\n***Examples***:\n\n[**1**] Start Rogue AP on wlan0 interface, route traffic from eth0 interface, AP name: 'AP', AP channel: '1'\n```\n# ./c41n wlan0 eth0 AP 1\n```\n\n[**2**] Start Rogue AP and sniff HTTP traffic on wlan0 interface, route traffic from wlan1 interface, AP name: 'Access_Point', AP channel: '6'\n```\n# ./c41n sniff wlan0 wlan1 Access_Point 6\n```\n\n[**3**] Start Rogue AP with captive portal on wlp6s0 interface, redirect default domains and domains from custom file (/home/name/Documents/domains.txt), route traffic from eth1 interface, AP name: 'router', AP channel: '9'\n```\n# ./c41n captive wlp6s0 eth1 router 9 /home/name/Documents/domains.txt\n```\n\n# Screenshots:\n\n![1](https://i.ibb.co/w7bTzpJ/c41n-arch.png)\n![2](https://i.ibb.co/rH8hykc/screenshot.png)\n\n# License:\n\nThe software is free to use, modify and distribute, as long as the credit is given to the creator (***n1x_ [[MS-WEB]](https://www.ms-web.agency/)***).\n\n# Disclaimer:\n\nAny actions and/or activities done by using **c41n** are solely your responsibility. The misuse of **c41n** can result in criminal charges brought against the persons in question. The author will not be held responsible in the event any criminal charges be brought against any individuals misusing **c41n** to break the law.\n\n# Contribution note:\n\nEach of the scripts/tools/programs hosted here are made as a part of [MS-WEB](https://www.ms-web.agency/)s cyber security courses, aimed toward beginners, therefore are purely educational and/or demonstrational, and are meant to stay that way, even if wider audience and real world usage are reached. All pauses present in code are there so that the user can read the output, so the action that is running is understood.\n\nAll pull requests removing such pauses, or parts of output are against the educational purpose, and will not be accepted.\n\n*To remove sleeps from **c41n** use:*\n```\nsed -i '/sleep/d' ./c41n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMS-WEB-BN%2Fc41n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMS-WEB-BN%2Fc41n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMS-WEB-BN%2Fc41n/lists"}