!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/share/webmin/webmin/   drwxr-xr-x
Free 26.06 GB of 117.98 GB (22.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     postinstall.pl (2.01 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

require 'webmin-lib.pl';

sub module_install
{
# Update cache of which module's underlying servers are installed 
&build_installed_modules();

# Remove the scheduled module update cron, which is now obsolete
&foreign_require("cron");
my @jobs = &cron::list_cron_jobs();
my $job = &find_cron_job(\@jobs);
if ($job) {
    &cron::delete_cron_job($job);
    &unlink_logged($cron_cmd);
    }

# Figure out the preferred cipher mode
&lock_file("$config_directory/miniserv.conf");
my %miniserv;
&get_miniserv_config(\%miniserv);
if (!defined($miniserv{'cipher_list_def'})) {
    # No mode set, so guess based on ciphers
    my $clist = $miniserv{'ssl_cipher_list'};
    my $cmode = !$clist ? 1 :
            $clist eq $strong_ssl_ciphers ? 2 :
            $clist eq $pfs_ssl_ciphers ? 3 :
            0;
    $miniserv{'cipher_list_def'} = $cmode;
    }
elsif ($miniserv{'cipher_list_def'} == 2 || $miniserv{'cipher_list_def'} == 3) {
    # Sync ciphers with Webmin's preferred list
    $miniserv{'ssl_cipher_list'} = $miniserv{'cipher_list_def'} == 2 ?
        $strong_ssl_ciphers : $pfs_ssl_ciphers;
    }

# If this is the first install, enable recording of logins by default
if (!-r $first_install_file || $miniserv{'login_script'} eq $record_login_cmd) {
    &foreign_require("cron");
    &cron::create_wrapper($record_login_cmd, "", "record-login.pl");
    &cron::create_wrapper($record_logout_cmd, "", "record-logout.pl");
    &cron::create_wrapper($record_failed_cmd, "", "record-failed.pl");
    $miniserv{'login_script'} = $record_login_cmd;
    $miniserv{'logout_script'} = $record_logout_cmd;
    $miniserv{'failed_script'} = $record_failed_cmd;
    }

&put_miniserv_config(\%miniserv);
&unlock_file("$config_directory/miniserv.conf");

# Create a link from /usr/sbin/webmin to bin/webmin under the root dir
my $bindir = "/usr/sbin";
my $lnk = $bindir."/webmin";
if (-d $bindir && !-e $lnk) {
    &symlink_file($lnk, $root_directory."/bin/webmin");
    }

# Record the version of Webmin at first install
if (!-r $first_install_file) {
    my %first;
    $first{'version'} = &get_webmin_version();
    &write_file($first_install_file, \%first);
    }
}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0035 ]--