scripts/hook_durian.js
/*
    Script preparation, needs to be called in standalone usage.
    Separated from constructor for external script usage.
    */
Script preparation, needs to be called in standalone usage.
Separated from constructor for external script usage.
Script preparation needs to be called in standalone usage . Separated from constructor for external script usage .
prepare() {
        var self = this;
        self._locationd_base = Module.getBaseAddress('locationd');
        self.setSymbols(self.ios_version);
        self.showBytes();
        self.decodeIncomingBytes();
        self.hookServiceClientDevice();
    }
prepare ( ) { var self = this ; self . _locationd_base = Module . getBaseAddress ( 'locationd' ) ; self . setSymbols ( self . ios_version ) ; self . showBytes ( ) ; self . decodeIncomingBytes ( ) ; self . hookServiceClientDevice ( ) ; }
Script preparation, needs to be called in standalone usage.
Script preparation needs to be called in standalone usage .
// some basic addresses // Set the correct symbols // hook sent/received bytes and show them // hook into exiting global vars // print opcode list //self.printOpcodes();