Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能帮我创建一个添加[ SURICATA ]到此日志文件中的脚本?
[ SURICATA ]
alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"ET SCAN SQL Injection Attempt (Agent uil2pn)"; flow:to_server,established; content:"$
尝试这个:
sed -i 's/.*:"/&[ SURICATA ]/' yourfile.log