Documentation
¶
Index ¶
Constants ¶
View Source
const ActiveScanLimit = 25
ActiveScanLimit is used as a simple way to prevent DoS attacks and to deal with the fact that we *always* kick off a new scan whenever a page is loaded
If we are hitting more 250 of these on the regular, then have more heavy lifting to do here such as to cache what scans/addrs are currently processing.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScanResults ¶
type ScanResults struct { Addr string NMAPRun nmap.Run ASN *geoip.ASN City *geoip.City Country *geoip.Country }
func ScanAddr ¶
func ScanAddr(addr string) *ScanResults
ScanAddr is a fun and easy method to poll It will return what it can when it can.
This nondeterministic method is useful for including on the home page - without breaking the home page.
Click to show internal directories.
Click to hide internal directories.