⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
proc
/
View File Name :
kill_proc.cgi
#!/usr/bin/perl # kill_proc.cgi # Send a signal to a process require './proc-lib.pl'; &ReadParse(); &switch_acl_uid(); &error_setup(&text('kill_err', $in{signal}, $in{pid})); foreach $s ('KILL', 'TERM', 'HUP', 'STOP', 'CONT') { $in{'signal'} = $s if ($in{$s}); } %pinfo = &process_info($in{pid}); &can_edit_process($pinfo{'user'}) || &error($text{'kill_ecannot'}); if (&kill_logged($in{signal}, $in{pid})) { $in{'args0'} = $pinfo{'args'}; &webmin_log("kill", undef, undef, \%in); sleep(1); if (&process_info($in{pid})) { # still around.. return to process info &redirect("edit_proc.cgi?$in{pid}"); } else { # gone case .. return to list &redirect("index.cgi"); } } else { # failed to send signal &error("$!"); }