%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/cron/ |
Upload File : |
# log_parser.pl # Functions for parsing this module's logs do 'cron-lib.pl'; # parse_webmin_log(user, script, action, type, object, ¶ms, [long]) # Converts logged information from this module into human-readable form sub parse_webmin_log { local ($user, $script, $action, $type, $object, $p, $long) = @_; if ($type eq "env") { return &text('log_env_'.$action, "<tt>$object</tt>"); } elsif ($type eq "crons") { return &text('log_crons_'.$action, $object); } elsif ($action eq "move") { return &text('log_move', "<tt>$object</tt>"); } elsif ($action eq 'modify') { return &text($long ? 'log_modify_l' : 'log_modify', "<tt>$object</tt>", "<tt>".&html_escape($p->{'cmd'})."</tt>"); } elsif ($action eq 'create') { return &text($long ? 'log_create_l' : 'log_create', "<tt>$object</tt>", "<tt>".&html_escape($p->{'cmd'})."</tt>"); } elsif ($action eq 'delete') { return &text($long ? 'log_delete_l' : 'log_delete', "<tt>$object</tt>", "<tt>".&html_escape($p->{'command'})."</tt>"); } elsif ($action eq 'exec' || $action eq 'kill') { return &text($long ? 'log_'.$action.'_l' : 'log_'.$action, "<tt>$object</tt>", "<tt>".&html_escape($p->{'command'})."</tt>"); } else { return $text{'log_'.$action}; } }