{"id":13827164,"url":"https://github.com/codepr/creak","last_synced_at":"2026-01-29T12:08:52.160Z","repository":{"id":62789669,"uuid":"43078659","full_name":"codepr/creak","owner":"codepr","description":"Poison, reset, spoof, redirect MITM script","archived":false,"fork":false,"pushed_at":"2023-08-05T11:18:42.000Z","size":121,"stargazers_count":124,"open_issues_count":0,"forks_count":36,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-11-20T06:34:14.696Z","etag":null,"topics":["fake","poison","python","python-3","spoof","tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codepr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2015-09-24T16:23:50.000Z","updated_at":"2024-08-12T19:19:25.000Z","dependencies_parsed_at":"2024-01-07T22:50:12.193Z","dependency_job_id":"f304976d-3d70-499c-9d8f-c1b1cd2aba8b","html_url":"https://github.com/codepr/creak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codepr/creak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepr%2Fcreak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepr%2Fcreak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepr%2Fcreak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepr%2Fcreak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codepr","download_url":"https://codeload.github.com/codepr/creak/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepr%2Fcreak/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264386249,"owners_count":23599963,"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":["fake","poison","python","python-3","spoof","tool"],"created_at":"2024-08-04T09:01:51.387Z","updated_at":"2026-01-29T12:08:52.092Z","avatar_url":"https://github.com/codepr.png","language":"Python","funding_links":[],"categories":["Python (1887)","\u003ca id=\"42f9e068b6511bcbb47d6b2b273097da\"\u003e\u003c/a\u003e未分类","Python"],"sub_categories":["\u003ca id=\"3bd67ee9f322e2c85854991c85ed6da0\"\u003e\u003c/a\u003e投毒\u0026\u0026Poisoning"],"readme":"# creak\n\nPerforms some of the most famous MITM attack on target addresses located in a\nlocal network. Among these, deny navigation and download capabilities of a\ntarget host in the local network performing an ARP poison attack and sending\nreset TCP packets to every request made to the router.\nBorn as a didactic project for learning python language, I decline every\nresponsibility for any abuse, including malevolent or illegal use of this code.\n\n## Installation\n\n```sh\n$ git clone https://github.com/codepr/creak.git\n$ cd creak\n$ python setup.py install\n```\nor simply clone the repository and run the `creak.py` after all requirements are\ninstalled:\n\n```sh\n$ git clone https://github.com/codepr/creak.git\n```\n\nIt is required to have installed `pcap` libraries for raw packet manipulations\nand `dpkt` module, for dns spoofing options is required to have installed dnet\nmodule from `libdnet` package, do not confuse it with pydnet (network\nevaluation tool) module.\nIt can use also `scapy` if desired, can just be set in the `config` file at the\nsection `[output]` \u003e `ENGINE`.\n\n## Options\n\n```sh\nUsage: creak.py [options] dev\n\nOptions:\n  -h, --help           show this help message and exit\n  -1, --sessions-scan  Sessions scan mode\n  -2, --dns-spoof      Dns spoofing\n  -3, --session-hijack Try to steal a TCP sessions by desynchronization (old technique)\n  -x, --spoof          Spoof mode, generate a fake MAC address to be used\n                       during attack\n  -m MACADDR           Mac address octet prefix (could be an entire MAC\n                       address in the form AA:BB:CC:DD:EE:FF)\n  -M MANUFACTURER      Manufacturer of the wireless device, for retrieving a\n                       manufactur based prefix for MAC spoof\n  -s SOURCE            Source ip address (e.g. a class C address like\n                       192.168.1.150) usually the router address\n  -t TARGET            Target ip address (e.g. a class C address like\n                       192.168.1.150), can be specified multiple times\n  -p PORT              Target port to shutdown\n  -a HOST              Target host that will be redirect while navigating on\n                       target machine\n  -r REDIR             Target redirection that will be fetched instead of host\n                       on the target machine\n  -v, --verbose        Verbose output mode\n  -d, --dotted         Dotted output mode\n```\n\n## Example\n\nMost basic usage:\nDeny all traffic to the target host\n\n```sh\n$ python creak.py -t 192.168.1.30 wlan0\n```\n\nSet a different gateway:\n\n```sh\n$ python creak.py -s 192.168.1.2 -t 192.168.1.30 wlan0\n```\n\nSet a different mac address for the device:\n\n```sh\n$ python creak.py -m 00:11:22:33:44:55 -t 192.168.1.30 wlan0\n```\n\nSpoof mac address generating a fake one:\n\n```sh\n$ python creak.py -x -t 192.168.1.30 wlan0\n```\n\nSpoof mac address generating one based on manufacturer(e.g Xeros):\n\n```sh\n$ python creak.py -x -M xeros -t 192.168.1.30 wlan0\n```\n\nDNS spoofing using a fake MAC address, redirecting ab.xy to cd.xz(e.g.\n\t\tlocalhost):\n\n```sh\n$ python creak.py -x -M xeros -t 192.168.1.30 -a www.ab.xy -r www.cd.xz wlan0\n```\n\nDeny multiple hosts in the subnet:\n\n```sh\n$ python creak.py -x -t 192.168.1.30 -t 192.168.1.31 -t 192.168.1.32 wlan0\n```\n\n## Changelog\n\nSee the [CHANGELOG](CHANGELOG.md) file.\n\n## TODO\n\n- Sessions grouping based on active load usage\n- Complete `Scapy` support (**started**)\n- Sessions hijacking (**started**)\n- Port to a micro-framework wih plugin architecture (**75% completed**)\n\n## License\n\nSee the [LICENSE](LICENSE.md) file for license rights and limitations (GNU v3).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepr%2Fcreak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodepr%2Fcreak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepr%2Fcreak/lists"}