!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/root/migration/restore/   drwxr-xr-x
Free 1.31 GB of 7.22 GB (18.17%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     6_restore_domain.php (1.15 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/php
<?php

$fd
=fopen("domain.edit.lst""r");
while (
$string=trim(fgets($fd)))
{
//    [0] => elid=mebel.learn2day.com.ua
//    [1] => name=mebel.learn2day.com.ua
//    [2] => owner=pronin
//    [3] => ip=91.197.128.216
//    [4] => ns=ns6.data-xata.com. ns7.data-xata.com.
//    [5] => mx=mail mail
//    [6] =>

    
if (strlen($string) > 5) {
        
$arr explode("+"$string);
//        print_r($arr);

        
$elid "";
        
$name "";
        
$owner "";

        foreach (
$arr as $l) {
            
$line explode("="$l);
            
$func $line[0];
            
$val $line[1];
            switch (
$func) {
                case 
"elid":
                    
$elid $val;
                break;
                case 
"name":
                    
$name $val;
                break;
                case 
"owner":
                    
$owner $val;
                break;
            }
        }

        
$exec_str="/usr/local/ispmgr/sbin/mgrctl domain.edit owner=".$owner." name=".$name." ip=91.200.40.111 ns=ns1.h111.hvosting.ua. ns2.h111.hvosting.ua. mx=\"mail mail\" elid= sok=ok";
        echo 
$exec_str."\n";
        
system($exec_str);
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0375 ]--