Created
April 23, 2019 15:46
-
-
Save izadgot/f9c5832ae1305799e468d64f6749abbb to your computer and use it in GitHub Desktop.
example Cycript script for hooking iGoat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import com.saurik.substrate.MS | |
var old_method_pointer = {} | |
MS.hookMessage(PersonalPhotoStorageVC, @selector(viewDidLoad), function(){ | |
old_method_pointer->call(this); | |
this.theTextField.text = this->_pw; | |
this.theTextField.textColor = [UIColor redColor]; | |
},old_method_pointer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment