找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2242|回复: 9

[k3c] k3c 官改 adbyby失灵

[复制链接]
发表于 2021-2-8 23:53 | 显示全部楼层 |阅读模式
k3cv1.6 官改adbyby失灵,无法正常更新
ssh连接192.168.2.1后
  1. find / -name 'ad*.*'
  2. <blockquote>/root/adb_mon.sh
复制代码
发现adbybykoolproxy对应的是adbyby.sh和adb_mon.sh
但是这个代码,一脸懵逼
  1. #local mcmd=$1

  2. adb_mod=`uci get adbyby.adbyby.mode 2>/dev/null`
  3. https_en=`uci get adbyby.adbyby.https 2>/dev/null`
  4. run_mode=`uci get adbyby.adbyby.runmode 2>/dev/null`

  5. httpsip_flag=0
  6. if [  -f "/etc/adbyby_httpsip.txt" ]  ;then
  7. iflag=`cat /etc/adbyby_httpsip.txt|grep "\."`
  8. if [ ! -z "$iflag" ] ;then
  9. httpsip_flag=1
  10. fi
  11. fi

  12. if [ "$run_mode" = "2" ]  ;then
  13. run_mode="1"
  14. fi

  15. add_mac_rules() {
  16. cat << EOF
  17. $mcmd
  18. EOF
  19. }


  20. cd /tmp
  21. #........................
  22. wget_ok="0"
  23. get_source="0"

  24. while [ "$wget_ok" = "0" ]
  25. do
  26. if [ "$adb_mod" = "1" ]  ;then
  27. wget --no-check-certificate https://koolproxy.com/downloads/mips -O /tmp/mips -t 1 -T 5 2>/dev/null
  28. if [ "$?" == "0" ]; then
  29. wget_ok="1"
  30. else
  31.   wget http://update.iytc.net/tools/mips_new -O /tmp/mips -t 1 -T 5 2>/dev/null
  32.   if [ "$?" == "0" ]; then
  33.   wget_ok="1"
复制代码
有知道怎么修改


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2021-2-8 23:56 | 显示全部楼层
UCI命令可以写入配置文件配置信息,格式如下:
$:’ uci [<options>] <command> [<arguments>]
    $:’ uci
    // 直接输入uci可以查看uci的帮助信息和具体参数
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-9 19:38 | 显示全部楼层
是更新服务器被和谐了,其实没问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-11-11 11:33 | 显示全部楼层
楼主求发一份adbyby.sh的文件,我把代码改乱了,没保存,感谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-2-4 21:54 | 显示全部楼层
楼主这个解决了吗?解决了分享一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-2-4 21:54 | 显示全部楼层
楼主这个解决了吗?解决了分享一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-2-4 21:54 | 显示全部楼层
楼主这个解决了吗?解决了分享一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-2-4 21:54 | 显示全部楼层
楼主这个解决了吗?解决了分享一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-2-4 21:54 | 显示全部楼层
楼主这个解决了吗?解决了分享一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-2-10 20:15 | 显示全部楼层
k3c用这个 用着用着就死机了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 21:27

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表