PHPZend encryption file cracking method introduction. If you want to crack the PHPZend Encryption File: functionsend_confirm ($ user_id) {$ resultmysql_query (select * fromuserwhereid. $ user_id); if (mysql_num_rows ($ result)
PHP Zend encryption file cracking code:
- Function send_confirm ($ user_id)
- {
- $ Result = mysql_query ("select *
From user where id = ". $ user_id );
- If (mysql_num_rows ($ result) = 1)
- {
- $ User_row = mysql_fetch_assoc ($ result );
- }
- $ Mtemplate = $ this->Config [reg_template];
- $ Mtemplate = preg_replace ("/\ [link \]
/I ", $ this->Config [http_link]. ("confirm.
Php? Id = ". $ user_id." & key = "). $ user_row
[Confirm], $ mtemplate );
- $ Mtemplate = preg_replace ("/\ [email \]
/I ", $ user_row [email], $ mtemplate );
- $ Mtemplate = preg_replace ("/\ [login \]
/I ", $ user_row [login], $ mtemplate );
- $ Mail_params = array ();
- List ($ mheader, $ mail_params [body]) =
Split ("rnrn", $ mtemplate, 2 );
- $ Mheaders = split ("rn", $ mheader );
- Foreach ($ mheaders as $ m_row)
- {
- List ($ key, $ val) = split (":", $ m_row, 2 );
- If (strtolower ($ key) = "")
- {
- $ Mail_params [to] = ltrim ($ val );
- }
- Else if (strtolower ($ key) = "subject ")
- {
- $ Mail_params [subject] = ltrim ($ val );
- }
- Else
- {
- $ Mail_params [headers]. = "{$ key}:". ltrim
($ Val). "rn ";
- }
- }
- Return mail ($ mail_params [to], $ mail_params
[Subject], $ mail_params [body], $ mail_params [headers]);
- }
The code example of PHP Zend encryption file cracking is written here.
Code related to cracking the zoophp Zend encrypted file: functionsend_confirm ($ user_id) {$ result = mysql_query (select * fromuserwhere id =. $ user_id); if (mysql_num_rows ($ result) =...