xiaomianao666

小程序:批处理.dz

Sep 24th, 2024
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@批处理.dz@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5om55aSE55CGLmR6IiwiYXV0aG9yIjoi6YGT6ZW/IiwidXJsIjoiaGlrZXI6Ly9lbXB0eSIsInZlcnNpb24iOjUsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidG9vbCIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiLlt6XlhbciLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxuZXZhbChKU09OLnBhcnNlKGZldGNoKCdoaWtlcjovL3BhZ2UvaG9tZUluZGV4JykpLnJ1bGUpOyIsInNlYXJjaF91cmwiOiIiLCJncm91cCI6IiPvuI/ig6PpgZPplb8iLCJzZWFyY2hGaW5kIjoiIiwiZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsImRldGFpbF9maW5kX3J1bGUiOiIiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiIiwidWEiOiJtb2JpbGUiLCJwcmVSdWxlIjoic2V0SXRlbSgnbXlBcHAnLCBNWV9SVUxFLnRpdGxlKTsiLCJwYWdlcyI6Ilt7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwi5Li76aG1XCIsXCJwYXRoXCI6XCJob21lSW5kZXhcIixcInJ1bGVcIjpcImpzOlxcbmxldCBkPVtdO1xcbmNvbnN0IHtjb2xvcixzbWFsbH0gPSAkLnJlcXVpcmUoXFxcImhpa2VyOi8vcGFnZS91dGlsaXk/cnVsZT3pgZPplb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S4uijmlK/mjIFmdW5jdGlvbik6JykuaW5wdXQoKGF0dHIpPT57XFxuICAgICAgICAgICAgICAgIGxldCBydWxlcyA9IGNvbmZpZy5ydWxlcztcXG4gICAgICAgICAgICAgICAgaWYoL15mdW5jdGlvbi8udGVzdChpbnB1dC50cmltKCkpKXtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGpzPSd2YXIgZmY9JytpbnB1dC50cmltKCk7XFxuICAgICAgICAgICAgICAgICAgLy9sb2coanMpO1xcbiAgICAgICAgICAgICAgICAgIGV2YWwoanMpO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIHJ1bGVzID0gcnVsZXMubWFwKChpdCk9PntcXG4gICAgICAgICAgICAgICAgICAgIGlmKCEhaXQuY2hvb3NlKXtcXG4gICAgICAgICAgICAgICAgICAgICAgICBsb2coaXQudGl0bGUrJ+WxnuaApycrYXR0cisnOicraXRbYXR0cl0pO1xcbiAgICAgICAgICAgICAgaWYodHlwZW9mKGZmKT09J2Z1bmN0aW9uJyl7XFxuICAgICAgICAgICAgICAgICAgICAgaXRbYXR0cl09ZmYoaXRbYXR0cl0pO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1lbHNle1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGl0W2F0dHJdPWlucHV0XFxuICAgICAgICAgICAgICAgICAgICAgICAgfTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gaXRcXG4gICAgICAgICAgICAgICAgICAgIH1lbHNle1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBpdFxcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgaW5pdENvbmZpZyh7XFxuICAgICAgICAgICAgICAgICAgICBydWxlczpydWxlc1xcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgIC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oRmluZDon5pCc57Si6Kej5p6Q6KeE5YiZJyxcXG5zZWFyY2hfdXJsOifmkJzntKLpk77mjqUnLFxcbmdyb3VwOiflsI/nqIvluo/liIbnu4QnLFxcbmRldGFpbF9jb2xfdHlwZTon5LqM57qn5YiX6KGo5pi+56S65qC35byPJyxcXG5kZXRhaWxfZmluZF9ydWxlOifkuoznuqfliJfooajop6PmnpDop4TliJknLFxcbnNkZXRhaWxfY29sX3R5cGU6J+aQnOe0ouS6jOe6p+WIl+ihqOaYvuekuuagt+W8jycsXFxuc2RldGFpbF9maW5kX3J1bGU6J+aQnOe0ouS6jOe6p+WIl+ihqOino+aekOinhOWImScsXFxudWE6J+WFqOWxgFVB6K6+5aSH5qCH5b+XJyxcXG5wcmVSdWxlOidKU+mihOWkhOeQhicsXFxucGFnZXM6J+WtkOmhtemdoicsXFxuaWNvbjon5Zu+5qCHJ1xcbn07XFxuLy/plK7lgLzlr7nlj43ovaxcXG5mdW5jdGlvbiBvYmpSZXZlcnNlKG9iail7XFxuICAgIHZhciBrZXlzID0gT2JqZWN0LmtleXMob2JqKTtcXG4gICAgdmFyIHJlcyA9IHt9O1xcbiAgICBrZXlzLmZvckVhY2goKHZhbCkgPT4ge1xcbiAgICAgICAgICAgIHJlc1tvYmpbdmFsXV0gPSB2YWw7XFxuICAgIH0pO1xcbiAgICByZXR1cm4gcmVzXFxufVxcbiQuZXhwb3J0cy5hdHRyTWFwPWF0dHJNYXA7XFxuJC5leHBvcnRzLmF0dHJNYXAyPW9ialJldmVyc2UoYXR0ck1hcCk7XCJ9XSIsImljb24iOiJodHRwczovL2ltZy5pY29uczguY29tLz9mb3JtYXQ9cG5nJmlkPTExMzU3MiZzaXplPTY0In0=
Add Comment
Please, Sign In to add comment