mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Make NetBlockRandomIPv4 responsible for tracking number of random addrs
This commit is contained in:
@@ -101,7 +101,11 @@ public:
|
||||
const std::list<struct sockaddr_storage> &get_unscanned_addrs(void) const;
|
||||
/* is the current expression a named host */
|
||||
int get_namedhost() const;
|
||||
void generate_random_ips();
|
||||
void generate_random_ips(int num_random);
|
||||
void reject_last_host();
|
||||
|
||||
private:
|
||||
std::list<NetBlock *>netblocks;
|
||||
};
|
||||
|
||||
#endif /* TARGETGROUP_H */
|
||||
|
||||
Reference in New Issue
Block a user