Advertisement
rg443

logparser - zmap icmp to tsv

Jun 25th, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. logparser -i:CSV -o:TSV "select top 1000000 sent_timestamp_ts,ipv4_to_int(saddr) as saddr_raw, sub(add(mul(timestamp_ts,1000),div(timestamp_us,1000)),add(mul(sent_timestamp_ts,1000),div(sent_timestamp_us,1000)) ) as rtt,ttl,saddr     into 2.txt from 0jxhqfw28te20qnd-0-icmp-echo_request-full_ipv4-20170623T120001-zmap-results.csv where success=1"
  2.  
  3. logparser -i:TSV -o:TSV "select top 100000 div(ipv4_to_int(saddr),65536) as x, sent_timestamp_ts,ipv4_to_int(saddr) as saddr_raw,rtt,ttl,saddr into echo\net-b-*.txt from icmp-echo-20170623.txt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement