MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    MShell——连接QQ聊天窗口和系统Shell

    插件发布
    kotlin jvm shell linux windows
    10
    18
    2665
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • asforest
      asforest last edited by asforest

      利用QQ的聊天功能,连接一个自定义子进程(一般是shell程序),然后就可以做任何事情了(其实还是有限制的)

      适用场景:

      利用cmd.exe、pwsh.exe、bash、sh等shell程序运行一些简单的命令
      用Rcon管理Minecraft后台
      写一个简单的Python程序做定时提醒或者监控程序

      因为关闭QQ聊天窗口不会断开与服务器Shell的连接,所以你可以写个Python程序,然后用MShell做个定时提醒什么的

      仓库地址:https://github.com/asforest/MShell

      演示图

      1 Reply Last reply Reply Quote 0
      • RainChan
        RainChan 摸鱼 last edited by

        远程代码执行漏洞警告(手动滑稽
        ef45b537-9df1-41ec-9579-dd0acb5d112a-RGE7{0016DAPUJG7NJ@3H`V.jpg

        asforest 1 Reply Last reply Reply Quote 1
        • Kloping
          Kloping ⭐2021⭐ last edited by

          虽然很牛,但是太不实用了

          asforest 1 Reply Last reply Reply Quote 0
          • Bilibili-Initial-heart
            Bilibili-Initial-heart last edited by

            不实用+1,而且不做严格鉴权的话安全问题很严重
            QQ也没法严格鉴权,密码可以爆破

            asforest 1 Reply Last reply Reply Quote 0
            • asforest
              asforest @RainChan last edited by

              @rainchan 哈哈,账号被盗就彻底完蛋了

              1 Reply Last reply Reply Quote 0
              • asforest
                asforest @Kloping last edited by

                @kloping 应用场景确实有限,而且也有安全风险

                1 Reply Last reply Reply Quote 0
                • asforest
                  asforest @Bilibili-Initial-heart last edited by

                  @bilibili-initial-heart 或许加个密码鉴权会稍微好一点

                  1 Reply Last reply Reply Quote 0
                  • VantHoff
                    VantHoff last edited by

                    可以接收其他程序的输出结果吗?

                    asforest 1 Reply Last reply Reply Quote 0
                    • O
                      opensourcefuture 摸鱼 last edited by

                      linux(?

                      1 Reply Last reply Reply Quote 0
                      • asforest
                        asforest @VantHoff last edited by

                        @vanthoff 可以,可以不启动shell程序,启动自定义程序也是支持的

                        VantHoff 1 Reply Last reply Reply Quote 0
                        • Stardust-minus
                          Stardust-minus last edited by

                          目前似乎是只能私聊来执行指令
                          可以加一个群聊内执行,因为一个Bot多框架挂的话私聊消息Mirai有时候收不到。

                          asforest 1 Reply Last reply Reply Quote 0
                          • asforest
                            asforest @Stardust-minus last edited by

                            @stardust-minus 群聊有安全风险,且容易泄露隐私数据(比如目录列表什么的),就暂时没有考虑群聊

                            1 Reply Last reply Reply Quote 0
                            • 1
                              10102232 last edited by

                              不说别的。。我一直找这个,,,真的实用!!!!上面说盗号的,你号都被盗了 还要啥自行车啊。。。。

                              1 Reply Last reply Reply Quote 0
                              • VantHoff
                                VantHoff @asforest last edited by

                                @asforest 在 MShell——连接QQ聊天窗口和系统Shell 中说:

                                @vanthoff 可以,可以不启动shell程序,启动自定义程序也是支持的

                                太好了,可以远程养马了(

                                1 Reply Last reply Reply Quote 0
                                • 杨
                                  杨haha last edited by

                                  IDE下载的mirai-console在插件新项目是不显示,IDE是2020.1.4,插件是2.0-rc

                                  asforest 1 Reply Last reply Reply Quote 0
                                  • asforest
                                    asforest last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • asforest
                                      asforest @杨haha last edited by

                                      @杨haha 不太懂你的意思。如果遇到插件本身的bug,欢迎到GitHub的Issues反馈问题。

                                      1 Reply Last reply Reply Quote 0
                                      • Y
                                        Yuyuko1024 last edited by

                                        好东西啊,之前玩tg bot用过类似的实现,现在有qq版的了

                                        1 Reply Last reply Reply Quote 0
                                        • 1 / 1
                                        • First post
                                          Last post
                                        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact