Starting with this essential command:
> time awk < IPv4.txt '{ print $2"\t"}' - | sudo nmap -6 -T4 --max-retries 8 - > Intm.IPv4.txt

Take my word for it: Works great, no hassles, but time-consuming for the computer; typically about a minute for each address in the file, which generally is several thousand fields in length.

Now introduce the Modern Age:
        
> time awk < Question-2Col-IPv6.txt '{ print $2"\t"}' - | sudo nmap -6 -T4 --max-retries 8 - > Intm.Question-2Col-IPv6.txt

Not so great; here's the response, truncated greatly:

>> setup_target: failed to determine route to 2a0d:7c40:3000:98c::2
>> WARNING: No targets were specified, so 0 hosts scanned.

I tried simplification:

> time sudo nmap -6 -iL Question-IPv6.txt > Intm.Question-IPv6.txt

One-at-a-time might work, but there are thousands to be scanned.

The first file has a column $1 that represents a count of the number of instances in the dataset and a column $2 of IPv6 addresses; there aren't any hostnames in this dataset, which is the point
of my exercise.

The second file is a simplified version with only a single column of some typical IPv6 addreses.

There aren't many Recent Visitors found with my searches that have IPv6 addresses, but there surely will be ... have to be ready for those ! I used nslookup on a few with decidedly mixed results.; nMap does much better with recalcitrant IPv4 addresses in datasets which have not had their IPv4 addresses
gratuitously converted to [unresolvable] hostnames.

George Langford

2       2804:4c30:c002:13f7::1
2       2a00:1838:36:37d::68ac
2       2a00:7c80:0:36::b436:25e8
2       2a01:4f8:c2c:3f1d::1
2       2a03:a140:10:2340::1
2       2a05:7cc0:0:185:34:52:8:1
2       2a07:3b80:0:d95b:68a9:5368:c459:7072
2       2a0d:7c40:3000:98c::2
2a03:b0c0:3:e0::1f9:1
2a04:ad80:1:150::784b
2a05:7cc0:0:185:34:52:8:1
2a05:7cc0:0:185:80:130:250:1
2a05:9403::3f
2a07:3b80:0:d95b:68a9:5368:c459:7072
2a0d:7c40:3000:98c::2

Reply via email to