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


Viewing file:     run.sh (1.59 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash
set -e

# Load docker defaults and check conf
docker info

# Change folder to the root folder
PARENTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../ && pwd )"
cd "$PARENTDIR"

# Delete any instance if previously existent
docker rm -f httpbin-inst || echo ''
docker rm -f weevely-inst || echo ''
docker network rm weevely-testnet || echo ''

# Create the network
docker network create weevely-testnet

# Run httpbin container for local testing
docker pull kennethreitz/httpbin
docker run -p 8888:80 --net=weevely-testnet --rm --name httpbin-inst -d kennethreitz/httpbin

# Wait until the http server is serving
until curl --output /dev/null --silent --head http://localhost:8888/; do
    echo "waiting for the http://localhost:8888/ service to start..."
    sleep 1
done

# Build weevely container
docker build -f tests/docker/Dockerfile . -t weevely
docker run --rm --net=weevely-testnet --name weevely-inst -v "$(pwd):/app/" -p 80:80 -d weevely

# Wait until the http server is serving
until curl --output /dev/null --silent --head http://localhost/; do
    echo "waiting for the http://localhost/ service to start..."
    sleep 1
done

if [ "$1" = "bash" ]; then
  docker exec -e "AGENT=$AGENT" -it weevely-inst /bin/bash
else
  for AGENT in agent.php agent.phar; do
    if [ -z "$1" ]; then
      docker exec -e "AGENT=$AGENT" -it weevely-inst python -m unittest discover ./tests/ "test_*.py"
    else
      docker exec -e "AGENT=$AGENT" -it weevely-inst python -m unittest discover ./tests/ "test_$1.py"
    fi
  done
fi

docker rm -f weevely-inst
docker rm -f httpbin-inst
docker network rm weevely-testnet

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