t3ch@kosgen0:~/Working/Hobies/attack$ for i in $(seq 3 10); do ip=$(sed -n $i'p' a1.clear.txt); echo "ip: "$ip" => "$(geoiplookup $ip); done
ip: 186.209.33.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.44.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.37.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.38.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.45.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.43.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.47.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.57.0 => GeoIP Country Edition: BR, Brazil
t3ch@kosgen0:~/Working/Hobies/attack$ for i in $(seq 13 23); do ip=$(sed -n $i'p' a1.clear.txt); echo "ip: "$ip" => "$(geoiplookup $ip); done
ip: 186.209.56.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.63.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.35.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.42.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.51.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.48.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.58.0 => GeoIP Country Edition: BR, Brazil
ip: 186.209.49.0 => GeoIP Country Edition: BR, Brazil
ip: 190.89.219.0 => GeoIP Country Edition: BR, Brazil
ip: 190.89.218.0 => GeoIP Country Edition: BR, Brazil
ip: 190.89.216.0 => GeoIP Country Edition: BR, Brazil
t3ch@kosgen0:~/Working/Hobies/attack$ for i in $(seq 23 33); do ip=$(sed -n $i'p' a1.clear.txt); echo "ip: "$ip" => "$(geoiplookup $ip); done
ip: 190.89.216.0 => GeoIP Country Edition: BR, Brazil
ip: 190.89.161.0 => GeoIP Country Edition: BR, Brazil
ip: 177.73.55.0 => GeoIP Country Edition: BR, Brazil
ip: 177.73.50.0 => GeoIP Country Edition: BR, Brazil
ip: 177.73.48.0 => GeoIP Country Edition: BR, Brazil
ip: 177.73.54.0 => GeoIP Country Edition: BR, Brazil
ip: 191.36.171.0 => GeoIP Country Edition: BR, Brazil
ip: 191.36.174.0 => GeoIP Country Edition: BR, Brazil
ip: 191.36.173.0 => GeoIP Country Edition: BR, Brazil
ip: 191.36.168.0 => GeoIP Country Edition: BR, Brazil
ip: 191.36.170.0 => GeoIP Country Edition: BR, Brazil


(base)t3ch@kosgen2:~/fwspoof$ ls -l ../a*.txt
-rw-rw-r-- 1 t3ch t3ch 491 Mar 31 12:45 ../a.time.txt
-rw-rw-r-- 1 t3ch t3ch 10258 Mar 30 01:42 ../a1.txt
-rw-rw-r-- 1 t3ch t3ch 6352 Mar 31 12:42 ../a10.txt
-rw-rw-r-- 1 t3ch t3ch 1082 Mar 30 10:45 ../a2.txt
-rw-rw-r-- 1 t3ch t3ch 3376 Mar 30 14:52 ../a3.txt
-rw-rw-r-- 1 t3ch t3ch 2632 Mar 30 19:31 ../a4.txt
-rw-rw-r-- 1 t3ch t3ch 3314 Mar 30 21:26 ../a5.txt
-rw-rw-r-- 1 t3ch t3ch 4492 Mar 30 23:28 ../a6.txt
-rw-rw-r-- 1 t3ch t3ch 8398 Mar 31 04:48 ../a7.txt
-rw-rw-r-- 1 t3ch t3ch 3190 Mar 31 07:52 ../a8.txt
-rw-rw-r-- 1 t3ch t3ch 3190 Mar 31 09:30 ../a9.txt
(base)t3ch@kosgen2:~/fwspoof$ ls -l ../*.capt
-rw-r--r-- 1 t3ch t3ch 200126464 Mar 30 00:47 ../out1.cap
-rw-r--r-- 1 t3ch t3ch 119230464 Mar 30 01:30 ../out2.cap
-rw-r--r-- 1 t3ch t3ch 95375360 Mar 30 10:45 ../out3.cap
-rw-r--r-- 1 t3ch t3ch 117190656 Mar 30 14:37 ../out4.cap
-rw-r--r-- 1 t3ch t3ch 492539904 Mar 30 18:16 ../out5.cap
-rw-r--r-- 1 t3ch t3ch 214515712 Mar 30 22:12 ../out6.cap
-rw-r--r-- 1 t3ch t3ch 86831104 Mar 31 11:31 ../out7.cap
-rw-r--r-- 1 t3ch t3ch 171384832 Mar 31 12:41 ../out8.cap


~$ for f in $(ls a*txt); do echo $f" => "$(cat $f|wc -l); done
a.time.txt => 10
a1.txt => 166
a10.txt => 103
a2.txt => 18
a3.txt => 55
a4.txt => 43
a5.txt => 54
a6.txt => 73
a7.txt => 136
a8.txt => 52
a9.txt => 52


~$ tail a1.txt
DROP all -- 207.180.3.0/24 0.0.0.0/0           
DROP all -- 200.10.227.0/24 0.0.0.0/0           
DROP all -- 168.205.61.0/24 0.0.0.0/0           
DROP all -- 168.232.198.0/24 0.0.0.0/0           
DROP all -- 38.224.192.0/24 0.0.0.0/0           
DROP all -- 187.62.246.0/24 0.0.0.0/0           
DROP all -- 168.235.197.0/24 0.0.0.0/0           
DROP all -- 45.177.139.0/24 0.0.0.0/0           
DROP all -- 45.177.136.0/24 0.0.0.0/0           
DROP all -- 45.177.138.0/24 0.0.0.0/0


~$ cat a1.txt | awk '{print $4}' | sort | tail
45.182.0.0/24
45.182.1.0/24
45.182.2.0/24
45.228.244.0/24
45.228.246.0/24
45.7.103.0/24
61.110.219.0/24
61.110.220.0/24
ACCEPT)
source