A reading (Qinglong panel login) deploys Qinglong panel+self-scanning code, and Docker installs Qinglong panel and its auxiliary panel to realize the hang of apps such as JD,

This document is automatically synchronized to each platform by the program. If you have any format errors or questions, please visit http://blog.biuioi.com Read the original text and message! Qinglong panel is a timed script platform. Through it, we can use various scripts to run tasks regularly to achieve the effect of pulling wool. It supports multiple script languages (python3, javascript, shell, typescript)

Support online management scripts, environment variables, configuration files support online view of task logs support second level task settings support system-level notification support dark mode support mobile phone operation [environmental requirements] Openwrt scientific internet environment with Docker IPV6 or intranet penetration (optional) [install Qinglong panel]

This time, we use N1 box to brush soft routing to demonstrate [ssh to N1] to open cmdssh root @ your openwrt IP address [installation panel] The following code has reserved ninjia, xdd, xdd-plus, sillyGirl, and other mapping folders to paste directly, which will automatically pull the image.

docker run -dit \ -v $PWD/ql/config:/ql/config \ -v $PWD/ql/scripts:/ql/scripts \ -v $PWD/ql/repo:/ql/repo \ -v $PWD/ql/log:/ql/log \ -v $PWD/ql/db:/ql/db \ -v $PWD/ql/deps:/ql/deps \ -v $PWD/ql/jbot:/ql/jbot \ -v $PWD/ql/raw:/ql/raw \ -v $PWD/ql/ninja:/ql/ninja \ -v $PWD/ql/xdd:/ql/xdd \ -v $PWD/ql/xdd-plus:/ql/xdd-plus \ -v $PWD/ql/sillyGirl:/ql/sillyGirl \ -p 5700:5700 \ -p 5701:5701 \ -e ENABLE_ HANGUP=true \ -e ENABLE_ WEB_ PANEL=true \ -e ENABLE_ TG_ BOT=true \ –name qinglong \ –hostname qinglong \ –restart unless-stopped \ whyour/qinglong:2.10.13

[Open Port] Enter openwrt, enter Docker – Configuration – DockerMan Settings – Access Control – Allowed Access Port, open qinglong | 5700 | tcp and qinglong | 5701 | tcp

(The port 5701 opened is the port for installing ninja panel in the next step) [Access and Configuration] Enter your openwrt IP or Docker container IP+port 5700 to access the installation process of the panel. The push robot can apply for the corresponding API according to its own preferences and then configure it. This article provides the method to configure Telegram robot.

[Configure Telegram push robot to realize task status and revenue sending] Because Docker cannot access the Internet scientifically, we need to build socks proxy service. This article uses passall to proxy passall – Socks configuration – add servers.

Apply for Telegram robot and obtain token access https://t.me/BotFather Add a robot and get the token according to the prompt.

The marking part in the figure is token. Then give your robot a casual private chat to prevent configuration failure. Get ID access https://t.me/getuseridbot Add a robot, enter/start to get the id

The code in the figure is id. Get Docker address ssh, enter openwrt, and enter ifconfig

The red line is the Docker address. Configure Agent

Fill in the token and id you just obtained in the two blackened places, fill in the address of your Docker in the first red box on the way, and fill in the HTTP listening port when you just configured the Socks proxy in the following proxy port, and then save. At this time, your telegram should have received the message, but the configuration is not complete.

Open the Qinglong panel – set environment variables

Fill in what you just filled in again. At this time, your telegram push robot can push the [Configuration Dependency] dependency to you, which is divided into NodeJs, python3, and Linux. We need to add and open the panel to select dependency management – select NodeJs sub-item – create a dependency.

Paste the following code into the name, turn on automatic splitting, and then automatically download the dependent NodeJs and rely on crypto-js prettytable dotenv jsdom date-fns tough-cookie tslib ws@7.4.3 ts-md5 jsdom -g jieba fs form-data json5 global-agent png-js @types/node require typescript js-base64 axios

Python3 depends on requests canvas ping3 JiebaLinux relies on bizCode bizMsg Lxml waits for the dependency installation to complete [pull script library] to open the panel scheduled task — create a new task name, enter the command randomly, and select from below

Enter timing rules to save and run 1 KingRan library [collection library, recommended] ql repo https://github.com/KingRan/KR.git “jd_|jx_|jdCookie” “activity|backUp” “^jd[^_]|USER|utils|function|sign|sendNotify|ql|magic|JDJR” 

2. Faker3 [collection library] ql repo https://github.com/shufflewzc/faker3.git “jd_|jx_|gua_|jddj_|jdCookie” “activity|backUp” “^jd[^_]|USER|function|utils|sendNotify|ZooFaker_Necklace.js|JDJRValidator_|sign_graphics_validate|ql|JDSignValidator” “main” 

