xiaomianao666

小程序:简易文件管理

Jul 19th, 2024
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@简易文件管理@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi566A5piT5paH5Lu2566h55CGIiwiYXV0aG9yIjoiQExveURnSWsiLCJ1cmwiOiJoaWtlcjovL2VtcHR5I25vUmVmcmVzaCMiLCJ2ZXJzaW9uIjowLCJjb2xfdHlwZSI6InRleHRfMSIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoib3RoZXIiLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczokLnJlcXVpcmUoXCJoaWtlcjovL3BhZ2UvTWFpblwiKTsiLCJzZWFyY2hfdXJsIjoiIiwiZ3JvdXAiOiLikaDmjqjojZAiLCJzZWFyY2hGaW5kIjoiIiwiZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsImRldGFpbF9maW5kX3J1bGUiOiIiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiIiwidWEiOiJtb2JpbGUiLCJwcmVSdWxlIjoiIiwicGFnZXMiOiJbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIk1haW5cIixcInBhdGhcIjpcIk1haW5cIixcInJ1bGVcIjpcImpzOlxcbmxldCBkID0gW107XFxuXFxuZC5wdXNoKHtcXG4gICAgdGl0bGU6IFxcXCLorr7nva5cXFwiLFxcbiAgICB1cmw6IFxcXCJoaWtlcjovL3BhZ2Uv6K6+572uI25vUmVmcmVzaCNcXFwiLFxcbiAgICBwaWNfdXJsOiBcXFwiaGlrZXI6Ly9pbW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Q6Ly/kv67mlLnlrozmiJBcXFwiO1xcbiAgICAgICAgfSwgaSksXFxuICAgICAgICBjb2xfdHlwZTogXFxcInRleHRfM1xcXCJcXG4gICAgfSk7XFxuICAgIGQucHVzaCh7XFxuICAgICAgICB0aXRsZTogXFxcIuS/ruaUueaWueW8j1xcXCIsXFxuICAgICAgICB1cmw6ICQodi53YXkpLmlucHV0KChpKSA9PiB7XFxuICAgICAgICAgICAgaWYgKCFpbnB1dCkgcmV0dXJuIFxcXCJ0b2FzdDovL+S/ruaUueWksei0pVxcXCI7XFxuICAgICAgICAgICAgbGV0IHdheWxpc3QgPSByZWFkRmlsZShcXFwid2F5bGlzdC5qc29uXFxcIiwgMCk7XFxuICAgICAgICAgICAgd2F5bGlzdCA9IEpTT04ucGFyc2Uod2F5bGlzdCk7XFxuICAgICAgICAgICAgd2F5bGlzdFtpXS53YXkgPSBpbnB1dDtcXG4gICAgICAgICAgICBzYXZlRmlsZShcXFwid2F5bGlzdC5qc29uXFxcIiwgSlNPTi5zdHJpbmdpZnkod2F5bGlzdCksIDApO1xcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXG4gICAgICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8v5L+u5pS55a6M5oiQXFxcIlxcbiAgICAgICAgfSwgaSksXFxuICAgICAgICBjb2xfdHlwZTogXFxcInRleHRfM1xcXCJcXG4gICAgfSk7XFxuICAgIGQucHVzaCh7XFxuICAgICAgICB0aXRsZTogXFxcIuWIoOmZpFxcXCIsXFxuICAgICAgICB1cmw6ICQoXFxcIiNub0xvYWRpbmcjXFxcIikubGF6eVJ1bGUoKGkpID0+IHtcXG4gICAgICAgICAgICBsZXQgd2F5bGlzdCA9IHJlYWRGaWxlKFxcXCJ3YXlsaXN0Lmpzb25cXFwiLCAwKTtcXG4gICAgICAgICAgICB3YXlsaXN0ID0gSlNPTi5wYXJzZSh3YXlsaXN0KTtcXG4gICAgICAgICAgICB3YXlsaXN0LnNwbGljZShpLDEpO1xcbiAgICAgICAgICAgIHNhdmVGaWxlKFxcXCJ3YXlsaXN0Lmpzb25cXFwiLCBKU09OLnN0cmluZ2lmeSh3YXlsaXN0KSwgMCk7XFxuICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgIHJldHVybiBcXFwidG9hc3Q6Ly/kv67mlLnlrozmiJBcXFwiXFxuICAgICAgICB9LCBpKSxcXG4gICAgICAgIGNvbF90eXBlOiBcXFwidGV4dF8zXFxcIlxcbiAgICB9KTtcXG4gICAgZC5wdXNoKHtcXG4gICAgICAgIGNvbF90eXBlOiBcXFwibGluZVxcXCJcXG4gICAgfSk7XFxufSk7XFxuc2V0UmVzdWx0KGQpO1wifV0iLCJpY29uIjoiIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment