Php. Pirus is the first discovered virus written in PHP that looks for files with the. php and. htm extensions and inserts code to call itself. This virus can only be on a server with PHP as interpreter. Accessing a Web page that is infected with it does not infect the virus.
Technical Description:
This virus is written in PHP with a length of 718 bytes.
When the attack occurs, it looks for files in the current directory that end with. php and. htm, and if a writable file is found, it first determines whether the file is infected and, if not, it inserts a row into the file, giving priority to executing the virus file
Eliminate:
The virus file name may be changed, so completely eliminate it, you must:
1. Delete original virus file
2. Remove virus code from all infected PHP and HTM files
If the virus file name is assumed to be virus.php, then the following statement in all infected files must delete the include "virus.php"
/php>
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.