筆記-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

留言

這個網誌中的熱門文章

使用 Realterm 2.0.0.70 開啟esp8266 ESP-01S 下AT command

在debain安裝DVWA

centos 7 各種問題大混戰