• webshell导致项目崩溃


    mysql挂死,无法启动,解决mysql无法启动:

    /etc/my.cnf配置文件中innodb_force_recovery=1
    然后service mysqld start
    /etc/my.cnf配置文件中innodb_force_recovery=1注释掉
    再service mysqld restart

    一句话查找PHP木马
    # find ./ -name "*.php" |xargs egrep "phpspy|c99sh|milw0rm|eval(gunerpress|eval(base64_decoolcode|spider_bc"> /tmp/php.txt
    # grep -r --include=*.php '[^a-z]eval($_POST' . > /tmp/eval.txt
    # grep -r --include=*.php 'file_put_contents(.*$_POST[.*]);' . > /tmp/file_put_contents.txt

    # find ./ -name "*.php" -type f -print0 | xargs -0 egrep "(phpspy|c99sh|milw0rm|eval(gzuncompress(base64_decoolcode|eval(base64_decoolcode|spider_bc|gzinflate)" | awk -F: '{print $1}' | sort | uniq
    1、oneinstack/src/php-5.6.36/ext/phar/shortarc.php
    #grep -r --include=*.php '[^a-z]eval($_POST' . > grep.txt
    #grep -r --include=*.php 'file_put_contents(.*$_POST
    .?
    );' . > grep.txt
    1、./grep.txt文件中

  • 相关阅读:
    如何实现Iframe透明
    ListView(未完)
    我又回来了
    前言
    代码重用and思路重用
    图片上传
    千万数量级分页存储过程
    MSSQL中,将text,ntext转换为int型数据
    优秀的回复,来自圣殿骑士
    SqlDataSource控件
  • 原文地址:https://www.cnblogs.com/mmady/p/10313540.html
Copyright © 2020-2023  润新知