3. yyds [collection library] YYDS ql repo https://github.com/okyyds/yyds.git “jd_|jx_|gua_|jddj_|jdCookie” “activity|backUp” “^jd[^_]|USER|function|utils|sendNotify|ZooFaker_Necklace.js|JDJRValidator_|sign_graphics_validate|ql|JDSignValidator” “master” YYDS_ Pure ql repo https://github.com/okyyds/yydspure.git “jd_|jx_|gua_|jddj_|jdCookie” “activity|backUp” “^jd[^_]|USER|function|utils|sendNotify|ZooFaker_Necklace.js|JDJRValidator_|sign_graphics_validate|ql|JDSignValidator” “master” [Note] Please open the Qinglong panel before pulling the library – delete the contents in the double quotes of GithubProxyUrl=”” in the 18th line of the configuration file.

4. smiek2121 [card opening, suggestion] ql repo https://github.com/smiek2121/scripts.git “gua_” “” “ZooFaker_Necklace.js|JDJRValidator_Pure.js|sign_graphics_validate.js|cleancart_activity.js|jdCookie.js|sendNotify.js” 

5. ccwav notification enhanced version and CK detection [recommended]//does not include sendNotify: ql repo https://github.com/ccwav/QLScript2.git “jd_” “sendNotify|NoUsed” “ql” //Include sendNotify: ql repo https://github.com/ccwav/QLScript2.git “jd_” “NoUsed” “ql|sendNotify”

6. [619] [Collection library, optional] ql repo https://github.com/gys619/jdd.git “jd_|jx_|jddj_|gua_|getJDCookie|wskey” “activity|backUp” “^jd[^_]|USER|utils|ZooFaker_Necklace|JDJRValidator_|sign_graphics_validate|jddj_cookie|function|ql|magic|JDJR|JD” “main” 

7 . [zero205] [collection library, pull KR] ql repo https://github.com/zero205/JD_tencent_scf.git “jd_|jx_|jdCookie” “backUp|icon” “^jd[^_]|USER|sendNotify|sign_graphics_validate|JDJR|JDSign|ql” “main” 

For some timing rules, the first is the second, the second is the minute, the third is the hour, the fourth is the day of the month, the fifth is the month, and the sixth is the number of weeks of the week separated by spaces. Multiple options in the same time bit are connected with “,”, and the same time bit is connected with “-” */5 * * * * ? # Execute every 5 seconds 0 */1 * * * ? # Execute every 1 minute 0 0 2 1 * ? * # Execute once at 2:00 a.m. on the 1st of every month 0 15 10 ? * # MON-FRI will execute at 10:15 a.m. every day from Monday to Friday 0 15 10 ? 6L # 2002-2006 Execute at 10:15 a.m. on the last Friday of each month from 2002 to 2006 0 0 23 * * ? # Once every day at 23:00 0 0 1 * * ? # Execute once every day at 1:00 a.m 0 0 1 1 * ? # Execute once at 1:00 a.m. on the first day of each month 0 0 23 L * ? # Execute once at 23:00 on the last day of each month 0 0 1 ? * L # Execute once every Sunday at 1:00 a.m 0 26,29,33 * * * ? # Once at 26, 29 and 33 0 0 0,13,18,21 * * ? # Every day at 0:00, 13:00, 18:00 and 21:00 0 0 10,14,16 * * ? # Every day at 10 a.m., 2 p.m. and 4 p.m 0 0/30 9-17 * * ? # Every half hour during the working hours from 9 to 5 0 0 12 ? * WED # Execute once every Wednesday at 12:00 noon 0 0 12 * * ? # Triggered at 12:00 every day 0 15 10 ? * * # Trigger at 10:15 am every day 0 15 10 * * ? # Trigger at 10:15 am every day 0 15 10 * * ? * # Trigger at 10:15 am every day 0 15 10 * * ? # Triggered at 10:15 am every day in 2005 0 * 14 * * ? # Triggered every 1 minute between 2:00 p.m. and 2:59 p.m. every day 0 0/5 14 * * ? # Triggered every 5 minutes between 2:00 p.m. and 2:55 p.m. every day 0 0/5 14,18 * * ? # Triggered every 5 minutes between 2:00 p.m. and 2:55 p.m. and between 6:00 p.m. and 6:55 p.m. every day 0 0-5 14 * * ? # Triggered every 1 minute between 2:00 p.m. and 2:05 p.m. every day 0 10,44 14 ? 3 WED # triggered at 2:10 p.m. and 2:44 p.m. every Wednesday in March 0 15 10 ? * MON-FRI # triggered at 10:15 a.m. from Monday to Friday 0 15 10 15 * ? # Trigger at 10:15 am on the 15th of every month 0 15 10 L * ? # Trigger at 10:15 am on the last day of each month 0 15 10 ? * 6L # triggered at 10:15 am on the last Friday of each month 0 15 10 ? * 6L # 2002-2005 triggered at 10:15 am on the last Friday of each month from 2002 to 2005 0 15 10 ? * 6 # 3 # Trigger at 10:15 am on the third Friday of each month 。

