{"id":18626907,"url":"https://github.com/luijait/gonet-scanner","last_synced_at":"2025-04-11T05:31:20.445Z","repository":{"id":40001272,"uuid":"454910453","full_name":"luijait/GONET-Scanner","owner":"luijait","description":"Golang network scanner with arp discovery and own parser ","archived":false,"fork":false,"pushed_at":"2022-03-10T04:35:58.000Z","size":8402,"stargazers_count":81,"open_issues_count":0,"forks_count":21,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-25T09:47:53.218Z","etag":null,"topics":["arp","golang","hacking","networking","nmap","parser","pentesting","portscanner","scanports","security"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luijait.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-02T19:39:09.000Z","updated_at":"2025-03-21T09:21:59.000Z","dependencies_parsed_at":"2022-09-15T09:12:39.133Z","dependency_job_id":null,"html_url":"https://github.com/luijait/GONET-Scanner","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/luijait%2FGONET-Scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luijait%2FGONET-Scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luijait%2FGONET-Scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luijait%2FGONET-Scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luijait","download_url":"https://codeload.github.com/luijait/GONET-Scanner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248347412,"owners_count":21088646,"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","golang","hacking","networking","nmap","parser","pentesting","portscanner","scanports","security"],"created_at":"2024-11-07T04:39:30.221Z","updated_at":"2025-04-11T05:31:19.989Z","avatar_url":"https://github.com/luijait.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GO/NET Scanner\n\u003cdiv id=\"image\" align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/60628803/152819380-79b7f954-faca-4363-a44b-86a5eb3a68cb.png\" \u003e\n  \u003c/div\u003e\n  \n ---\n \n \u003cdiv id=\"badges\" align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/%40author-luijait.es-informational\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/repo-size/luijait/GONET-Scanner?label=Size\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/languages/top/luijait/GONET-Scanner?label=go\"\u003e\n\u003c/div\u003e\n\n\n---\n\n# ScreenShots\n\n\u003cimg src=\"https://user-images.githubusercontent.com/60628803/152821931-a2678f6c-c383-4939-9040-938d5f01defd.png\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/60628803/152824097-301c66b1-5248-4995-b1ee-1f509c1cb184.png\"\u003e\n\n---\n\n# Install\n```\nchmod +x install.sh\n./install.sh [as root]\n```\n\n---\n\n\n# Usage\n```\n[ARGUMENTS]\n\n-ar CIDR: ARP Discovery\n-ar CIDR -s: Scan ports in all hosts discovered\n-ap: Scan to 65535 Ports\n-pr MINPORT MAXPORT: Define Port Range to Scan\n-1000: Scan Top 1000 ports (like nmap)\n-t: Set Timeout (in milliseconds)\n\n[EXAMPLES]\n\ngo run scannerport.go -ap \u003cIP\u003e: Allports TCP Scan\ngo run scannerport.go \u003cIP\u003e Default Scan 0-1024 ports\ngo run scannerport.go  -ar 192.168.0.1/24 \u003cIP\u003e: ARP Ping Scan ALL local Subnet\ngo run scannerport.go \u003cIP\u003e -pr \u003cMINPORT\u003e \u003cMAXPORT\u003e\ngo run scannerport.go -ar 192.168.1.1/24 -s\ngo run scannerport.go -1000 192.168.1.1\ngo run scannerport.go -t 100 192.168.1.1\nExample: go run scannerport.go -ar 192.168.1.1/24 (will send an arp ping to every host of net to discover if is it up)\nExample: go run scannerport.go google.com -1000 (Will resolve google.com + Will scan top 1000 ports)\nExample: go run scannerport.go 192.168.0.1 -pr 100 3000 (will scan every port in these range you must put first minor port)\n```\n\n---\n\n\n# Add Ports To Banner Grabbing\nGo to file `ports.go`\n```\nfunc Ports() map[int]string {\n\t//Based in well known ports\n\tports := map[int]string{\n\t\t1:     \"echo\",\n\t\t9:     \"WOL\",\n\t\t20:    \"ftp data\",\n\t\t21:    \"ftp control\",\n\t\t22:    \"ssh\",\n\t\t23:    \"telnet\",\n\t\t25:    \"smtp\",\n\t\t43:    \"whois\",\n\t\t49:    \"TACACS\",\n\t\t53:    \"DNS\",\n\t\t67:    \"BOOTP\",\n\t\t69:    \"TFTP\",\n\t\t70:    \"Gopher\",\n\t\t71:    \"NETRJS\",\n\t\t80:    \"http\",\n\t\t81:    \"TorPark\",\n\t\t82:    \"TorPark\",\n\t\t88:    \"Kerberos\",\n\t\t110:   \"POP3\",\n\t\t115:   \"sFTP\",\n\t\t143:   \"imap\",\n\t\t220:   \"imap3\",\n\t\t123:   \"NTP\",\n\t\t135:   \"RPC\",\n\t\t443:   \"https\",\n\t\t445:   \"Microsoft-ds, Samba\",\n\t\t465:   \"SMTP over TLS\",\n\t\t514:   \"Syslog\",\n\t\t520:   \"RIP\",\n\t\t521:   \"RIPng\",\n\t\t540:   \"UUCP\",\n\t\t543:   \"klogin\",\n\t\t544:   \"kshell\",\n\t\t587:   \"submission\",\n\t\t993:   \"IMAP over TLS\",\n\t\t995:   \"POP3 over TLS\",\n\t\t1433:  \"Microsoft SQL Server\",\n\t\t3306:  \"MySQL\",\n\t\t3389:  \"rdp\",\n\t\t5432:  \"postgres\",\n\t\t6667:  \"irc\",\n\t\t25565: \"minecraft server\",\n\t}\n\treturn ports\n```\nJust add port number \u0026 name of service\nExample:\nAdd git\n```\n 9418: \"git\",\n```\n\n---\n# Contributors\nMade by @luijait\nThanks to @ajaniramon for help in this project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluijait%2Fgonet-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluijait%2Fgonet-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluijait%2Fgonet-scanner/lists"}