Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Retrieve 2FA codes from Apple Messages on MacOS as JSON output with CLI or API
npm install -g 2famsg || yarn global add 2famsg
2famsg [-a | --alfred] [-d | --database DATABASE_PATH] [-q | --query QUERY_TERM]
Also available via npx
but loads much more slowly.
-a
or --alfred
[Boolean
]: Format output for Alfred-d
or --database
[String
]: Specify database path (Default: ~/Library/Messages/chat.db
)-q
or --query
[String
]: Term by which to filter results (eg., facebook
or amazon
)const twoFactorMsg = require('2famsg')
const codes = async () =>
await twoFactorMsg({
query: 'facebook'
})
alfred
[Boolean
]: Format output for Alfreddatabase
[String
]: Specify database path (Default: ~/Library/Messages/chat.db
)query
[String
]: Term by which to filter results (eg., facebook
or amazon
)npm run build:sqlite
npm run build:bin
👤 Daniel Sieradski hello@self.agency
The SQLite query was lifted from Scott Carpenter's alfred-imessage-2fa Alfred workflow, which I modified somewhat. Scott's project was a great start but I was looking for a more robust solution and decided to build one in a language in which I felt more comfortable jamming on the code.
Contributions, issues and feature requests are welcome! Feel free to check issues page.
Give a ⭐️ if this project helped you!
FAQs
Retrieves 2FA codes from Apple Messages
The npm package 2famsg receives a total of 4 weekly downloads. As such, 2famsg popularity was classified as not popular.
We found that 2famsg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.