Last 12 weeks · 0 commits
2 of 6 standards met
Hi, if you run the result will always contain the number of open ips on the specific port but always the same IP (e.g. 10.0.1.255 or 192.168.1.255). This is caused because you dereference a variable inside a GO Routine which was referenced inside a Range Loop. and then To fix that, you need to copy the id first into a variable and pass it into the go routine (as you did with address).
Repository: jessfraz/netscan. Description: Scan network ips and ports. Stars: 263, Forks: 55. Primary language: Go. Languages: Go (53.3%), Makefile (42.7%), Dockerfile (4.1%). License: MIT. Latest release: v0.3.4 (7y ago). Open PRs: 3, open issues: 2. Last activity: 3y ago. Community health: 42%. Top contributors: jessfraz, meyskens, github-actions[bot], toc-me[bot].