zoukankan      html  css  js  c++  java
  • 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文件中

  • 相关阅读:
    docker使用
    window版docker安装及配置
    mysql命令
    xshell
    git 命令
    分页器原理
    PCL-Kinfu编译手册
    cmake-add_definitions
    cmake-include_directories
    cmake-source_group
  • 原文地址:https://www.cnblogs.com/mmady/p/10313540.html
Copyright © 2011-2022 走看看