⚝
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
/
virtual-server
/
View File Name :
delete_balancers.cgi
#!/usr/bin/perl # Delete several proxy balancers require './virtual-server-lib.pl'; &ReadParse(); $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'}");