Talk about a Linux Trojan attack data full caused by MySQL cannot start

Source: Internet
Author: User

Initially thought it was MySQL that the extension between them did not open!

Later found that the Trojan did make it initialized, and at first did not use a graphical interface

Then, modify and turn on all PDO extensions

VIM basic operation (except for inserting, the other command is the premise of pressing ESC):

insert: I  press ESC to operate (if you want to force exit, you need to add !) ) Exit: Q Exit and Save: Wq

Inquire

Example:/XXX instance:/Pdo_

Cat View Commands (The following parameters are viewed from each)

Example:cat  XXX instance:cat php.ini

Query the contents of the current directory file:

To find a file or folder:

Query the directory that is currently located:

Pwd

MySQL Operation:

Turn on stop restart MySQL

Service mysqld startservice mysqld stopservice mysqld Restart

Turn off log file generation

Find the MY.CNF, and then find the following two lines, plus (#)

Log-bin=mysql-binbinlog_format=mixed

Windows remote download Linux files above

Using PSCP

Initially wanted to use Xshell, and later found that the server could not download Lrzsz (lack of space), so that later ruled out a lot of possibilities

Since the start of the deployment with the pagoda Linux, so to download the official website tools

https://www.bt.cn/

Installing CentOS:

Yum Install wget wget install. sh http:///download.bt.cn/install/install.sh && sh install.sh

After the successful landing, after the installation interface, it pops up the login background information (an address and background login password and account)

Finally, through the graphical interface to solve the view hard disk found full, and finally remove the MySQL log files to solve the problem, note that after the removal of the Recycle Bin cleanup is ok!

Talk about a Linux Trojan attack data full caused by MySQL cannot start

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.