MySQL
配置
$ show variables like '%general%';$ SET GLOBAL general_log = 'On';$ SET GLOBAL general_log_file = '/var/log/mysql/mysql.log'分析
# 查看哪些IP在爆破
$ grep "Access denied" mysql.log |cut -d "'" -f4|uniq -c|sort -nr
# 爆破用户字典有哪些
$ grep "Access denied" mysql.log |cut -d "'" -f2|uniq -c|sort -nr查看目录是否有异常文件
mysql\lib\plugin
c:/windows/system32/wbem/mof/Last updated