O V10 1- Β Ά·ΊΠ
[361]VIPPERXDdc 2009/10/04(ϊ) 13:02:43 ID:s2uNZwA2
>>352
# gbv
# $trip Ν0thelloΙgp
$trip = '';
if (preg_match("/([^\#]*)\#(.+)/", $_POST['FROM'], $match)) {
ΜΊΜ4s
$salt = substr($match[2]."H.", 1, 2);
$salt = preg_replace("/[^\.-z]/", ".", $salt);
$salt = strtr($salt,":;<=>?@[\\]^_`","ABCDEFGabcdef");
$trip = substr(crypt($match[2], $salt),-10);
π«««««««
if(strlen($match[2])>=12) { //12
gbv
$mark = substr($match[2], 0, 1);
if($mark == '#' || $mark == '$') {
if (preg_match('|^#([[:xdigit:]]{16})([./0-9A-Za-z]{0,2})$|',$match[2],$str))
$trip = substr(crypt(pack('H*', $str[1]), "$str[2].."), -10);
else $trip = '???'; //«Μg£p
} else {
$trip = substr(base64_encode(sha1($match[2],TRUE)),0,12);
$trip = str_replace('+','.',$trip);
}
} else { //10
gbv
$salt = substr($match[2]."H.", 1, 2);
$salt = preg_replace("/[^\.-z]/", ".", $salt);
$salt = strtr($salt,":;<=>?@[\\]^_`","ABCDEFGabcdef");
$trip = substr(crypt($match[2], $salt),-10);
}
ͺͺͺͺͺͺͺΙu«·¦
ΕAΗ€Α·©H
O Ά·ΊΠ
r.php ver2.5 (2005/03/28)