Current time: 12-24-2024, 05:06 AM Hello There, Guest! (LoginRegister)


Post Reply 
ftp passwd= *0
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: ftp passwd= *0
Well, nothing seems wrong. At least if the generate_rand... has another end:
Code:
function generate_rand_salt($min = 46, $max = 126) {
    if (CRYPT_BLOWFISH == 1) {
        $length = 13;
        $pre    = '$2$';
    } elseif (CRYPT_MD5 == 1) {
        $length = 9;
        $pre    = '$1$';
    } elseif (CRYPT_EXT_DES == 1) {
        $length = 9;
        $pre    = '';
    } elseif (CRYPT_STD_DES == 1) {
        $length = 2;
        $pre    = '';
    }

    $salt = $pre;

    for($i = 0; $i < $length; $i++) {
        $salt .= chr(mt_rand($min, $max));
    }

    return $salt;
}

The question is: what happens inside this function when you set the ftp password???

Which CONST is 1 on your system?

/J
12-04-2008 10:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ftp passwd= *0 - saturnsuper - 11-27-2008, 05:46 PM
RE: ftp passwd= *0 - joximu - 11-27-2008, 07:22 PM
RE: ftp passwd= *0 - saturnsuper - 12-04-2008, 07:35 PM
RE: ftp passwd= *0 - joximu - 12-04-2008, 08:26 PM
RE: ftp passwd= *0 - saturnsuper - 12-04-2008, 09:50 PM
RE: ftp passwd= *0 - joximu - 12-04-2008 10:52 PM
RE: ftp passwd= *0 - saturnsuper - 12-04-2008, 11:06 PM
RE: ftp passwd= *0 - joximu - 12-04-2008, 11:14 PM
RE: ftp passwd= *0 - saturnsuper - 12-06-2008, 07:48 AM
RE: ftp passwd= *0 - joximu - 12-06-2008, 09:26 AM
RE: ftp passwd= *0 - saturnsuper - 12-08-2008, 02:43 AM
RE: ftp passwd= *0 - joximu - 12-08-2008, 05:39 PM
RE: ftp passwd= *0 - rurk - 10-19-2009, 10:54 PM
RE: ftp passwd= *0 - joximu - 10-19-2009, 11:56 PM
RE: ftp passwd= *0 - rurk - 10-20-2009, 12:27 AM
RE: ftp passwd= *0 - joximu - 10-20-2009, 12:31 AM
RE: ftp passwd= *0 - rurk - 10-20-2009, 12:56 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)