拉取完成会出现很多任务,但还不能运行,因为缺少登录信息,所以我们要获取Cookie【抓取Cookie和Wskey(可选)并设置环境变量】Cookie和Wskey一定不能泄露,否则可能会被别人登录造成损失!!!

17万京豆被偷,京东账号代挂要谨慎不要相信任何代挂网,也会暴露Cookie!!!获取Cookie(电脑端)用浏览器在 PC 端打开京东触屏版网页 https://m.jd.com按键盘 F12 键打开开发者工具,切换到网络(Network)标签,然后点下图中的图标

此时是未登录状态(使用手机短信验证码登录),如已登录请忽略此步骤

登录后,选择 Network(或者按第二步的打开就选择网络标签),忽略现在正在跑的进度条

如果和上面的图不一样,那就点一下“我的”如果一样,这是网络标签很多内容,刷新一下选择第一个内容,我这里是:newhome.action?sceneval=2&ufc=&可能每个人会不一样,然后如下图一样找到 cookie,复制出来,新建一个 TXT 文本临时保存一下,下面需要用到

在 TXT 文本里面找到 pt_pin 和 pt_key 两个参数,其它的全部删掉。如图所示,红色框下的部分就是需要的参数,其它的全部删掉。

获取Cookie(手机端)下载Alook游览器APP打开网址栏 http://www.m.jd.com《工具箱》开发者工具

获取Wskey(可选)下载Stream抓包工具根据提示安装CA证书并信任点击开始抓包,然后打开京东APP在各个页面刷新几次,主要是”首页“和”我的“页面返回抓包工具,暂停抓包打开抓包历史,选择刚才的抓包日志

切换到按域名分类找到并打开 http://api.m.jd.com 域名然后随便选择一个开头是POST的请求切换到”请求“项,查看请求头部(此时请求头部应该有很多,若很少,就重新选一个POST请求)找到 ”

wskey=*******“

【设置环境变量】进入面板新建环境变量变量名称为 JD_COOKIE (不能改!)值填为 pt_key=######;pt_pin=#########; (#号为你刚才获取的Cookie值)切换到定时任务项,运行

jdCookie.js 然后查看日志若显示如下证明Cookie已配置成功## 开始执行… 2022-08-07 11:17:14 ====================共1个京东账号Cookie========= ==================脚本执行- 北京时间(UTC+8):2022/8/7 11:17:15===================== ## 执行结束… 2022-08-07 11:17:15 耗时 1 秒

若要增加环境变量,新建安装上述步骤添加即可【运行】此时运行任务,不出意外的话已经可以正常使用了【配置WSCK使Cookie实现永不失效(半永久)(可选)】短信获取Cooike有效期为30天,所以必须每30天提交一次(也可以30天内随时提交)我们可以配置Wskey,系统会在指定时间检查wskey,有效则自动转换出Cookie并自动写入”JD_COOKIE“,Cookie失效后,也会在系统设定的指定时间内自动转换出新的Cookie,实现一次录入长期有效。

【配置方法】拉取wskey本地转换脚本(按照上面拉取脚本库方法)ql repo https://ghproxy.com/github.com/Zy143L/wskey.git “wskey”使用建议 修改 定时计划

15 */6 * * *默认为6小时15分执行一次 请按需修改【配置环境变量】变量名: JD_WSCK 参数: pin=xxxx;wskey=xxxx; (根据上面获取到的Cookie和Wskey自行拼接)

【运行】定时任务中运行 wskey转换 若显示下图证明已经生效## 开始执行… 2022-08-07 21:42:47 ——————– 5700端口检查通过 使用 _id 键值 HTTP Server Check OK ——————– 当前脚本版本: 20524 ——————– pt_pin=jd_FlPZDwVsRPqf;检索成功 jd_FlPZDwVsRPqf;状态正常 pt_pin=jd_FlPZDwVsRPqf;账号有效 账号启用 ——————– ——————– 暂停10秒 执行完成 ——————– ## 执行结束… 2022-08-07 21:43:02 耗时 15 秒。

