Pages

Reset Password GM Perfect World

Perfect World Reset Passwords for GMIf you have a Perfect World Private Server and cannot reset user passwords this is for you.

Please note this is for GM's ONLY!!! There is no security and it is your responsibility to hide this script and not reveal it to anyone but who is completely in charge.

I do not claim any responsibility to failure, hacking, or mal-intent. If we find a way to modify this with better security we will update. Check back often.

Filename: process.php



<html><body>
<?php
include "config.php";
$Login = $_POST['user'];
$Pass = $_POST['pass'];
$Salt = $Login.$Pass;
$Salt = md5($Salt);
$Salt = "0x".$Salt;
echo "". $Salt ."";
$conn = mysql_connect($DBHost, $DBUser, $DBPassword) or die                      ('Error connecting to mysql');
mysql_select_db($DBName);
MySQL_Query("call changePasswd('$Login', $Salt)") or die ("Can't execute query.");
echo "Password for <b>".$Login."</b> has been changed!";
mysql_close($conn);
?>
</body></html>
Filename: younameit.html



<html><body>
<h4>Perfect World GM Password Reset</h4>
<form action="process.php" method="post">
User: <input name="user" type="text" />
Pass: <input name="pass" type="text" />
<input type="submit" />
</form>
</body></html>
Under user: you use the actual LOGIN name, NOT CHARACTER or ID #.

Note: You need to include CONFIG.PHP from your IWEB directory into the same directory as these 2 files.

Have a nice day.

Steeltown
Ragezone