Created
May 1, 2019 14:29
-
-
Save izadgot/a6361b938fc02a152aa14c6aaf7a6f88 to your computer and use it in GitHub Desktop.
example Tweak.xm file for iGoat
This file contains 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 <PersonalPhotoStorageVC.h> | |
%hook PersonalPhotoStorageVC | |
// Hooking an instance method with no arguments. | |
- (void)viewDidLoad { | |
%orig; | |
self.theTextField.text = [self valueForKey:@"_pw"]; | |
self.theTextField.textColor = [UIColor redColor]; | |
} | |
// Always make sure you clean up after yourself; Not doing so could have grave consequences! | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment