Uname:Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64

Base Dir : /var/www/sweetheart.mx/htdocs

User : root


Who Knows WP Shell uploader
Uname:Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 216.238.66.20  /  Your IP : 216.73.216.199
Web Server : nginx/1.30.4
System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/sweetheart.mx/htdocs/wp-content/plugins/pods/ui/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/sweetheart.mx/htdocs/wp-content/plugins/pods/ui/js/jquery.pods.upgrade.js
/*@global PodsI18n */
(function ( $ ) {
    var methods = {
        prepare : function () {
            var pods_ajaxurl = $( '#pods-wizard-box' ).data( 'url' );

            if ( 'undefined' != typeof pods_ajaxurl )
                pods_ajaxurl = pods_ajaxurl.replace( /\?nojs\=1/, '?pods_ajax=1' );

            if ( 'undefined' != typeof ajaxurl && ('undefined' == typeof pods_ajaxurl || '' == pods_ajaxurl || '?pods_ajax=1' == pods_ajaxurl || document.location.href == pods_ajaxurl || document.location.href.replace( /\?nojs\=1/, '?pods_ajax=1' ) == pods_ajaxurl) )
                pods_ajaxurl = ajaxurl + '?pods_ajax=1';

            if ( $( '#pods-wizard-panel-2 table tbody tr.pods-wizard-table-pending' )[ 0 ] ) {
                var $row = $( '#pods-wizard-panel-2 table tbody tr.pods-wizard-table-pending' ).first();

                $row.removeClass( 'pods-wizard-table-pending' ).addClass( 'pods-wizard-table-active' );

                var postdata = {
                    'action' : $( '#pods-wizard-box' ).data( 'action' ),
                    'method' : $( '#pods-wizard-box' ).data( 'method' ),
                    '_wpnonce' : $( '#pods-wizard-box' ).data( '_wpnonce' ),
                    'step' : 'prepare',
                    'type' : $row.data( 'upgrade' ),
                    'pod' : '',
                    'version' : $( '#pods-wizard-box' ).data( 'version' )
                };

                if ( 'undefined' != typeof $row.data( 'pod' ) )
                    postdata[ 'pod' ] = $row.data( 'pod' );

                $.ajax( {
                    type : 'POST',
                    url : pods_ajaxurl,
                    cache : false,
                    data : postdata,
                    success : function ( d ) {
                        if ( -1 == d.indexOf( '<e>' ) && -1 != d ) {
                            $row.find( 'td.pods-wizard-count' ).text( d );
                            $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-complete' );

                            if ( 'undefined' == typeof $row.data( 'pod' ) )
                                $( '#pods-wizard-panel-3 table tbody tr[data-upgrade="' + $row.data( 'upgrade' ) + '"] td.pods-wizard-count' ).text( d );
                            else
                                $( '#pods-wizard-panel-3 table tbody tr[data-pod="' + $row.data( 'pod' ) + '"] td.pods-wizard-count' ).text( d );

                            // Run next
                            return methods[ 'prepare' ]();
                        }
                        else {
                            $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-warning' );
                            $row.find( 'td span.pods-wizard-info' ).html( d.replace( '<e>', '' ).replace( '</e>', '' ) );
                            if ( window.console ) console.log( d.replace( '<e>', '' ).replace( '</e>', '' ) );

                            // Run next
                            return methods[ 'prepare' ]();
                        }
                    },
                    error : function () {
                        $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-error' );
                        $row.find( 'td span.pods-wizard-info' ).text( PodsI18n.__( 'Unable to process request, please try again.' ) );
                    },
                    dataType : 'html'
                } );
            }
            else {
                $( '#pods-wizard-next' ).show();
            }
        },
        migrate : function ( postdata, $row ) {
            var pods_ajaxurl = $( '#pods-wizard-box' ).data( 'url' );

            if ( 'undefined' != typeof pods_ajaxurl )
                pods_ajaxurl = pods_ajaxurl.replace( /\?nojs\=1/, '?pods_ajax=1' );

            if ( 'undefined' != typeof ajaxurl && ('undefined' == typeof pods_ajaxurl || '' == pods_ajaxurl || '?pods_ajax=1' == pods_ajaxurl || document.location.href == pods_ajaxurl || document.location.href.replace( /\?nojs\=1/, '?pods_ajax=1' ) == pods_ajaxurl) )
                pods_ajaxurl = ajaxurl + '?pods_ajax=1';

            if ( 'undefined' != typeof postdata || $( '#pods-wizard-panel-3 table tbody tr.pods-wizard-table-pending' )[ 0 ] ) {
                if ( 'undefined' == typeof $row )
                    var $row = $( '#pods-wizard-panel-3 table tbody tr.pods-wizard-table-pending' ).first();

                if ( 'undefined' == typeof postdata ) {
                    $row.removeClass( 'pods-wizard-table-pending' ).addClass( 'pods-wizard-table-active' );

                    var postdata = {
                        'action' : $( '#pods-wizard-box' ).data( 'action' ),
                        'method' : $( '#pods-wizard-box' ).data( 'method' ),
                        '_wpnonce' : $( '#pods-wizard-box' ).data( '_wpnonce' ),
                        'step' : 'migrate',
                        'type' : $row.data( 'upgrade' ),
                        'pod' : '',
                        'version' : $( '#pods-wizard-box' ).data( 'version' )
                    };

                    if ( 'undefined' != typeof $row.data( 'pod' ) )
                        postdata[ 'pod' ] = $row.data( 'pod' );
                }

                $.ajax( {
                    type : 'POST',
                    url : pods_ajaxurl,
                    cache : false,
                    data : postdata,
                    success : function ( d ) {
                        if ( -1 == d.indexOf( '<e>' ) && '-1' != d ) {
                            if ( '-2' == d ) {
                                // Run next
                                return methods[ 'migrate' ]( postdata, $row );
                            }
                            else if ( '1' == d ) {
                                $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-complete' );

                                // Run next
                                return methods[ 'migrate' ]();
                            }
                            else if ( ( d.length - 2 ) == d.indexOf( '-2' ) ) {
                                $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-warning' );
                                $row.find( 'td span.pods-wizard-info' ).html( d.replace( '<e>', '' ).replace( '</e>', '' ) );
                                if ( window.console ) console.log( d.replace( '<e>', '' ).replace( '</e>', '' ) );

                                // Run next
                                return methods[ 'migrate' ]( postdata, $row );
                            }
                            else if ( ( d.length - 1 ) == d.indexOf( '1' ) ) {
                                $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-warning' );
                                $row.find( 'td span.pods-wizard-info' ).html( d.replace( '<e>', '' ).replace( '</e>', '' ) );
																if ( window.console ) console.log( d.replace( '<e>', '' ).replace( '</e>', '' ) );

                                // Run next
                                return methods[ 'migrate' ]();
                            }
                            else {
                                $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-error' );
                                $row.find( 'td span.pods-wizard-info' ).html( d.replace( '<e>', '' ).replace( '</e>', '' ) );
																if ( window.console ) console.log( d.replace( '<e>', '' ).replace( '</e>', '' ) );
                            }
                        }
                        else if ( -1 < d.indexOf( 'Database Error;' ) ) {
                            $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-error' );
                            $row.find( 'td span.pods-wizard-info' ).html( d.replace( '<e>', '' ).replace( '</e>', '' ) );
														if ( window.console ) console.log( d.replace( '<e>', '' ).replace( '</e>', '' ) );
                        }
                        else {
                            $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-warning' );
                            $row.find( 'td span.pods-wizard-info' ).html( d.replace( '<e>', '' ).replace( '</e>', '' ) );
														if ( window.console ) console.log( d.replace( '<e>', '' ).replace( '</e>', '' ) );

                            // Run next
                            return methods[ 'migrate' ]();
                        }
                    },
                    error : function () {
                        $row.removeClass( 'pods-wizard-table-active' ).addClass( 'pods-wizard-table-error' );
                        $row.find( 'td span.pods-wizard-info' ).text( PodsI18n.__( 'Unable to process request, please try again.' ) );
                    },
                    dataType : 'html'
                } );
            }
            else {
                $( '#pods-wizard-next' ).trigger( 'click' ).text( 'Start using Pods' ).addClass( 'finished' );
                $( '#pods-wizard-next' ).off( 'click' );
                $( '#pods-wizard-next' ).prop( 'href', 'admin.php?page=pods' );
                $( '#pods-wizard-next' ).show();
                $( '#pods-wizard-finished' ).show();
            }
        }
    };

    $.fn.PodsUpgrade = function ( method ) {
        return methods[ method ]();
        // go through tr by tr, run if/else checks
    };
})( jQuery );

Youez - 2016 - github.com/yon3zu
LinuXploit