.:: Blackc0de Forum ::.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

-=Explore The World From Our Binary=-
 
HomeIndeksLatest imagesPendaftaranLogin

 

 crypt() returns only the salt for MD5

Go down 
PengirimMessage
Jo at
NuuBiiTooL
NuuBiiTooL



Jumlah posting : 1
Points : 3
Reputation : 0
Join date : 28.08.11

crypt() returns only the salt for MD5 Empty
PostSubyek: crypt() returns only the salt for MD5   crypt() returns only the salt for MD5 Icon_minitimeSun Aug 28, 2011 12:37 am

Description: bugs php
------------
If crypt() is executed with MD5 salts, the return value conists of the salt only.
DES and BLOWFISH salts work as expected.

I tested with php from openSUSE PHP5 repository

> php -v
PHP 5.3.7RC6-dev (cli)
> rpm -q php5
php5-5.3.6.201108112132-94.1.x86_64

Test script:
---------------
printf("MD5: %s\n", crypt('password', '$1$U7AjYB.O$'));


Expected result:
----------------
MD5: $1$U7AjYB.O$L1N7ux7twaMIMw0En8UUR1

Actual result:
--------------
MD5: $1$U7AjYB.O

Kembali Ke Atas Go down
 
crypt() returns only the salt for MD5
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» Joomla Component Time Returns (com_timereturns) SQL Injection

Permissions in this forum:Anda tidak dapat menjawab topik
.:: Blackc0de Forum ::. :: BoarD Blackc0de :: International Room :: Programming (Int.)-
Navigasi: