⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
virtual-server
/
View File Name :
delete_balancers.cgi
#!/usr/bin/perl # Delete several proxy balancers require './virtual-server-lib.pl'; &ReadParse(); &licence_status(); $d = &get_domain($in{'dom'}); &can_edit_domain($d) && &can_edit_forward() || &error($text{'balancers_ecannot'}); &has_proxy_balancer($d) || &error($text{'balancers_esupport'}); &error_setup($text{'balancers_derr'}); # Find them and delete them @d = split(/\0/, $in{'d'}); @d || &error($text{'balancers_denone'}); &obtain_lock_web($d); @balancers = &list_proxy_balancers($d); foreach $path (@d) { ($b) = grep { $_->{'path'} eq $path } @balancers; if ($b) { $err = &delete_proxy_balancer($d, $b); &error($err) if ($err); } } # Log and return &release_lock_web($d); &set_all_null_print(); &run_post_actions(); &webmin_log("delete", "balancers", scalar(@d), { 'dom' => $d->{'dom'} }); &redirect("list_balancers.cgi?dom=$in{'dom'}");