Quantcast
Channel: 睿论坛 - 最新话题
Viewing all articles
Browse latest Browse all 5702

请教如何访问类中的unsigned char password[32]变量

$
0
0

@quay wrote:

@interface AAA : NSObject
{
unsigned char _password[32];
NSString *_dhPriKey;
}
@property Bool hasSeed; // @synthesize hasSeed=hasSeed;
-(void)showLog;
@end
砸壳并导出头文件如上

目前修改hasSeed和访问hasSeed都可以
但是password
%hook AAA
%new
-(void)showLog
{
NSLog(@"password:%s",_password);
}
%end
这个方法就会报错
不知道怎解这个问题
有知道的大神麻烦帮个忙 小弟多谢了

Posts: 5

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 5702

Trending Articles