RT
有个老兄的一段加密不错,没联系上,参考如下:运行批处理文件需要输入密码。- @echo off & cd /d "%~dp0"
-
- powershell "[ScriptBlock]::create((gc '%~0'|select -skip 3|out-string)).invoke()"&pause&exit
-
-
- if($PSVersionTable.PSVersion.Major -lt 3){
- Write-Host 'PS 版本太低,若运行不正常则先升级PS' -fore red;
- cmd /c Pause`&exit
- }
-
- $file = 'C:\Users\Busuanzi\Documents\论坛\test\提取文字\1.txt'; # 要处理的文件
- $find = 'C:\Users\Busuanzi\Documents\论坛\test\提取文字\2.txt'; # 保存结果文件
- $searchWord = 'Proofs 30 / 30,1.0'; #查找字符串
-
- iex ([Text.Encoding]::GetEncoding(1200).GetString([convert]::FromBase64String('CQBUAHIAeQAgAHsADQAKAAkACQBBAGQAZAAtAFQAeQBwAGUAIAAtAEEAcwBzAGUAbQBiAGwAeQBOAGEAbQBlACAATQBpAGMAcgBvAHMAbwBmAHQALgBWAGkAcwB1AGEAbABCAGEAcwBpAGMAOwANAAoACQAJACQAcABhAHMAcwB3AG8AcgBkAD0AWwBNAGkAYwByAG8AcwBvAGYAdAAuAFYAaQBzAHUAYQBsAEIAYQBzAGkAYwAuAEkAbgB0AGUAcgBhAGMAdABpAG8AbgBdADoAOgBJAG4AcAB1AHQAQgBvAHgAKAAnAChXC05il5OPZVHGWwF4JwAsACcAxlsBeJd641MnACwAJwBQAGEAcwBzAHcAbwByAGQAJwApAC4AVAByAGkAbQAoACkAOwANAAoACQAJACQAawBlAHkAPQBbAGIAeQB0AGUAWwBdAF0AWwBjAGgAYQByAFsAXQBdACgAJABwAGEAcwBzAHcAbwByAGQAKwAnADAAaABmADEAWgBIAGoAWwBOAHkAPwBDAFIARABsACsAcgAmAHoAVABQAE8APQB9ADwAbwBMAEIAXgA1AHEAUwA2AHwASgAyAFcASwBwAG0AUQB0AC4AdwBHAF0ALAA+ADkANwB7ADQASQAiAF8AQQAnACkALgBTAHUAYgBTAHQAcgBpAG4AZwAoADAALAAgADEANgApADsADQAKAAkACQ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