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/scripts.20110531.215904.25158/installfpfreebsd
#!/usr/bin/perl
# cpanel - installfpfreebsd                       Copyright(c) 2010 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

system("/scripts/bsdi386compatinstall");

$result = `/usr/local/frontpage/version5.0/bin/owsadm.exe`;

if ( $result =~ /owsadm.exe/ ) { exit(); }

system( "fetch", "-o", "/usr/local/fp50.freebsd.tar.gz", "http://httpupdate.cpanel.net/fp/fp50.freebsd.tar.gz" );
chdir("/usr/local");
system( "tar", "xfzv", "/usr/local/fp50.freebsd.tar.gz" );

system("/usr/local/frontpage/version5.0/set_default_perms.sh");

unlink("/usr/local/fp50.freebsd.tar.gz");
unlink("/usr/local/frontpage/version5.0/apache-fp/suidkey");
system("ps -ea | tail -10 | sed -e 's/ //g' | cut -c10-137 > /usr/local/frontpage/version5.0/apache-fp/suidkey");
chown 0, 0, "/usr/local/frontpage/version5.0/apache-fp/suidkey";
chmod( 0600, "/usr/local/frontpage/version5.0/apache-fp/suidkey" );

chmod 0755, "/usr/local/frontpage";
chmod 0755, "/usr/local/frontpage/version5.0";

chown 0, 0, "/usr/local/frontpage/version5.0/apache-fp";
chmod 0711, "/usr/local/frontpage/version5.0/apache-fp";

chown 0, 10, "/usr/local/frontpage/version5.0/apache-fp/_vti_bin";
chmod 0755, "/usr/local/frontpage/version5.0/apache-fp/_vti_bin";

chown 0, 10, "/usr/local/frontpage/version5.0/apache-fp/_vti_bin/fpexe";
chmod 4755, "/usr/local/frontpage/version5.0/apache-fp/_vti_bin/fpexe";

system( "chown", "-R", "bin:bin", "/usr/local/frontpage/version5.0/exes" );
system( "chmod", "-R", "755",     "/usr/local/frontpage/version5.0/exes" );

chmod 0755, "/usr/local/frontpage/version5.0/nls";
system("chmod 644 /usr/local/frontpage/version5.0/nls/*");

system("/scripts/initfpsuexec");