!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/acl/   drwxr-xr-x
Free 28.64 GB of 117.98 GB (24.27%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     maketables.cgi (1.23 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Create all needed tables

use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access);
$access{'pass'} || &error($text{'sql_ecannot'});
&ReadParse();
&error_setup($text{'make_err'});

my %miniserv; 
&get_miniserv_config(\%miniserv);
my $dbh = &connect_userdb($in{'userdb'});
ref($dbh) || &error($dbh);

&ui_print_unbuffered_header(undef, $text{'make_title'}, "");

# Create the tables
foreach my $sql (&userdb_table_sql($in{'userdb'})) {
    print &text('make_exec', "<tt>".&html_escape($sql)."</tt>"),"<br>\n";
    my $cmd = $dbh->prepare($sql);
    if (!$cmd || !$cmd->execute()) {
        print &text('make_failed', &html_escape($dbh->errstr)),"<p>\n";
        }
    else {
        $cmd->finish();
        print $text{'make_done'},"<p>\n";
        }
    }
&disconnect_userdb($in{'userdb'}, $dbh);

# Check again if OK
my $err = &validate_userdb($in{'userdb'}, 0);
if ($err) {
    print "<b>",&text('make_still', $err),"</b><p>\n";
    }
else {
    &lock_file($ENV{'MINISERV_CONFIG'});
    $miniserv{'userdb'} = $in{'userdb'};
    $miniserv{'userdb_addto'} = $in{'addto'};
    &put_miniserv_config(\%miniserv);
    &unlock_file($ENV{'MINISERV_CONFIG'});
    &reload_miniserv();
    }

&ui_print_footer("", $text{'index_return'});


:: 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.0042 ]--