Skip to content

alfred workflow 通过imessage.app 提取验证码到粘贴板

Notifications You must be signed in to change notification settings

ops-xu/alfred-workflow-message-code

Repository files navigation

alfred-workflow-message-code

alfred workflow 通过imessage.app 提取验证码到粘贴板. 提取最新10条验证码短信(需短信内容包含验证码三个字) 仅支持提取数字4-8位验证码.

使用

直接下载workflow文件, 确认已经给alfred全部磁盘权限. 导入workflow后, 输入2fa即可查看验证码

原理

通过sqlite3读取Imessage的chat.db数据库, 筛选包含(验证码)的短信, 通过正则匹配4-8位数字验证码.

CleanShot 2022-07-28 at 15 27 08

About

alfred workflow 通过imessage.app 提取验证码到粘贴板

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages