npm.io
0.1.4 • Published 8 years agoCLI

ipa-extract-exec

Licence
MIT
Version
0.1.4
Deps
4
Size
4 kB
Vulns
2
Weekly
0
Stars
4

SYNOPSIS

Extract the executable from an IPA file along with helpful meta data.

var fs = require('fs');
var extract = require('ipa-extract-exec');
var encryptedSync = require('macho-is-encrypted').path

var fd = fs.openSync(__dirname + '/Foo.ipa', 'r');

extract(fd, function (err, tmpPath, name, plist, origFile) {
  if (err) throw err;
  const encrypted = encryptedSync(tmpPath)
  console.log(`${name} (${plist.CFBundleIdentifier}) is ${encrypted}`)
});

LICENSE

MIT

Keywords