scan.go
func (s Scan) AddPortRange(lPort, hPort uint16) Scan {
	for i := lPort; i < hPort; i++ {
		s.configPorts = append(s.configPorts, i)
	}
	return s
}
func (s Scan) AddPortRange(lPort, hPort uint16) Scan {
	for i := lPort; i < hPort; i++ {
		s.configPorts = append(s.configPorts, i)
	}
	return s
}
func ( s Scan ) AddPortRange ( lPort , hPort uint16 ) Scan { for i := lPort ; i < hPort ; i ++ { s . configPorts = append ( s . configPorts , i ) } return s }
// AddPortRange adds a list of ports where the first argument is the low bound
// (inclusive) on the range and the second argument is the upper bound
// (exclusive)
//
// E.x. AddPortRange(0, 1025) adds ports 1-1024 to the list
// TODO(t94j0): Make into actual nmap ranges. (-p1-1024)
AddPortRange adds a list of ports where the first argument is the low bound ( inclusive ) on the range and the second argument is the upper bound ( exclusive ) E . x . AddPortRange ( 0 1025 ) adds ports 1 - 1024 to the list TODO ( t94j0 ) : Make into actual nmap ranges . ( - p1 - 1024 )