{"id":29615453,"url":"https://github.com/paasshme/netcut","last_synced_at":"2025-07-21T00:03:29.016Z","repository":{"id":49633123,"uuid":"273558249","full_name":"paasshme/netcut","owner":"paasshme","description":"Python3 netcut utility","archived":false,"fork":false,"pushed_at":"2021-06-11T18:11:55.000Z","size":4917,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-02T08:56:27.292Z","etag":null,"topics":["docker","network-programming","python3","spoof"],"latest_commit_sha":null,"homepage":"","language":"Python","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/paasshme.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-06-19T18:10:04.000Z","updated_at":"2024-10-25T13:09:59.000Z","dependencies_parsed_at":"2022-09-10T04:02:57.518Z","dependency_job_id":null,"html_url":"https://github.com/paasshme/netcut","commit_stats":null,"previous_names":["paasshme/netcut","jacquesmironneau/netcut"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paasshme/netcut","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paasshme%2Fnetcut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paasshme%2Fnetcut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paasshme%2Fnetcut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paasshme%2Fnetcut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paasshme","download_url":"https://codeload.github.com/paasshme/netcut/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paasshme%2Fnetcut/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266217170,"owners_count":23894242,"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":["docker","network-programming","python3","spoof"],"created_at":"2025-07-21T00:03:28.457Z","updated_at":"2025-07-21T00:03:29.010Z","avatar_url":"https://github.com/paasshme.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation\nWith python3 and pip:\n\nLinux :\n```shell\ninstall the deps\n$ pip install -r requirements.txt\nlaunch the server with su permissions (required)\n$ sudo python serv.py\n```\nUsing a python3 virtual environment (venv) :\n\nCreate a venv and activate it\n```shell\n$ python -m venv venv\n$ . venv/bin/activate\n```\nInstall the deps\n```shell\n$ pip install -r requirements.txt\n```\nLaunch the server with su permissions (required)\n```shell\n$ sudo python serv.py\n```\n\n# Documentation\nuse '-s' or '--server' parameter to lauch the program in server mode and communicate with websocket, otherwise the program wil be launched in standalone mode \u003c/br\u003e \n\nThe server use json through websockets to communicate with the client : \u003c/br\u003e\n[\"command\", \"arg1\", \"arg2\", [...]] \u003c/br\u003e\nYou can find an instance of a python client in testClient.py \n\n## Here are the request that the server currently recognize : \n* ### nmap_scan\n    Return IP of every connected device using nmap\n    #### args\n    1. (optional) network adress with cidr notation  \n    default to \"192.168.0.0/24\"\n    #### returns the list of local devices ip\n    example : [\"192.168.0.11\", \"192.168.0.21\", \"192.168.0.23\"]\n* ### arp_scan\n    Return IP \u0026 Mac of every connected client, faster than a nmap scan but less reliable\n   #### args\n    1. (optional) network adress with cidr notation  \n    default to \"192.168.0.0/24\"\n    #### returns the list of local devices ip and mac\n    example : [{\"ip\": \"192.168.0.33\", \"mac\": \"70:85:c2:83:00:70\"}, {\"ip\": \"192.168.0.41\", \"mac\": \"68:a3:78:50:67:8a\"}, {\"ip\": \"192.168.0.22\", \"mac\": \"20:47:da:28:8c:51\"}]\n* ### arp_spoof\n    launch an arp spoofing attaque\n\n    #### args\n    1. target's ip (required)\n    2. gateway's ip (optional)  \n    default to \"192.168.0.254\"\n* ### sniff\n    #### work in progress\n    sniff the packet of the target and send them to the gateway\n    #### args\n    1. target's ip (required)\n    2. gateway's ip (optional)  \n    default to \"192.168.0.254\"\n* ### set_gateway\n    change the default gateway's value  \n    #### args\n    1. gateway's ip (required)  \n    example \"192.168.0.254\" \n* ### spoof_stop\n    stop the spoofing of a specific adress\n    #### args\n    1. target's ip (required)\n    \n* ### sniff_stop\n    stop the sniffing of a specific adress\n    #### args\n    1. target's ip (required)\n\n* ### get_spoofed\n    return the ip of the devices getting spoofed\n* ### get_sniffed\n    return the ip of the devices getting sniffed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaasshme%2Fnetcut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaasshme%2Fnetcut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaasshme%2Fnetcut/lists"}