chenxiancai / stcobfuscator Goto Github PK
View Code? Open in Web Editor NEWiOS全局自动化 代码混淆 工具!支持cocoapod组件代码一并 混淆,完美避开hardcode方法、静态库方法和系统库方法!
License: MIT License
iOS全局自动化 代码混淆 工具!支持cocoapod组件代码一并 混淆,完美避开hardcode方法、静态库方法和系统库方法!
License: MIT License
model里面的属性混淆了后导致和接口返回的属性名称不一致,故不能正常将json解析成对应的模型,请问该怎么处理。
这个工具有指定目录进行混淆吗?
例如:
sources:开发的代码
3rd:开源库
不想混淆3rd里面的代码,指定sources所有代码进行混淆。
Unknow type name 'NSString'、Could not build module 'Foundation'
你给的Demo跑了下 能生成代码,但是编译报错了
"OBJC_CLASS$_STC8D66EE30C77FC994D030F531F686D1CD", referenced from:
objc-class-ref in AppDelegate.o
是由于 混淆后
#ifndef AFHTTPSessionManager
#define AFHTTPSessionManager STC8D66EE30C77FC994D030F531F686D1CD
#endif
找不到对应的类,这种问是要把类名也要搞成“_STC8D66......” 吗?
大神你好。
这个路径问题怎么解决。
怎么可以让打包的时候添加混淆
因为项目中有swift框架, 所以use_frameworks!注释会打开 .
但混淆后发现, STCDefination.h中混淆的代码很少, 发现是*-LinkMap-normal-x86_64.txt这个文件中的内容会少很多, 对于这种情况改怎么做呢?
如题
我没有中文路径也报了这个错误,请问有其他原因吗
我的项目没有中文路径,也报了这个错
问题有解决吗
Originally posted by @base0225 in #29 (comment)
我是直接将您Demo里面STCDefination.h清空, 重新在真机里面编译运行, 但是无法产生您说明文档里的效果
会不会被拒
苹果对于混淆过的名字是会拒绝的吧?比如你现在混淆后的XHSPFJEIH32D2IEFO2,没意义并且看不明意思的大量混淆代码,苹果会直接说你有隐藏功能。
[STCObfuscator obfuscatorManager].unConfuseMethodPrefix = @[@"_cmd"]; 加了这行代码解决
项目中有很多第三方库,必须使用真机才能编译
Cannot find interface declaration for 'STC136EEDC80207AC54395FE017638F49EC'
这种问题怎么解决啊?
运行后STCDefination.h中只生成了如下代码。没有对应的宏
#if (DEBUG != 1)
//--------------------Obfuscator--------------------
#endif
//------------------------------------------------------
能否只混淆类名,不混淆方法
swift 能用么~~
脚本写的很棒,但好像对于类似于A和A:B这种前半部分方法名相同的方法无法做到一并混淆。
生成的 STCDefination.h 只有这个,跟我的项目有多个Target有关系么?另外写了个Demo测试是混淆成功的。
#if (DEBUG != 1)
//--------------------Obfuscator--------------------
#endif
//------------------------------------------------------
你好,能给个 微信号嘛 想请求一下
My account was compromised, as a result many spam issues got created across multiple repos. I am deleting all such issues. Please check my tweet: https://x.com/arghyac35/status/1729721954909684064?s=20
建议改为两种混淆过滤类型,使用者可以指定混淆方式:
我是用cocoapods搭建的项目,其中一个pod用作所有model集合,但是发现总是报错 property xxx not found on object of type xxx。
后来确实没办法了,在pod里的model头文件都加上了混淆的define
才编译通过,想请教下楼主原理。有没有不那么笨拙的方法
STCDefination里有值~#ifndef ViewController
#define ViewController STCB8D9CC63982139C987E74954B9F4E4BA
#endif
#ifndef AppDelegate
#define AppDelegate STC31CD7117D188FA25D36B7A95B78E6771
#endif
#ifndef aaaaaa
#define aaaaaa STC5114205405B2108905EFA301C6B4F623
#endif
#ifndef four
#define four STCD6E08330948E51626287C55DACB50D28
#endif
#ifndef two
#define two STCE2F3AD4F81EC158F9F342DD99CD8503B
#endif
#ifndef andArr
#define andArr STCC733FC5835E3ADB01F5AB9AAA10598E3
#endif
#ifndef three
#define three STC6F8C896E3DF0B3F8B986911131582222
#endif
confuse.json里也有值
{
"STCE2F3AD4F81EC158F9F342DD99CD8503B" : "two",
"STC5114205405B2108905EFA301C6B4F623" : "aaaaaa",
"STCD6E08330948E51626287C55DACB50D28" : "four",
"STC6F8C896E3DF0B3F8B986911131582222" : "three",
"STC31CD7117D188FA25D36B7A95B78E6771" : "AppDelegate",
"STCC733FC5835E3ADB01F5AB9AAA10598E3" : "andArr"
}
但是用class-dump导出头文件还是没有加密的
工程只能在真机上运行,我在真机的debug编译,不能生成STCDefination.h这个类
代码混淆后苹果审核被拒了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.