If you want to crack
PHP Zend encrypted files related codes:
- 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 ) == "to" )
- {
- $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 relevant code examples for cracking PHP Zend encrypted files are written here.
http://www.bkjia.com/PHPjc/446000.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446000.htmlTechArticleIf you want to crack the relevant code for PHP Zend encrypted files: functionsend_confirm($user_id) { $ result = mysql_query (select * fromuserwhere id =.$user_id); if(mysql_num_rows($result)=...