GithubHelp home page GithubHelp logo

w2r / ibmyesplus Goto Github PK

View Code? Open in Web Editor NEW
64.0 5.0 135.0 22.91 MB

凉凉,已放弃!(2020928),请勿使用!

Shell 8.52% Dockerfile 1.40% Makefile 0.35% Go 3.60% JavaScript 67.89% HTML 12.06% CSS 0.83% Python 5.35%

ibmyesplus's Introduction

IBMYesPlus

更新说明

20200928更新,感觉凉凉,我7个账号都被封了,包含部分未使用账号

20200919更新 可以继续happy了,新开账号可以开免费容器了

20200916更新 诸位珍惜自己的账号,新开的IBM账号已经不能开免费套餐了,旧账号目前仍可以删除容器重建

上一个版本代码已经不能用了,IBM检测config.json文件,通过压缩文件后上传再解压,继续快乐!

PS:已经安装的不受影响,可以忽略,此脚本只针对新安装的!

20200912更新:

增加容器内自动重启功能,无需fork!无需fork!无需fork!,其他改动如下:

  1. 增加IBMcloud cf文件(用于容器内自动重启)
  2. 增加start.sh执行文件(预启动脚本)
  3. 修改生成v2配置代码,vmess自动包含域名,压缩config.json文件,跳过IBM最新验证
  4. 更新部分操作步骤说明

20200910更新

整理IBMYes代码,删除多余内容,并做适当更新,主要改动如下:

  1. 增加自动重命名代码,跳过IBM代码审核(修改v2ray名称以跳过代码审核,不知道能稳定多久,能快乐一天是一天)

  2. 容器环境请随意选择,不要对着go疯狂的撸,已测试大部分环境均适用(亲测Python支持除了tomcat之外所有环境,go测试了java python go swift适用,其他没测试)

  3. 验证是否成功方式:域名/随机生成的websocker路径 ,显示Bad Requests就表示正常使用

  4. v2配置做了修改,增加websocker路径,vmsess链接里无需删除随机路径

使用说明

  1. 自己开容器,环境自己选(看更新说明里的适用环境),安装时会让选择环境参数,1代表go代码,2代表python代码(代码取自IBM示例代码仅用于伪装,选谁都行)

  2. 需要设置v2ray伪装名称参数,自行命名(尽可能选择全英文字母)

  3. 其他使用教程照搬IBMYes即可,直达链接:https://github.com/CCChieh/IBMYes

  4. 能否使用一切随缘,只增加伪装,有问题不要发issue,发了我也解决不了,建议去参考原作者issue

  5. 本代码仅自用,顺带方便一下mjj

使用步骤

  1. 容器环境随便选择(不要选tomcat)

  2. 运行一键伪装代码,按照提示输入以下参数

    wget --no-check-certificate -O install.sh https://raw.githubusercontent.com/w2r/IBMYesPlus/master/install.sh && chmod +x install.sh  && ./install.sh
    
    # 安装步骤
    用户名称—>个人邮箱
    用户密码—>密码
    # 输入后会自动登录到IBM cloud,账户正确则提示授权OK,如果未成功登陆,Ctrl + c取消安装,重新运行代码安装
    应用名称—>容器应用名
    应用环境—>1或者2
    # 应用环境自己随便选都可以,都是无用的示例代码,仅用作伪装
    伪装文件名称—>自行命名(尽量全英文)
    内存—>256
    # 然后会自动push到容器,生成的vmess代码可以直接使用
    
  3. 验证是否安装成功方法

1. 域名/随机域名,提示Bad requests,则代表成功
2. 直接复制vmess链接到客户端,看能否访问谷歌
  1. 验证后台脚本是否运行

    默认四天重启一次,如需修改,请手动修改start.sh中的以下代码

    # 修改步骤,先运行一键脚本,ctrl c取消安装,编辑install.sh,大约第50行
    
    sleep 4d
    

    打开容器详细信息界面,连接ssh

    输入ps -x,如图:

    自动重启测试图(5分钟重启一次):

  2. cf work脚本代码

    addEventListener(
    "fetch",event => {
    let url=new URL(event.request.url);
    url.hostname="******.us-south.cf.appdomain.cloud";
    let request=new Request(url,event.request);
    event. respondWith(
    fetch(request)
    )
    }
    )
    

    修改url.hostnam为你自己的,测试是否反代成功,注意get后正常返回是404,不是Bad Request!域名+随机路径返回才是Bad Request,域名返回结果就是404

    vmess链接里已自动加入了随机路径,所以反代域名就行,不用设置路径

    如图:

    治疗强迫症患者:

    addEventListener(
    "fetch",event => {
    let url=new URL(event.request.url);
    url.hostname="*****.us-south.cf.appdomain.cloud";
    url.pathname="YYq2vSS7u2OqcBwZ";
    let request=new Request(url,event.request);
    event. respondWith(
    fetch(request)
    )
    }
    )
    

    需要修改url.hostname和url.pathname,get后返回Bad Request

    注意,使用这个代码需要去vmess里删除随机路径

    如图:

