自动提取Mac平台的短信和邮箱验证码;Automatic extraction of 2FA codes from iMassage and Mail App for Mac platform
MessAuto is a macOS application that automatically extracts SMS and email verification codes. Built with Rust, it works with any app.
The following demonstrates the SMS login process with the help of MessAuto:
https://github.com/LeeeSe/MessAuto/assets/44465325/6e0aca37-377f-463b-b27e-a12ff8c1e70b
MessAuto now supports the Mail app
https://github.com/LeeeSe/MessAuto/assets/44465325/33dcec87-61c4-4510-a87c-ef43e69c4e9d
Download from Releases
Keeping these apps running in the background shortens the time it takes to sync messages from iPhone to Mac.
Keywords: Also called trigger words. The program will only perform subsequent operations when a message contains keywords such as "verification code". Otherwise, the message will be ignored.
Two solutions (the second is recommended):
sudo spctl --master-disable in Terminal; then go to System Settings -> Privacy & Security -> Allow applications from -> Anywhere.# Clone the source code
git clone https://github.com/LeeeSe/MessAuto.git
cd MessAuto
# Build and run (optional, for development and testing only)
cargo run
# Install cargo-packager
cargo install cargo-packager --locked
# Build
cargo build --release
# Package the application
cargo packager --releaseThe generated MessAuto application is located at target/release/MessAuto.app.
No open issues yet, or sync has not completed.