【ninja面板】Ninja是@MoonBegonia大佬开发的一个开源安全的青龙面板扫码工具,可以扫码,跳转登录添加/更新 cookie添加/更新 cookie 后发送通知扫码发送通知可关闭添加备注并将通知中的 pt_pin nickName 修改为备注

默认备注为昵称添加扫码推送卡片替换 cookie 失效通知登录界面展示自定义标语支持多容器,多面板采用自己的数据库,实现无视面板替换通知备注账号管理面板现扫码登陆和WSCK录入已失效,但不影响正常使用,后面会介绍WSCK使用方法。

【安装】ssh到N1 docker exec -it qinglong bash #进入容器 git clone https://ghproxy.com/https://github.com/licklly/kingrom_ninja.git /ql/ninja #拉取ninja库文件到容器ninja文件夹中 cd /ql/ninja/backend #进入到backend文件夹下 pnpm install #安装ninja cp .env.example .env #复制环境变量文件并修改文件名 pm2 start #启动ninja vi /ql/config/extra.sh #打开青龙config文件夹的extra.sh文件 #将以下、内容粘贴到 extra.sh(重启后自动更新并启动 Ninja,已去除自动复制通知文件,因为已失效,需要的去除注释符合#即可) cd /ql/ninja/backend git checkout . git pull pnpm install pm2 start #cp sendNotify.js /ql/scripts/sendNotify.js 进入编辑:按字母i 退出保存:按Esc键,再输入:wq 不保存强制退出:按Esc键,输入:q! 上面的冒号不能少!!! pm2 start #退出保存后,再次重启ninja

【运行】访问N1的ip:5701,测试运行是否正常【修改环境变量】docker exec -it qinglong bash #进入容器 cd /ql/ninja/backend vi .env pm2 start。

Ninja 环境变量(特别提醒:部分变量存在赋值问题,部分变量的false和true并不能起作用,请直接使用注释符号#来控制,启用功能→删除#即可,禁用功能→添加#)目前支持的环境变量有:SHOW_QR:是否显示扫码卡片,默认不显示

SHOW_WSCK:是否显示WSCK录入,默认不显示SHOW_CK:是否显示CK登录,默认不显示ALLOW_WSCK_ADD:是否允许添加WSCK账号 不允许添加时则只允许已有账号登录ALLOW_WSCK_NUM:允许添加WSCK账号的最大数量

ALLOW_ADD: 是否允许添加账号 不允许添加时则只允许已有账号登录(默认 true)ALLOW_NUM: 允许添加账号的最大数量(默认 45)NINJA_PORT: Ninja 运行端口(默认 5701)

NINJA_NOTIFY: 是否开启通知功能(默认 true)NINJA_UA: 自定义 UA,默认为随机【更新和删除ninja】#进入qinglong容器内执行 #更新Ninja: cd /ql/ninja git checkout . git pull cd backend pm2 start #删除Ninja cd /ql/ninja pm2 delete ninja rm -rf * rm -r ./.*

【JDX面板】JDX是一款Cookie提交工具,界面也非常简约,由于某种原因,大佬已删库跑路!【安装】ssh到N1 docker pull grbhq/jdx:latest #拉取JDX镜像 docker run -d \ -v $PWD/jdx/config:/jdx/config \ -p 5702:80 \ –restart=always \ –name jdx grbhq/jdx:latest #运行JDX容器【注意映射端口不要冲突,可自行修改5702为其他端口,这里以5702为例】 docker logs -f jdx #查看JDX容器日志【CTRL+C退出查看】

【运行】访问N1的ip:5702,测试运行是否正常【后台设置】### 访问后台地址:【默认用户名:admin 密码:123465】 http://N1的ip:5702/admin登陆后台后记得及时修改用户名和密码!!!!。

修改方法:手机端:左滑即可编辑PC端:按F12 ->再按组合键ctrl+shift+M 【切换浏览器为手机模式即可左滑修改】【添加青龙容器】首先需要获取青龙容器的ID和密钥系统设置——应用设置——新建应用——权限全选,名称随便

地址:N1 IP:5700 客户端ID:Client ID(刚才面板设置的) 客户端密钥:Client Secret(刚才面板设置的)配置完成!【引用】https://github.com/whyour/qingl

onghttps://github.com/oevery/ninjahttps://www.right.com.cn/forum/thread-6661780-1-1.htmlhttps://www.right.com.cn/forum/thre

ad-8186567-1-1.htmlhttps://blog.csdn.net/qq_39221949/article/details/124735006https://blog.csdn.net/Magic_Zsi

r/article/details/124201351


我的科技记录 » A reading (Qinglong panel login) deploys Qinglong panel+self-scanning code, and Docker installs Qinglong panel and its auxiliary panel to realize the hang of apps such as JD,

发表回复

陇ICP备2022001198号-2