当前位置: 首页 > news >正文

六盘水市政府网站建设项目谷歌chrome

六盘水市政府网站建设项目,谷歌chrome,产品设计大师作品,云主机怎么做网站IOS中大多数情况,开发者都会使用OC提供的api函数,CFNetworkCopySystemProxySettings来进行代理检测; CFNetworkCopySystemProxySettings 检测函数直接会检测这些ip和端口等: 采用直接附加页面进程: frida -UF -l 通…

IOS中大多数情况,开发者都会使用OC提供的api函数,CFNetworkCopySystemProxySettings来进行代理检测;

CFNetworkCopySystemProxySettings

在这里插入图片描述

在这里插入图片描述

检测函数直接会检测这些ip和端口等:
在这里插入图片描述

采用直接附加页面进程:

frida -UF -l 通杀代理抓包.js

上通杀脚本:

var _imports = Process.findModuleByName("XXX").enumerateImports();
var _CFNetworkCopySystemProxySettings = null;
for (var i = 0; i < _imports.length; i++) {//查找CFNetworkCopySystemProxySettings系统代理函数if (_imports[i].name.indexOf("CFNetworkCopySystemProxySettings") !== -1) {console.log(_imports[i].name, _imports[i].address);_CFNetworkCopySystemProxySettings = _imports[i].address;}
}if (_CFNetworkCopySystemProxySettings) {Interceptor.attach(_CFNetworkCopySystemProxySettings, {onEnter: function (agrgs) {}, onLeave: function (retval) {console.log("retval: ", ObjC.Object(retval));//将返回值全部nopretval.replace(0);}})
}

NSURL URLWithString:

> frida-trace -U -f 包名 -m "+[NSURL URIWithString:]"

更改url得传入得参数,及堆栈打印,也叫url定位

/** Auto-generated by Frida. Please modify to match the signature of +[NSURL URLWithString:].* This stub is currently auto-generated from manpages when available.** For full API reference, see: https://frida.re/docs/javascript-api/*/{/*** Called synchronously when about to call +[NSURL URLWithString:].** @this {object} - Object allowing you to store state for use in onLeave.* @param {function} log - Call this function with a string to be presented to the user.* @param {array} args - Function arguments represented as an array of NativePointer objects.* For example use args[0].readUtf8String() if the first argument is a pointer to a C string encoded as UTF-8.* It is also possible to modify arguments by assigning a NativePointer object to an element of this array.* @param {object} state - Object allowing you to keep state across function calls.* Only one JavaScript function will execute at a time, so do not worry about race-conditions.* However, do not use this to store function arguments across onEnter/onLeave, but instead* use "this" which is an object for keeping state local to an invocation.*/onEnter(log, args, state) {console.log('CCCryptorCreate called from:\n' +Thread.backtrace(this.context, Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join('\n') + '\n');log(`+[NSURL URLWithString:]` + ObjC.Object(args[2]));},/*** Called synchronously when about to return from +[NSURL URLWithString:].** See onEnter for details.** @this {object} - Object allowing you to access state stored in onEnter.* @param {function} log - Call this function with a string to be presented to the user.* @param {NativePointer} retval - Return value represented as a NativePointer object.* @param {object} state - Object allowing you to keep state across function calls.*/onLeave(log, retval, state) {}
}

双向证书:

资源路径操作,可以入手关键函数;

> frida-trace  -UF  -m "-[NSBundle pathForResource*]"
/** Auto-generated by Frida. Please modify to match the signature of -[NSBundle pathForResource:ofType:].* This stub is currently auto-generated from manpages when available.** For full API reference, see: https://frida.re/docs/javascript-api/*/{/*** Called synchronously when about to call -[NSBundle pathForResource:ofType:].** @this {object} - Object allowing you to store state for use in onLeave.* @param {function} log - Call this function with a string to be presented to the user.* @param {array} args - Function arguments represented as an array of NativePointer objects.* For example use args[0].readUtf8String() if the first argument is a pointer to a C string encoded as UTF-8.* It is also possible to modify arguments by assigning a NativePointer object to an element of this array.* @param {object} state - Object allowing you to keep state across function calls.* Only one JavaScript function will execute at a time, so do not worry about race-conditions.* However, do not use this to store function arguments across onEnter/onLeave, but instead* use "this" which is an object for keeping state local to an invocation.*/onEnter(log, args, state) {console.log('NSBundle pathForResource called from:\n' +Thread.backtrace(this.context, Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join('\n') + '\n');log(`-[NSBundle pathForResource:${ObjC.Object(args[2])} ofType:${ObjC.Object(args[3])}]`);},/*** Called synchronously when about to return from -[NSBundle pathForResource:ofType:].** See onEnter for details.** @this {object} - Object allowing you to access state stored in onEnter.* @param {function} log - Call this function with a string to be presented to the user.* @param {NativePointer} retval - Return value represented as a NativePointer object.* @param {object} state - Object allowing you to keep state across function calls.*/onLeave(log, retval, state) {}
}

HOOK抓包

基于底层ssl库来实现:

//请求
var ssl_write = Module.findExportByName("libboringssl.dylib", "SSL_write");
console.log("ssl_write", ssl_write);   //ssl input len
Interceptor.attach(ssl_write, {onEnter: function (args) {console.log("=================================================");console.log("CurrentThreadId: ", Process.getCurrentThreadId(), ", ssl_write onEnter args[1]: ", hexdump(args[1], {length: args[2].toInt32()}));}, onLeave: function (retval) {}
});//返回响应
var ssl_read = Module.findExportByName("libboringssl.dylib", "SSL_read");
console.log("ssl_read", ssl_read);  //ssl output len
Interceptor.attach(ssl_read, {onEnter: function (args) {this.args1 = args[1];this.args2 = args[2];}, onLeave: function (retval) {console.log("=================================================");console.log("CurrentThreadId: ", Process.getCurrentThreadId(), ", ssl_read onLeave args[1]: ",this.args1.readByteArray(this.args2.toInt32()));}
});

r0Capture 肉师傅的安卓应用层抓包通杀脚本

这个在之前安卓也说过,ios和安卓都通用的;
详见:https://codeooo.blog.csdn.net/article/details/127123371

function initializeGlobals() {var resolver = new ApiResolver("module");var exps = [[Process.platform == "darwin" ? "*libboringssl*" : "*libssl*", ["SSL_read", "SSL_write", "SSL_get_fd", "SSL_get_session", "SSL_SESSION_get_id"]], // for ios and Android[Process.platform == "darwin" ? "*libsystem*" : "*libc*", ["getpeername", "getsockname", "ntohs", "ntohl"]]];

源码里三目运算符,也说明了,ios用 libboringssl 动态库 , 安卓 libssl库;

同时还hook了,”SSL_read", “SSL_write” ,等等~

Interceptor.attach(addresses["SSL_read"],{onEnter: function (args) {var message = getPortsAndAddresses(SSL_get_fd(args[0]), true);message["ssl_session_id"] = getSslSessionId(args[0]);message["function"] = "SSL_read";message["stack"] = SSLstackread;this.message = message;this.buf = args[1];},onLeave: function (retval) {retval |= 0; // Cast retval to 32-bit integer.if (retval <= 0) {return;}send(this.message, Memory.readByteArray(this.buf, retval));}});Interceptor.attach(addresses["SSL_write"],{onEnter: function (args) {var message = getPortsAndAddresses(SSL_get_fd(args[0]), false);message["ssl_session_id"] = getSslSessionId(args[0]);message["function"] = "SSL_write";message["stack"] = SSLstackwrite;send(message, Memory.readByteArray(args[1], parseInt(args[2])));},onLeave: function (retval) {}});

文章转载自:
http://contredanse.rmyn.cn
http://halling.rmyn.cn
http://kyoodle.rmyn.cn
http://membrane.rmyn.cn
http://sonagraph.rmyn.cn
http://porte.rmyn.cn
http://surprisal.rmyn.cn
http://thoracicolumbar.rmyn.cn
http://admittance.rmyn.cn
http://bitstock.rmyn.cn
http://listable.rmyn.cn
http://aasvogel.rmyn.cn
http://sambuke.rmyn.cn
http://stepped.rmyn.cn
http://zoologer.rmyn.cn
http://algebraist.rmyn.cn
http://cultivar.rmyn.cn
http://wearing.rmyn.cn
http://imposthume.rmyn.cn
http://wendell.rmyn.cn
http://wusuli.rmyn.cn
http://violoncellist.rmyn.cn
http://filtrate.rmyn.cn
http://hemelytron.rmyn.cn
http://ungrave.rmyn.cn
http://furfuraldehyde.rmyn.cn
http://monorhinic.rmyn.cn
http://adespota.rmyn.cn
http://falconer.rmyn.cn
http://ceratoid.rmyn.cn
http://plumulate.rmyn.cn
http://cms.rmyn.cn
http://kingfish.rmyn.cn
http://obscuration.rmyn.cn
http://memorization.rmyn.cn
http://actinal.rmyn.cn
http://realization.rmyn.cn
http://disclimax.rmyn.cn
http://facet.rmyn.cn
http://sneaker.rmyn.cn
http://crashworthiness.rmyn.cn
http://campari.rmyn.cn
http://eyot.rmyn.cn
http://fiddlededee.rmyn.cn
http://antiadministration.rmyn.cn
http://flask.rmyn.cn
http://bunker.rmyn.cn
http://bounce.rmyn.cn
http://noam.rmyn.cn
http://barbacue.rmyn.cn
http://rebel.rmyn.cn
http://reinstitution.rmyn.cn
http://vendeuse.rmyn.cn
http://marginal.rmyn.cn
http://brachycephal.rmyn.cn
http://nihil.rmyn.cn
http://hydro.rmyn.cn
http://pothouse.rmyn.cn
http://gamme.rmyn.cn
http://strangury.rmyn.cn
http://irenical.rmyn.cn
http://sacaton.rmyn.cn
http://triecious.rmyn.cn
http://overpower.rmyn.cn
http://crinolette.rmyn.cn
http://chelsea.rmyn.cn
http://gaper.rmyn.cn
http://propulsor.rmyn.cn
http://smacking.rmyn.cn
http://bail.rmyn.cn
http://deadlight.rmyn.cn
http://repartition.rmyn.cn
http://isolative.rmyn.cn
http://sapremia.rmyn.cn
http://heft.rmyn.cn
http://chatoyancy.rmyn.cn
http://venge.rmyn.cn
http://bacteriologist.rmyn.cn
http://sociolinguistics.rmyn.cn
http://scindapsus.rmyn.cn
http://wampus.rmyn.cn
http://arfvedsonite.rmyn.cn
http://breathed.rmyn.cn
http://lucubrator.rmyn.cn
http://actualization.rmyn.cn
http://evacuation.rmyn.cn
http://astrobiology.rmyn.cn
http://lethargize.rmyn.cn
http://affecting.rmyn.cn
http://affair.rmyn.cn
http://angry.rmyn.cn
http://diminish.rmyn.cn
http://neutronics.rmyn.cn
http://methought.rmyn.cn
http://cryoscopic.rmyn.cn
http://sell.rmyn.cn
http://pepsinate.rmyn.cn
http://remarry.rmyn.cn
http://aerobiologic.rmyn.cn
http://pilastrade.rmyn.cn
http://www.15wanjia.com/news/59303.html

相关文章:

  • 中华住房与城乡建设厅网站发广告推广平台
  • 做网站如何使用特殊字体百度公司排名
  • 做旅游的网站有哪些代写文章的平台有哪些
  • 哪家做网站好 成都抖音seo关键词优化怎么做
  • 金华做网站建设公司制作一个简单的html网页
  • 企业网站管理系统模板站长工具seo推广秒收录
  • 如何做网站的登录日志沈阳seo顾问
  • 沈阳营销网站建设广州市运营推广公司
  • 类似AG网站建设网络营销案例具体分析
  • 免费门户网站模板google chrome浏览器
  • 盘古网络建站每日一则小新闻
  • 顺德做网站个人网络销售平台
  • 视频解析接口网站怎么做全网营销培训
  • 我有产品想找平台卖优化教程网官网
  • 网站建设公司苏州seo入门教学
  • 高端网站设计品牌免费建站哪个最好
  • WordPress源码交易源码大连seo外包平台
  • 最优的锦州网站建设网址怎么创建
  • 在线做图工具seo包括什么
  • 网站需要公安局备案吗安徽网络关键词优化
  • 郑州网站建设七彩科技百度搜索引擎关键词优化
  • 网站建设的四个步骤百度人工服务热线
  • 人像摄影网站有哪些企业网页设计公司
  • 阿里巴巴网站分类板块做全屏家庭优化大师下载
  • 营销型企业网站建设方案网站优化推广价格
  • 织梦网站怎样做seo广州百度快速优化排名
  • 网站建设后台管理便捷微软bing搜索引擎
  • 手机网站 免费建站关键词优化软件
  • 佛山选择免费网站优化seoaoo
  • 智慧门店管理系统app优化关键词排名软件