- Joined
- May 23, 2010
- Messages
- 8
- Reaction score
- 0
spixx when you share it with us and which topic ?
thanks for everything
thanks for everything
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!ForbiddenTESTING!?!
Oh MY GaWD do we have a working source?!? Well yes we have this is the latest working build ofYou must be registered to see links.
Like with the SVN some amount of work is needed since you have to guess the password. To help you on the way I have two hints; Watch the first movie in LOTR (the fellowship) the second hint is that the username is Friend...
"Speak friend and enter"
Last post here for a while, since you now have all info I will go underground and hide from all the current and future noobs asking why a include does not work... There was a reason for Akakoris drop from this project do not force more of us away it will take the time it takes. If you really feel the need to play travian tryYou must be registered to see linksI heard it WORKS!
// regards Spixx (cya in 2 months)
if(SECURITY == 0) {
$uid = $database->register($_POST['name'],md5($_POST['pw']),$_POST['email'],$act);
}
// Slightly better security SHA1
else if(SECURITY == 1) {
$uid = $database->register($_POST['name'],sha1($_POST['pw']),$_POST['email1'],$act);
}
// Super secure with salt of md5 and sha1
else if(SECURITY == 2) {
$hash = sha1($pw1);
function createSalt() {
$string = md5(uniqid(rand(), true));
return substr($string, 0, 3);
}
$salt = createSalt();
$hash = sha1($salt . $hash);
$uid = $database->register($_POST['name'],$hash,$_POST['email1'],$act);
}
if($uid) {
setcookie("COOKUSR",$_POST['name'],time()+COOKIE_EXPIRE,COOKIE_PATH);
setcookie("COOKEMAIL",$_POST['email'],time()+COOKIE_EXPIRE,COOKIE_PATH);
if(AUTH_EMAIL) {
$mailer->sendActivate($_POST['email'],$_POST['name'],$act);
header("Location: activate.php?id=$uid");
}
}
function createSalt() {
$string = md5(uniqid(rand(), true));
return substr($string, 0, 3);
}
:: /srv/http/default/public/travian-dev# while [ true ]; do php -r '$pw1="foobar";
$hash = sha1($pw1);
function createSalt() {
$string = md5(uniqid(rand(), true));
return substr($string, 0, 3);
}
$salt = createSalt();
$hash = sha1($salt . $hash);
echo $hash."\n";'; done;
c88cb0283222b3e291816b8690402752a6e3bf10
01d114fda9d54f058d6a471a41b2d62f0d8ca5ce
398954c60f1d77db438818b230f8238ec3630f30
93d0660e2199730f9bde5fcb3433f04820142b65
98c1bf983b117731583561034d9e1e39a8eb8956
ef18c65b8f07142c001d7dff22dd4790a101d819
cc9892cc7661266a22620d71c3ab496483d2b34a
68ee6091ee129d1fd4049c15caf0428f40fb415c
d545f451b8fcd4879ba58172299904c60be704ff
8c2024dfbbcbd5a1ecf5060b7829aeee366290d0
c33f91b2b04ec43aa9eea9758ab68ac66b1ec616
92c7878874e09defdb4ce2fea6bf862234073032
^C
:: /srv/http/default/public/travian-dev#