{"id":23788882,"url":"https://github.com/iesreza/arp","last_synced_at":"2025-06-24T23:08:54.662Z","repository":{"id":135288933,"uuid":"213651973","full_name":"iesreza/arp","owner":"iesreza","description":"ARP implementation in go","archived":false,"fork":false,"pushed_at":"2024-04-17T21:19:04.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T12:34:20.580Z","etag":null,"topics":["arp","arp-poisoning","arp-request","arp-scan","arp-spoof-attack","arp-spoofing","go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/iesreza.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-08T13:39:20.000Z","updated_at":"2024-04-17T21:19:06.000Z","dependencies_parsed_at":"2024-06-19T17:24:15.311Z","dependency_job_id":null,"html_url":"https://github.com/iesreza/arp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iesreza/arp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iesreza%2Farp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iesreza%2Farp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iesreza%2Farp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iesreza%2Farp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iesreza","download_url":"https://codeload.github.com/iesreza/arp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iesreza%2Farp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261771148,"owners_count":23207221,"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":["arp","arp-poisoning","arp-request","arp-scan","arp-spoof-attack","arp-spoofing","go","golang"],"created_at":"2025-01-01T16:51:30.901Z","updated_at":"2025-06-24T23:08:54.641Z","avatar_url":"https://github.com/iesreza.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ARP Library\nThis package implements two function of \"WhoHas\" and \"IsAt\" functions and also listen for arp packets using pcap.\n\nAn ARP spoofer has implemented as a test.\n\n```\n    //Ask who has 192.168.0.1\n    packetBytes := arp.WhoHas(net.ParseIP(\"192.168.0.1\"))\n    \n    \n    //Tell to target that 192.168.0.1 is at my desired mac\n    var fakeDevice := arp.Address{\n        IP:net.ParseIP(\"192.168.0.1\"),\n        HardwareAddr : \tnet.ParseMAC(\"xx:xx:xx:xx:xx\")\n    }\n    var target := arp.Address{\n            IP:net.ParseIP(\"192.168.0.2\"),\n            HardwareAddr : \tnet.ParseMAC(\"yy:yy:yy:yy:yy\")\n    }\n    packetBytes = arp.IsAt(fakeDevice,target)\n    \n    \n    //Listen to incoming arp packets\n    \n    handler, err := pcap.OpenLive(\"eth0\", 65535, true, pcap.BlockForever)\n    if err != nil {\n        log.Fatal(err)\n    }\n    defer handler.Close()\n    arp.Listen(handler, func(srcAddress arp.Address,replyTo arp.Address) {\n        log.Info(\"%s is at %s \\n\",srcAddress.IP.String(),srcAddress.HardwareAddr.String())\n    }, func(ip net.IP,replyTo arp.Address) {\n        log.Info(\"Who has %s? Tell %s \\n\",ip.String(),replyTo.IP.String())\n    })\n``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiesreza%2Farp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiesreza%2Farp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiesreza%2Farp/lists"}