forked from amirfrsd/NSTehran-Reverse-Engineering
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTweak.xm
More file actions
executable file
·36 lines (34 loc) · 974 Bytes
/
Tweak.xm
File metadata and controls
executable file
·36 lines (34 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
%hook SecurityClass
- (id)md5HashFromString:(id)arg1 {
return @"37E83C833757E64C1FB7570A8DBC74AB";
}
- (_Bool)isValidPassword:(id)arg1 {
return YES;
}
- (void)setLoginStatus:(_Bool)arg1 {
%log;
return %orig;
}
- (_Bool)getLoginStatus {
return YES;
}
- (id)callLastRequestForTransfer {
return @{@"success":@YES, @"message": @"انتقال وجه به هاشم کیمیایی با موفقیت انجام شد"};
}
- (id)callMoneyTransferNetworkRequestOnBody:(id)arg1 {
return @{@"success": @YES, @"message": @"آیا شما موافق انتقال وجه به هاشم کیمیایی میباشید؟"};
}
- (id)generateNetworkRequestForBankID:(id)arg1 andAmount:(id)arg2 {
return @{@"bank_id":@"6219861030762784",@"amount":@"100000000"};
}
- (id)generateRequestToken {
return %orig;
}
%end
%hook AuthorizedViewController
- (void)viewDidLoad {
UILabel *label = MSHookIvar<UILabel *>(self, "_creditLabel");
label.text = @"Your Credit : $1,200,000";
%orig;
}
%end