Giter VIP home page Giter VIP logo

cfw-scripts's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar ovler-young avatar yi-xu-0100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cfw-scripts's Issues

更新某profile时候脚本报错

出错信息如下

Error
Downloac profile(https://free.kingfu.cf/clash/config) failed
with error: [Parser Error] Cannot read property "length' of null
OK

出错profile

https://free.kingfu.cf/clash/config

涉及parser js文件为

change-rules.js

文件内容未做变更

大佬你好, 我参考你的代码想修改策略租中的节点名,还是没改成功,麻烦你指导一下,谢谢

proxy-groups:
  - name: 🚀 节点选择
    type: select
    proxies:
      - ♻️ 自动选择
      - 🇭🇰 香港节点
      - 🇨🇳 **节点
      - 🇸🇬 狮城节点
      - 🇯🇵 日本节点
      - 🇺🇲 美国节点
      - 🇰🇷 韩国节点
      - 🚀 手动切换
      - DIRECT
  - name: 🚀 手动切换
    type: select
    proxies:
      - 🇭🇰 Relay_🇨🇳CN-🇭🇰HK_04
      - LT_17
      - LT_18
      - 🇷🇺 Relay_🇷🇺RU-🇷🇺RU_19
module.exports.parse = async (raw, { yaml }) => {
    let rawObj = yaml.parse(raw);
    rawObj['proxy-groups'].forEach(proxygroup => {
        proxygroup['proxies'].forEach(proxy => {
            proxy = proxy.replace(/Relay_🇨🇳CN-/ig, ''); //i指忽略大小写, g指全局搜索
        });
    });
    return yaml.stringify(rawObj);
};

签到脚本失效

签到脚本会在判断登录成功后进行post /user/checkin时返回的是登录界面,貌似没有保留住登录状态

数组越界

merge_nodes 第92行 console.log(`[debug]: add ${proxy['name']} into ${variables[i + 1]['name']}`); variables[i + 1] 越界了吧

Reporting a vulnerability

Hello!

I hope you are doing well!

We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.

Can you enable it, so that we can report it?

Thanks in advance!

PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.