Skip to content

Commit

Permalink
Merge pull request freehuntx#1 from Cre3per/patch-1
Browse files Browse the repository at this point in the history
Call onLoad after awaiting fridaScript.load
  • Loading branch information
freehuntx committed Oct 14, 2019
2 parents 84e6dda + 1fd4273 commit 1ef14be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ async function FridaInject(options = {}) {
})

debugLog('[*] Loading frida script')
options.onLoad && options.onLoad(fridaScript)
await fridaScript.load()
options.onLoad && options.onLoad(fridaScript)

debugLog('[*] Frida script loaded')

Expand Down

0 comments on commit 1ef14be

Please sign in to comment.