We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why do you have ports listed in the masscanresult when you already have it in hosts? :/
ports
masscanresult
hosts
MasscanResult struct { Hosts []Hosts `json:"hosts"` Ports []Ports `json:"ports"` } // Hosts masscan hosts output struct Hosts struct { IP string `json:"ip"` Ports []Ports `json:"ports"` Timestamp string `json:"timestamp"` } // Ports masscan ports output struct Ports struct { Port int `json:"port"` Proto string `json:"proto"` Status string `json:"status"` Reason string `json:"reason"` TTL int `json:"ttl"` } )
why not just do this?
MasscanResult struct { Hosts []Hosts `json:"hosts"` } // Hosts masscan hosts output struct Hosts struct { IP string `json:"ip"` Ports []Ports `json:"ports"` Timestamp string `json:"timestamp"` } // Ports masscan ports output struct Ports struct { Port int `json:"port"` Proto string `json:"proto"` Status string `json:"status"` Reason string `json:"reason"` TTL int `json:"ttl"` }
The text was updated successfully, but these errors were encountered:
Sorry, the code is a bit old, your suggestion is better👏
Sorry, something went wrong.
No branches or pull requests
Why do you have
ports
listed in themasscanresult
when you already have it inhosts
? :/why not just do this?
The text was updated successfully, but these errors were encountered: