批处理解密BASE64代码
2023-12-30 乱云飞
@echo offset "encoded=MjAyNC8wMy8zMQ=="
set "decoded=%TEMP%\decoded.txt"
:: 将BASE64密文保存到文件
echo %encoded% > %decoded%
:: 解密BASE64密文
certutil -decode %decoded% %TEMP%\decrypted.txt > nul
:: 读取解密后的内容
set /p decrypted=<%TEMP%\decrypted.txt
:: 删除临时文件
del %decoded%
del %TEMP%\decrypted.txt
echo Decrypted text: %decrypted%
cmd/k
本文链接:http://80c.cc/ez/739.html
发表评论: