![]() |
[HELP]Decrypting Binary things in SQL
Well i know that it was posted before, but i didn't find my answer.
I want to decrypt account passwords from sql, and show them in ASCII. As I alrdy read, you guys said that it's not posible. I'm thinking in another posibility, it is: reset all password and make 2 columns to save password, one of them will be the normal binary column and the other will be a normal column. But before that, I would like to know if you alrdy found a way to decrypt those binary things. Thanks in advance. |
u cant decrypt a password, the encryption is a 1-way encryption and cant be undone... as for the whole 2 columns for pw thing...
just add a new field to user_auth... password_plain, then edit ur registration script... |
OK, thanks i just wanted to know if there was any function to do that. I know how to add the other column, but thanks anyway :)
|
binary pass to hex string:
function Mbin2string($binstr) { $out = "0x"; for($q=0; $q < strlen($binstr); $q++) { $w = dechex(ord($binstr[$q])); if(strlen($w)==1) $w = '0'.$w; $out .= $w; } $out = strtoupper($out); $out[1] = 'x'; return $out; } Quote:
|
I pretty sure that password there is saved as a hash ( cant check it atm ). Hash is not an encryption. But there are ways to guess value with will gave same hash.
Read about rainbow tables. |
yeah..good luck on bruteforcing it tho
|
Rainbow tables is not brutalforcing... read first about it. It dont take so many time for md5 and other short hashes...
|
i know about rainbowtables tyvm , i also know about the project they have setup with just about every hash in it, and for a small fee you can do a query on the database.. but gl on doing that for all your password :p
on the other hand.. watch out with putting your passwords in there in plaint text aswell.. if somebody hacks your db you've just made it even easier to strip all the accounts. |
| All times are GMT. The time now is 15:30. |