首页 > 其他 > 详细

ill-intentions

时间:2021-08-26 09:22:18      阅读:19      评论:0      收藏:0      [点我收藏+]

题目来源: google-ctf-2016

题目描述:Do you have have ill intentions?

 

 

通过这道题学习了objection的用法

首先需要在安卓上运行frida-server

然后打开cmd运行objection -g com.example.hellojni explore

android hooking list activities可以查看注册的所有Activities

android hooking watch class com.example.application.ThisIsTheRealOne可以查看ThisIsTheRealOne类的所有方法调用情况

点击按钮后发现它调用了orThat方法

android hooking watch class_method com.example.application.ThisIsTheRealOne.orThat --dump-args --dump-backtrace --dump-return可以监视orThat方法的参数、调用栈和返回值

这里返回值提示我们"KeepTryingThisIsNotTheActivityYouAreLookingForButHereHaveSomeInternetPoints!"

最终在IsThisTheRealOne中调用的perhapsThis发现了flag

CTF{IDontHaveABadjokeSorry}

ill-intentions

原文:https://www.cnblogs.com/hktk1643/p/15187619.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!