Logic
Bobby Billionaire
- Feb 8, 2012
- 748
- 207
I've recovered a panel of mine from a long time ago, and I don't remember it. So I am needing the password to be decoded from b64 encoding.
b64 string: 2380d7f30c9e13bb2191e1179eb5253e
Here's the code that was for the b64 storage:
[/COLOR]
b64 string: 2380d7f30c9e13bb2191e1179eb5253e
Here's the code that was for the b64 storage:
Code:
[COLOR=#000000]$crypt_typed_pword = NULL;[/COLOR]
[COLOR=#000000]$crypt_mysql_pword = NULL;[/COLOR]
[COLOR=#000000]$b64_pword1 = base64_encode($safe_pword);[/COLOR]
[COLOR=#000000]$b64_pword2 = base64_encode($b64_pword1);[/COLOR]
[COLOR=#000000]$b64_pword3 = base64_encode($b64_pword2);[/COLOR]
[COLOR=#000000]$b64_pword4 = base64_encode($b64_pword3);[/COLOR]
[COLOR=#000000]$b64_pword = base64_encode($b64_pword4);[/COLOR]
[COLOR=#000000]$crypt_typed_pword = crypt($b64_pword, '$5$');[/COLOR]
[COLOR=#000000]$crypt_mysql_pword = crypt($pword_data['password'], '$5$');[/COLOR]
[COLOR=#000000]}[/COLOR]
[COLOR=#000000]if($crypt_typed_pword == '' ||$crypt_mysql_pword == '')