MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //proc/self/root/proc/self/root/scripts.20110531.215904.25158/runweblogs
#!/usr/bin/perl
# cpanel4 - runweblogs               Copyright(c) 1997-2004 cPanel, Inc.
#                                 All rights Reserved.
# copyright@cpanel.net              http://cpanel.net
# This code is subject to the cpanel license. Unauthorized copying is prohibited

my($copyright) = 'Copyright(c) 1997-2004 cPanel, Inc. All rights Reserved.';

$| = 1;

print "Log checker loaded ok..\n";

$user = $ARGV[0];
$user =~ s/\n//g;


if ($user eq "") {
        if (-t STDIN) {
               print "What user's logs did you want to update? ";
                $user = <STDIN>;
                chomp($user);
        } else { die "stdin is not a tty and no user was given to us"; }
}

$user =~ s/\n|\r|\s//g;

system("/usr/local/cpanel/cpanellogd","$user");