juewuy / ShellCrash

Run sing-box/mihomo as client in shell
8.69k stars 1.45k forks source link

能不能适配一下aidlux #251

Closed mudssky closed 1 year ago

mudssky commented 1 year ago

aidlux是安卓上的一个linux环境 https://github.com/aidlearning/AidLearning-FrameWork

root@localhost:/home# uname -a
Linux localhost 5.4.0-aidlite #1 SMP PREEMPT Thu May 19 20:38:19 CST 2022 aarch64 GNU/Linux

希望能用安卓机做局域网代理

juewuy commented 1 year ago

@mudssky 流量劫持很难处理

KeyuanHuang commented 1 year ago

请问是否有可能直接在 root 之后的安卓手机上跑 ShellClash?这样可以用安卓手机来做局域网透明代理。

我试着在 termux(一个安卓 shell 的 app,支持 ssh) 里面跑了一下 curl 的安装脚本,在加载出引导安装的语句之后报错,安装终止,提示:

sh: read: -p: no coprocess
安装已取消

我这台手机是 armv7a 架构的,不知道支不支持。。

如果用 wget,就提示:

/system/xbin/wget[160]: getopts: arguments changed since last call
juewuy commented 1 year ago

@KeyuanHuang 不支持,你可以尝试clashformagisk