
[已解決]如何在bat腳本中生成或獲取totp一次性驗(yàn)證碼最后由 WindCat 于 -10-4 13:17https://gist.githubusercontent.c ... 06eb8ee28/psotp.ps1https://raw.githubusercontent.co ... eAuthenticator.psm1網(wǎng)上找了兩個(gè)powershell腳本,可惜我完全不懂這個(gè)
直接用powershell用這條語(yǔ)句執(zhí)行這兩個(gè)腳本能用是能用,但不知道怎么在bat腳本中讀取其值,特別是第二個(gè)腳本要執(zhí)行后再輸入相關(guān)指令才能運(yùn)作的情況下以及如何修改其參數(shù)化執(zhí)行?又或者是否有現(xiàn)有的cli工具?------找到一個(gè)開(kāi)源項(xiàng)目但不知道怎么編譯成win版...nclick="copycode($('code0'));">復(fù)制代碼
- IEX (New-Object Net.WebClient).DownloadString(https://gist.githubusercontent.com/jamcut/9f1c88ea81e2d84a8fe3/raw/0878bbc1b46801e5e8d1080610facfa06eb8ee28/psotp.ps1)

