Add zmap script

This commit is contained in:
LilyRose2798 2024-04-01 11:33:32 +11:00
parent e29c3be954
commit 2756281ddb
1 changed files with 5 additions and 0 deletions

5
zmap.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
OUTFILE="data/$(date +"%Y-%m-%d")-full-scan.csv"
zmap -B '100M' -M icmp_echo_time '0.0.0.0/0' -f 'saddr,rtt_us,success' -o "$OUTFILE" && \
scp "$OUTFILE" user@to_host:"/destination/$OUTFILE"