From 879d4547bb0f2163aa60adbd8363658325bc72f2 Mon Sep 17 00:00:00 2001 From: Leon <62660101+Oreomeow@users.noreply.github.com> Date: Fri, 23 Jul 2021 15:04:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=92cdle=20env=20angryBean?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Conf/Qinglong/config.sample.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Conf/Qinglong/config.sample.sh b/Conf/Qinglong/config.sample.sh index 4c38247..e3fcaa9 100644 --- a/Conf/Qinglong/config.sample.sh +++ b/Conf/Qinglong/config.sample.sh @@ -432,6 +432,10 @@ export olympicgames_inviteId="" ### 填写 pt_pin@金额,pt_pin为用户名,可以在 COOKIES 中提取;金额为 2 或 10,例如 LiLei@2 或 HanMeimei@10。多值用 & 连接,例如 LiLei@2&HanMeimei@10 ### export exchangeAccounts="$(echo $JD_COOKIE | sed "s/&/\n/g; s/\S*;pt_pin=\(\S\+\);\S*/\1@10/g; s/\n/\&/g;")" ##兑10元现金,比较难兑 export exchangeAccounts="$(echo $JD_COOKIE | sed "s/&/ /g; s/\S*pt_pin=\(\S\+\);\S*/\1@2/g; s/ /&/g;")" ##兑2元现金 +## 4、真·抢京豆 +### 高速并发抢京豆,专治偷助力。设置环境变量angryBeanPins为指定账号助力,默认不助力。环境变量angryBeanMode可选值priority和speed,默认speed模式。 +export angryBeanPins="$(echo $JD_COOKIE | sed "s/&/\n/g; s/\S*;pt_pin=\(\S\+\);\S*/\1/g; s/\n/@/g;" | awk 'BEGIN{for(i=0;i<10;i++)hex[i]=i;hex["A"]=hex["a"]=10;hex["B"]=hex["b"]=11;hex["C"]=hex["c"]=12;hex["D"]=hex["d"]=13;hex["E"]=hex["e"]=14;hex["F"]=hex["f"]=15;}{gsub(/\+/," ");i=$0;while(match(i,/%../)){;if(RSTART>1);printf"%s",substr(i,1,RSTART-1);printf"%c",hex[substr(i,RSTART+1,1)]*16+hex[substr(i,RSTART+2,1)];i=substr(i,RSTART+RLENGTH);}print i;}')" ## 支持中文用户名 +export angryBeanMode="speed" # star261 环境变量 ## 1、京喜工厂开团