%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/spam/ |
Upload File : |
#!/usr/bin/perl # edit_priv.cgi # Display various privileged settings require './spam-lib.pl'; &ReadParse(); &set_config_file_in(\%in); &can_use_check("priv"); &ui_print_header($header_subtext, $text{'priv_title'}, ""); $conf = &get_config(); print "$text{'priv_desc'}<p>\n"; &start_form("save_priv.cgi", $text{'priv_header'}); # Whitelist file path $path = &find("auto_whitelist_path", $conf); print &ui_table_row($text{'priv_white'}, &opt_field("auto_whitelist_path", $path, 40, "~/.spamassassin/auto-whitelist")); # Whitelist file mode $mode = &find("auto_whitelist_file_mode", $conf); print &ui_table_row($text{'priv_mode'}, &opt_field("auto_whitelist_file_mode", $mode, 4, "0700")); # DCC options $dcc = &find("dcc_options", $conf); print &ui_table_row($text{'priv_dcc'}, &opt_field("dcc_options", $dcc, 10, "-R")); # Timing log file $log = &find("timelog_path", $conf); print &ui_table_row($text{'priv_log'}, &opt_field("timelog_path", $log, 40, "NULL")); # Razor config file $razor = &find("razor_config", $conf); print &ui_table_row($text{'priv_razor'}, &opt_field("razor_config", $razor, 40, "~/razor.conf")); &end_form(undef, $text{'save'}); &ui_print_footer($redirect_url, $text{'index_return'});