duai4379 2015-07-28 07:46
浏览 50
已采纳

找到注入恶意代码的工具? [关闭]

I search a tool to find inject malicious code in my PHP files. In each PHP file I had this inject:

eval(gzinflate(base64_decode('pRlrc9u48bM70/+AaBhTjGmJol5WbNpJE+fuZppLqjid6di...

Of course I use the shell to find and replace the inject. But each hour the inject is back. So some PHP file(s) are injected. I've more than 34 websites on this server - each website are injected.

My question now: Has somebody an idea to find the security hole? Maybe a online tool or a script which I can check all PHP files?

Thanks for your help.

  • 写回答

1条回答 默认 最新

  • du9843 2015-07-28 08:00
    关注

    I've used something like: grep -Rl "eval" . and grep -Rl "base64" . it can be a good start.

    Try to search for patterns in the infected files.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 matlab有关常微分方程的问题求解决
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable