筆記-cowrie json log整理

grep "succeeded" /home/cowrie/cowrie/var/log/cowrie/*.json.* >temp_json.txt
sed -i 's/"/\ /g' temp_json.txt
cat temp_json.txt |awk '{print $31}' >atacker_ip.txt

cat atacker_ip.txt |sort|uniq -c

留言

這個網誌中的熱門文章

IP 計算心法

node-red 寫成服務時遇到 typeerror the path argument must be of type string. received type undefined

在debain安裝DVWA