哪吒暂时没发现中招,不给过把所有机器的webssh关掉

lolcc 2026-06-17 01:33 1

暂时没中招的小伙伴可以试试


sudo sed -i 's/disable_command_execute:.*/disable_command_execute: true/g' /opt/nezha/agent/config.yml || echo "disable_command_execute: true" | sudo tee -a /opt/nezha/agent/config.yml && sudo systemctl restart nezha-agent
最新回复 (5)
  • BiggerIan 06-17 01:51
    1

    我也是,我直接


    systemctl stop komari-agent.service && systemctl disable komari-agent.service && systemctl status komari-agent.service
  • sk 06-17 01:53
    2

    thanks

  • feelym 06-17 01:54
    3

    我被控全是关闭webshell的,但是我还在在2台机器上发现了别样的配置,查看了一下发现注册也是我的。所以目前只删除,重启的agent就没管了。


    重启没发现新的配置文件。

  • 799814263 06-17 01:55
    4



    我用这个,加上我国内机器杜绝大部分海外流量,真的懒得折腾了

  • lolcc 楼主 06-17 02:05
    5

    @799814263 #4 我也加了这个,agent关闭webssh

* 帖子来源NodeSeek
返回