Skip to content

Commit

Permalink
fix #122
Browse files Browse the repository at this point in the history
exclude SC_Info, etc.
  • Loading branch information
ChiChou committed Jul 22, 2023
1 parent 02b940c commit b46e863
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ export class BagBak extends EventEmitter {

this.emit('sshBegin');
await this.#copyToLocal(remoteRoot, parent);

// exclude SC_Info, etc.
const exclude = ['SC_Info', 'iTunesMetadata.plist', 'embedded.mobileprovision', '_CodeSignature'];
for (const name of exclude) {
await rm(join(localRoot, name), { recursive: true, force: true })
.catch(() => { });
}

this.emit('sshFinish');

// find all encrypted binaries
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bagbak",
"version": "3.0.21",
"version": "3.0.22",
"description": "Dump iOS app from a jailbroken device, based on frida.re",
"main": "index.js",
"scripts": {
Expand All @@ -20,7 +20,7 @@
"/lib/"
],
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"type": "module",
"devDependencies": {
Expand Down

0 comments on commit b46e863

Please sign in to comment.