GitHub – LeeeSe/MessAuto: 自动提取Mac平台的短信和邮箱验证码;Automatic extraction of 2FA codes from iMassage and Mail App for Mac platform

4个月前发布 75 00

自动提取Mac平台的短信和邮箱验证码;Automatic extraction of 2FA codes from iMassage and Mail App for Mac platform - LeeeSe/MessAuto

所在地:
中国
语言:
zh
收录时间:
2025-10-06
其他站点:
GitHub – LeeeSe/MessAuto: 自动提取Mac平台的短信和邮箱验证码;Automatic extraction of 2FA codes from iMassage and Mail App for Mac platformGitHub – LeeeSe/MessAuto: 自动提取Mac平台的短信和邮箱验证码;Automatic extraction of 2FA codes from iMassage and Mail App for Mac platform

网站整体介绍
这是GitHub平台上的一个公开代码仓库,仓库名称为MessAuto,由用户LeeeSe创建维护,主要功能是为Mac操作系统提供自动提取短信与邮箱验证码的工具。截至目前,该项目获得1.5k个Star、86次Fork,采用MIT开源许可证。

核心功能
MessAuto是基于Rust语言开发的Mac软件,核心作用是自动识别并提取Mac平台上iMessage短信和Mail App邮件中的2FA(双因素认证)验证码,支持以下关键功能:
自动粘贴:将提取的验证码模拟键盘操作自动粘贴到输入框;
自动回车:粘贴验证码后自动触发回车键,完成验证流程;
不占用剪贴板:直接模拟键盘输入验证码,避免覆盖剪贴板内容;
多渠道监听:可同时监听Mac自带的“信息”App(短信)和“邮件”App(邮箱验证码);
悬浮窗提示:获取验证码时,在光标附近弹出悬浮窗显示内容(开启此功能会强制使用“不占用剪贴板”模式)。

使用流程
1. 下载安装:从项目的[Releases页面](https://github.com/LeeeSe/MessAuto/releases/latest)下载最新版本的安装包;
2. 权限授权:
完全磁盘访问权限:系统设置→隐私与安全性→完全磁盘访问权限,添加MessAuto;
辅助功能权限:系统设置→隐私与安全性→辅助功能,添加MessAuto;
3. 后台常驻:将Mac的“信息”App和“邮件”App设置为常驻后台(可缩短iPhone同步到Mac的消息延迟)。

配置选项
软件提供多种自定义设置,满足不同使用习惯:
功能开关:可选择是否开启“自动粘贴”“自动回车”“监听短信”“监听邮件”;
图标管理:支持暂时隐藏菜单栏图标(重启App后恢复显示);
配置文件:快速打开TOML格式的配置文件,可自定义验证码提取的正则规则与触发关键词(如“验证码”等,仅当信息包含关键词时才执行提取);
日志查看:快速访问软件运行日志,便于排查问题。

常见问题解决
无法打开提示“无法验证开发者”:
方案1:找到MessAuto.app,右键选择“打开”;
方案2:终端执行`sudo spctl masterdisable`,然后在系统设置→隐私与安全性→允许“任何来源”的应用。

开发与后续计划
开发相关:
源码可通过`git clone https://github.com/LeeeSe/MessAuto.git`下载,开发依赖Cargo工具(Rust的包管理工具),编译打包步骤为:
1. 编译:`cargo build release`;
2. 打包应用:`cargo packager release`(需先安装`cargopackager`);
生成的应用文件位于`target/release/MessAuto.app`。

未来计划(TODO):
包括添加应用内更新、优化验证码提取逻辑、发布到Homebrew包管理器、支持第三方邮件客户端、扩展至Android与Windows平台。

其他信息
项目语言:100% Rust;
contributors:目前有4位贡献者;
文档支持:提供中文(README.md)与英文(docs/READMEEN.md)双语言说明。

相关导航

GitHub – Rudrabha/Wav2Lip: This repository contains the codes of “A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild”, published at ACM Multimedia 2020. For HD commercial model, please try out Sync Labs

GitHub – Rudrabha/Wav2Lip: This repository contains the codes of “A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild”, published at ACM Multimedia 2020. For HD commercial model, please try out Sync Labs

This repository contains the codes of "A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild", published at ACM Multimedia 2020. For HD commercial model, please try out Sync Labs - GitHub - Rudrabha/Wav2Lip: This repository contains the codes of "A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild", published at ACM Multimedia 2020. For HD commercial model, please try out Sync Labs

暂无评论

您必须登录才能参与评论!
立即登录
none
暂无评论...