From cec693cb8e49f30cc0976648510c56fe3dfc1344 Mon Sep 17 00:00:00 2001 From: oasis Date: Thu, 5 Jun 2025 16:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96:=E6=AD=A5=E6=95=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=A2=9E=E5=8A=A0=E5=8F=8D=E4=BD=9C=E5=BC=8A=E8=83=BD?= =?UTF-8?q?=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acct_list | 1 + batch_modify.sh | 9 ++++++++- logs | 33 +++++++++++++++++++++++++++++++++ modify.sh | 7 ++++--- 4 files changed, 46 insertions(+), 4 deletions(-) diff --git a/acct_list b/acct_list index c2fedc0..d1bd643 100644 --- a/acct_list +++ b/acct_list @@ -1 +1,2 @@ qiezihwy@outlook.com HwyXiaomi9836$ +1334677599@qq.com 1993wly92%26%26 diff --git a/batch_modify.sh b/batch_modify.sh index b903c9d..6ab11e3 100644 --- a/batch_modify.sh +++ b/batch_modify.sh @@ -1,8 +1,15 @@ #!/bin/bash wd="/home/oasis/dev_projects/wechatStep" +if [ "$#" -ne "1" ];then + echo "参数不合法" + exit 1 +fi +base_num=$1 # 起始值 cd $wd while read acct pwd do - sh modify.sh $acct $pwd >> ./logs + sleep_num=$$(( `shuf -i 1-100 -n` * 60 )) + echo sleop $sleep_num for random cheat >> ./logs + sh modify.sh $acct $pwd $base_num >> ./logs echo "\n" >> ./logs done < acct_list diff --git a/logs b/logs index ca84b2f..2aed707 100644 --- a/logs +++ b/logs @@ -7,3 +7,36 @@ 2025/06/04 11:25:24 qiezihwy@outlook.com step => 10012 {"status":"success","message":"步数已成功更新: 10012"} +2025/06/04 20:00:01 qiezihwy@outlook.com step => 10503 +{"status":"success","message":"步数已成功更新: 10503"} + +参数不合法! +eg: sh modify.sh [账号] [密码] [基数] + + +参数不合法! +eg: sh modify.sh [账号] [密码] [基数] + + +参数不合法! +eg: sh modify.sh [账号] [密码] [基数] + + +参数不合法! +eg: sh modify.sh [账号] [密码] [基数] + + +参数不合法! +eg: sh modify.sh [账号] [密码] [基数] + + +参数不合法! +eg: sh modify.sh [账号] [密码] [基数] + + +2025/06/05 16:41:03 qiezihwy@outlook.com step => 1501 +{"status":"success","message":"步数已成功更新: 1501"} + +2025/06/05 16:41:07 1334677599@qq.com step => 1455 +{"status":"success","message":"步数已成功更新: 1455"} + diff --git a/modify.sh b/modify.sh index b14cabb..8f1791a 100644 --- a/modify.sh +++ b/modify.sh @@ -1,13 +1,14 @@ #!/bin/bash -if [ "$#" -ne "2" ];then +if [ "$#" -ne "3" ];then echo 参数不合法! - echo eg: sh $0 [账号] [密码] + echo eg: sh $0 [账号] [密码] [基数] exit 1 fi acct=$1 passwd=$2 +base_num=$3 random_num=$(shuf -i 1-1000 -n 1) -step=$(( 10000 + random_num )) +step=$(( base_num + random_num )) echo `date +"%Y/%m/%d %H:%M:%S"` $acct step =\> $step #curl --location --request GET 'https://steps.api.030101.xyz/api?account=qiezihwy@outlook.com&password=HwyXiaomi9836$&steps=12134' curl -s --location --request GET "https://steps.api.030101.xyz/api?account=$acct&password=$passwd&steps=$step"