摘要: xshell在使用时,比如说引入了堡垒机(jumpserver)的MFA双因子登录,每次都会去手机查看,有点不方便。 通过python脚本,生成mfa验证码。 import hmac, base64, struct, hashlib, time, re def get_hotp_token(secr 阅读全文
posted @ 2024-06-13 15:08 Macoffee 阅读(7) 评论(0) 推荐(0) 编辑