Skip to content

Commit

Permalink
Added modifying return value code
Browse files Browse the repository at this point in the history
  • Loading branch information
interference-security committed May 8, 2017
1 parent 5d1f034 commit f0f5e1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iOS/show-method-return-value.js
Expand Up @@ -14,6 +14,10 @@ if (ObjC.available)
console.log("\t[-] Type of return value: " + typeof retval);
//console.log(retval.toString());
console.log("\t[-] Return Value: " + retval);
//For modifying the return value
//newretval = ptr("0x0") //your new return value here
//retval.replace(newretval)
//console.log("\t[-] New Return Value: " + newretval)
}
});
}
Expand Down

0 comments on commit f0f5e1f

Please sign in to comment.