-
Apprentice
Password Decryption
Hi guys i need to know the server from Dannybest crypts the Password Danny told me to try Base64 but i think thats not the cryption that the server use i have tryed it with the word testtest in base64 it looks like this dGVzdHRlc3Q=
and the same word in the Aion login database looks like this Uau5Y2B43vv4iNhFenx2+FyPEUw= if some one know what decryption it is pls tell me i and a friend r building a Homepage with Game CP and much more things but we need to know how to crypt the password
Last edited by 50roller; 20-07-10 at 02:58 AM.
-
-
akakori
Re: Password Decryption
MessageDigest messageDiegest = MessageDigest.getInstance("SHA-1");
messageDiegest.update(password.getBytes("UTF-8"));
return Base64.encodeToString(messageDiegest.digest(), false);
Sha1
-
Apprentice
Re: Password Decryption
Akakori BIG BIG THX man acc creation works now
-
Novice
Re: Password Decryption
I can't get my register for the aion server to work here it is help me
<?php
include 'config.php';
$connection = mysql_connect($hostip, $username, $password)
or die("Connection to Database failed");
mysql_select_db($database) or die ("Database selection failed");
$name = mysql_real_escape_string($_POST["name"]);
$pw = mysql_real_escape_string($_POST["pw"]);
$pw2 = mysql_real_escape_string($_POST["pw2"]);
$pwhash = SHA1($_POST['pw']);
if ($name == "" || $pw != $pw2 || $pw == "")
{
echo "<body text=\"9EEFF3\" bgcolor=\"000\" link=\"9EEFF3\" alink=\"9EEFF3\" vlink=\"9EEFF3\">
<center>
Please fill out every field!
<br>
<a href=http://dracker.servehttp.com >Back</a>
</center>
</body>";
exit;
}
{
$result = mysql_query("SELECT name FROM account_data WHERE name LIKE '$name'");
$menge2 = mysql_num_rows($result);
if ($menge2 == 0)
{
$entry = "INSERT INTO account_data (name, password) VALUES ('".$name."','".$pwhash."')";
$enter = mysql_query($entry);
if ($enter == true)
{
echo "<body text=\"9EEFF3\" bgcolor=\"000\" link=\"9EEFF3\" alink=\"9EEFF3\" vlink=\"9EEFF3\">
<center>
Account created successfull!
<br>
<a href=http://dracker.servehttp.com >Back</a>
</center>
</body>";
}
else
{
echo "<body text=\"9EEFF3\" bgcolor=\"000\" link=\"9EEFF3\" alink=\"9EEFF3\" vlink=\"9EEFF3\">
<center>
An error occured!
<br>
<a href=http://dracker.servehttp.com >Back</a>
</center>
</body>";
}
}
else
{
echo "<body text=\"9EEFF3\" bgcolor=\"0000\" link=\"9EEFF3\" alink=\"9EEFF3\" vlink=\"9EEFF3\">
<center
This name is already taken!
<br>
<a href=http://dracker.servehttp.com >Back</a>
</center>
</body>";
}
}
Last edited by threlas; 08-09-10 at 12:28 AM.