ibmyesplus's People

Contributors

w2r 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  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  avatar  avatar

ibmyesplus's Issues

v2ray-core更新

目前ibmcloud cf push后,会出现违法代码,而无法成功。但已运行的应用还是继续运行,没被删除。

想知道能否有方法,可直接更新v2ray core? 运行环境里有个ssh,是否可由此,直接下载v2ray core后手动更新?

另外违法代码不让push,是否可以再修改v2ray程序码,比如加一些空的代码,让编译出的结果不一样来伪装。

VLESS

有无考虑做个vless版本?
或是在 install.sh 裡做选项? (1:vmess/2:vless)

只能用30天?

我在7月注册了3个账号,9月初两个账号收到邮件说30天试用到期,账号被停用。最早注册的那个号在今天也收到邮件被停了。

大家遇到这种情况吗?自动重启算不算开发活动?

提示找不到文件和目录

连续循环出现几次这几步日志,然后就挂掉了,主要提示
APP/PROC/WEB | 0 | bash: ./[应用名称]: No such file or directory | 2020年9月26日 下午09:45:57

API 0 Process has crashed with type: "web" 2020年9月26日 下午09:45:50
CELL 0 Cell dec739d9-eea1-4462-a3c5-e679bd4dd9c1 destroying container for instance 8c707313-06eb-4830-46ce-8aff 2020年9月26日 下午09:45:50
API 0 App instance exited with guid 0ff42e76-4a1b-4142-9ca0-b10cbda6b084 payload: {"instance"=>"8c707313-06eb-4830-46ce-8aff", "index"=>0, "cell_id"=>"dec739d9-eea1-4462-a3c5-e679bd4dd9c1", "reason"=>"CRASHED", "exit_description"=>"APP/PROC/WEB: Exited with status 127", "crash_count"=>2, "crash_timestamp"=>1601127950515768664, "version"=>"75e417d2-2fbc-4e72-b96d-18f23361b3a0"} 2020年9月26日 下午09:45:50
CELL 0 Cell c5730026-7124-4a5d-8771-5010d1a2c30f creating container for instance 01d33249-657d-43a3-66d9-cf00 2020年9月26日 下午09:45:51
CELL 0 Cell dec739d9-eea1-4462-a3c5-e679bd4dd9c1 successfully destroyed container for instance 8c707313-06eb-4830-46ce-8aff 2020年9月26日 下午09:45:52
CELL 0 Cell c5730026-7124-4a5d-8771-5010d1a2c30f successfully created container for instance 01d33249-657d-43a3-66d9-cf00 2020年9月26日 下午09:45:53
CELL 0 Downloading droplet... 2020年9月26日 下午09:45:54
CELL 0 Downloaded droplet 2020年9月26日 下午09:45:54
CELL 0 Starting health monitoring of container 2020年9月26日 下午09:45:54
APP/PROC/WEB 0 bash: ./应用名称: No such file or directory 2020年9月26日 下午09:45:57
APP/PROC/WEB 0 Exit status 127 2020年9月26日 下午09:45:57
CELL/SSHD 0 Exit status 0

部署环境2失败,麻烦大佬看下。

提示以下错误:
Installing collected packages: MarkupSafe, Jinja2, click, itsdangerous, Werkzeug, Flask, certifi, urllib3, chardet, idna, requests, cloudant
WARNING: The script flask is installed in '/tmp/contents642319424/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script chardetect is installed in '/tmp/contents642319424/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Flask-1.1.2 Jinja2-2.11.2 MarkupSafe-1.1.1 Werkzeug-1.0.1 certifi-2020.6.20 chardet-3.0.4 click-7.1.2 cloudant-2.13.0 idna-2.10 itsdangerous-1.1.0 requests-2.24.0 urllib3-1.25.10
WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
You should consider upgrading via the '/tmp/contents642319424/deps/0/bin/python -m pip install --upgrade pip' command.
Exit status 0

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.