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/spam/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/spam/save_priv.cgi
#!/usr/bin/perl
# save_priv.cgi
# Save privileged options

require './spam-lib.pl';
&error_setup($text{'priv_err'});
&ReadParse();
&set_config_file_in(\%in);
&can_use_check("priv");
&execute_before("priv");
&lock_spam_files();
$conf = &get_config();

&parse_opt($conf, "auto_whitelist_path", \&check_path);
&parse_opt($conf, "auto_whitelist_file_mode", \&check_mode);
&parse_opt($conf, "dcc_options", \&check_args);
&parse_opt($conf, "timelog_path", \&check_path);
&parse_opt($conf, "razor_config", \&check_path);

&flush_file_lines();
&unlock_spam_files();
&execute_after("priv");
&webmin_log("priv");
&redirect($redirect_url);

sub check_path
{
$_[0] =~ /^(\/|\~)\S+$/ || &error(&text('priv_epath', $_[0]));
}

sub check_mode
{
$_[0] =~ /^[0-7]{4}$/ || &error(&text('priv_emode', $_[0]));
}

sub check_args
{
$_[0] =~ /^[A-Za-z \-]+$/ || &error(&text('priv_eargs', $_[0]));
}


Youez - 2016 - github.com/yon3zu
LinuXploit