https://github.com/nowsecure/macho-is-encrypted
Check if your Mach-O bin is encrypted
https://github.com/nowsecure/macho-is-encrypted
nodejs
Last synced: about 1 year ago
JSON representation
Check if your Mach-O bin is encrypted
- Host: GitHub
- URL: https://github.com/nowsecure/macho-is-encrypted
- Owner: nowsecure
- License: mit
- Created: 2016-05-06T19:07:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-27T14:52:09.000Z (over 6 years ago)
- Last Synced: 2025-03-24T01:25:29.038Z (about 1 year ago)
- Topics: nodejs
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 6
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SYNOPSIS
Check if your Mach-O bin is encrypted.
```js
var fs = require('fs')
var isEncryptedSync = require('macho-is-encrypted')
var execPath = process.execPath
var data = fs.readFileSync(execPath)
console.log(isEncryptedSync.path(path))
console.log(isEncryptedSync.data(data))
```
# LICENSE
MIT