Here's my present dilemma, exemplified by a snippet from the spreadsheet:

2401:4900:1888:c07f:1:2:4283:5767       2401:4900:1888:fcb4:1:2:4282:aab3       
        
2401:4900:1888:cd70:1:1:4a58:fc0c       2401:4900:1888:fcb4:1:2:4282:aab3       
        
2401:4900:1888:d068:fce8:8739:a7a0:4c60 2401:4900:1888:fcb4:1:2:4282:aab3       
        
2401:4900:1888:e8f5:1:2:4cde:e7ca       2401:4900:1888:fcb4:1:2:4282:aab3       
        
2401:4900:1888:ee55:23c5:e0ec:79fb:59dd 2401:4900:1888:fcb4:1:2:4282:aab3       
        
2401:4900:1888:fcb4:1:2:4282:aab3       2401:4900:1888::/48     IN      AS45609
2401:4900:1889:9396:5693:8b98:3a70:da67 2401:4900:1889:ec73:92c5:3a0a:76d5:10c0 
        
2401:4900:1889:a2d9:382e:b73:73dd:8693  2401:4900:1889:ec73:92c5:3a0a:76d5:10c0 
        
2401:4900:1889:aa8c:730c:fa94:8c27:7bf9 2401:4900:1889:ec73:92c5:3a0a:76d5:10c0 
        
2401:4900:1889:aad7:1:1:7b54:1e4c       2401:4900:1889:ec73:92c5:3a0a:76d5:10c0 
        
2401:4900:1889:c648:2161:968a:1c9e:b1c1 2401:4900:1889:ec73:92c5:3a0a:76d5:10c0 
        
2401:4900:1889:c7c0:f461:a726:a208:3ccb 2401:4900:1889:ec73:92c5:3a0a:76d5:10c0 
        
2401:4900:1889:cd44:e950:74db:8fd2:c134 2401:4900:1889:ec73:92c5:3a0a:76d5:10c0 
        
2401:4900:1889:ec73:92c5:3a0a:76d5:10c0 2401:4900:1889::/48     IN      AS45609

The positions (i.e. $2) ending in ...:aab3 have to be replaced with
2401:4900:1888::/48 IN AS45609
and the positions ending in ...:10c0 ($2) have to be replaced with
2401:4900:1889::/48 IN AS45609 (i.e., $2,$3,$4)

Those key rows, returned by nmap but not repeated by nmap, could have been anywhere in the preceding rows. Of course nmap should not have to repeat the look-ups, but merely
repeating the stating of them would be helpful. It is open source ...

The entire text file has 387,000 rows, so even an inefficient script would be plenty fast enough. I can fill in about five thousand rows an hour ... leading to a time estimate of 387,000/5,000*1 hour = 77 hours ... not impossible while I'm housebound.

It may look silly when the spreadsheet is sorted by IPv6 address, but it's all very necessary when it's sorted by the number of domains visited and/or the number of visits
per domain.

George Langford

Reply via email to