iOS精品

马甲混淆-添加随机方法

2018-12-06  本文已影响112人  努力_偷懒_的程序员

# iOSRandomMethod

一个给iOS 项目添加 随机方法的小脚本

使用方法:

添加随机方法

./iosRandomMethodScript add /文件目录 方法个数(默认5个)

移除随机方法

./iosRandomMethodScript rm /文件目录

例如:

./iosRandomMethodScript add /Users/haha/Documents/git/xueqianzaojiao/xueqianzaojiao/Module 20

给项目xueqianzaojiao  下面的Module文件夹下的文件 添加20个随机方法 

暂时还不能递归子文件夹添加:建议先把要添加的文件 弄到一个文件夹下面一次添加 或者在不能目录下多次执行脚本

添加的示例方法是这样的:

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController

+(void)LocalCellNameToolShare;

-(id)ScrollMessageModelHeightVersion:(id)arg1;

-(id)TypeDidAppHistoryAnimation:(id)arg1;

/////RandomMethodTag End/////

@end

@implementation ViewController

+(void)BackCellNameDidShare{

}

-(void)HeightShowHasDeviceClean{

}

-(id)ShowHasDeviceCleanShadow:(id)arg1{

NSArray *obj=[[NSArray alloc]init];

return obj;

}

-(id)ScrollMessageModelHeightVersion:(id)arg1{

NSSet *obj=[[NSSet alloc]init];

return obj;

}

脚本地址   觉得还可以,喜欢给个星撒!!

上一篇下一篇

猜你喜欢

热点阅读