美文网首页
cycript 中发送noti_post

cycript 中发送noti_post

作者: pockyzhang | 来源:发表于2016-11-30 15:47 被阅读20次

记录一下 自己用着方便
http://bbs.iosre.com/t/how-to-test-notify-post-in-cycript/1337

自己随便hook一个app,然后发送就行了
<pre>
cy# np = @encode(unsigned int()(char const))(dlsym(RTLD_DEFAULT, "notify_post"))&0x3a7623e5cy# (*np)("com.apple.accessibility.defaultrouteforcall")
</pre>
com.apple.accessibility.defaultrouteforcall改为自己的通知名字吧

相关文章

网友评论

      本文标题:cycript 中发送noti_post

      本文链接:https://www.haomeiwen.com/subject/bfjtmttx.html