Giter Site home page Giter Site logo

waikiki_ninja's Introduction

Hey there! I'm Waikkii.

👨🏻‍💻  About Me

  • 🤔   Exploring new technologies and developing software solutions and quick hacks.
  • 🎓   Studying Information Science and Engineering at Southeast University.
  • 🌱   Learning more about Deep learning, Crawler technology, Automated scripting.
  • ✍️   Pursuing Graphic Design and Blog Writing as hobbies/side hustles.

🛠  Tech Stack

  • 💻   Python Java C++
  • 🌐   HTML5 JavaScript Php Node.js
  • 🔨   Tensorflow Pytorch Keras Pandas Selenium
  • 🛢   MySQL
  • ⚙️   Git GitHub Markdown
  • 🔧   Visual Studio Visual Studio Code Atom Jupyter Pycharm
  • 🖥   After Effects Photoshop Premiere

🀄  Github Repos


🤝🏻  Connect with Me

Website Email

⭐️ From Waikkii

waikiki_ninja's People

Contributors

waikkii 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  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

waikiki_ninja's Issues

邮件

请问有时间吗,给你发了邮件,希望能详细问一下

提交ck无响应

抓包数据显示cookie未获取到用户信息,最近频繁发生 cookie是正常可用的

抱歉,也百度查了docker,但还是有点疑问

第二个容器ninja文件夹还是空的,这个不说了,我现在知道想改Ninja 环境变量的话可以
cd /ql/ninja/backend
cp .env.example .env
pm2 start
那是不是现在不能在文件夹里对第二个容器的ninja环境变量进行更改了
只能用cd /ql/ninja/backend
cp .env.example .env
vi .env
pm2 start
是吗?

首页新添加ck出现无响应

抱歉白天没啥时间,只有晚上搞搞
今天试了下,容器内存在ck,然后登录是ok的
但是新ck的话,登录直接无响应
控制台直接报错如下,你看看:
POST http://xxxxx.cn/api/cklogin 500 (Internal Server Error)
(anonymous) @ vendor.4eb73c88.js:15
(anonymous) @ vendor.4eb73c88.js:15
_fetch @ vendor.4eb73c88.js:15
o @ vendor.4eb73c88.js:15
async function (async)
o @ vendor.4eb73c88.js:15
create @ vendor.4eb73c88.js:15
Qg.t. @ vendor.4eb73c88.js:16
(anonymous) @ index.34a494f0.js:1
CKLogin @ index.34a494f0.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
dn @ vendor.4eb73c88.js:1
handleClick @ vendor.4eb73c88.js:1
Vf.createBlock.onClick.t..t. @ vendor.4eb73c88.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
n @ vendor.4eb73c88.js:1
vendor.4eb73c88.js:15 HTTPError: Request failed with status code 500 Internal Server Error
at o (vendor.4eb73c88.js:15)
at async Promise.r. [as json] (vendor.4eb73c88.js:15)
at async CKLogin (index.34a494f0.js:1)
o @ vendor.4eb73c88.js:15
async function (async)
o @ vendor.4eb73c88.js:15
create @ vendor.4eb73c88.js:15
Qg.t. @ vendor.4eb73c88.js:16
(anonymous) @ index.34a494f0.js:1
CKLogin @ index.34a494f0.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
dn @ vendor.4eb73c88.js:1
handleClick @ vendor.4eb73c88.js:1
Vf.createBlock.onClick.t..t. @ vendor.4eb73c88.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
n @ vendor.4eb73c88.js:1
vendor.4eb73c88.js:15 TypeError: Cannot read properties of undefined (reading 'clone')
at Promise.r. [as json] (vendor.4eb73c88.js:15)
at async CKLogin (index.34a494f0.js:1)
r. @ vendor.4eb73c88.js:15
async function (async)
r. @ vendor.4eb73c88.js:15
(anonymous) @ index.34a494f0.js:1
CKLogin @ index.34a494f0.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
dn @ vendor.4eb73c88.js:1
handleClick @ vendor.4eb73c88.js:1
Vf.createBlock.onClick.t..t. @ vendor.4eb73c88.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
n @ vendor.4eb73c88.js:1
index.34a494f0.js:1 TypeError: Cannot read properties of undefined (reading 'data')
at CKLogin (index.34a494f0.js:1)
CKLogin @ index.34a494f0.js:1
async function (async)
CKLogin @ index.34a494f0.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
dn @ vendor.4eb73c88.js:1
handleClick @ vendor.4eb73c88.js:1
Vf.createBlock.onClick.t..t. @ vendor.4eb73c88.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
n @ vendor.4eb73c88.js:1

cookie获取失败

昨天重装之后ninja还是可以添加ck的,但现在新老ck都不能添加,都会显示失败
还有,ninja文件夹内没有.env文件,只有.env.example文件,改了其中参数之后没用,ninja不变
大神这是新出现的bug吗,昨天还正常啊

打开首页ck登录报错无响应

控制台输出
从打开首页开始报错:index.34a494f0.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'showQR')
at t (index.34a494f0.js:1)
at index.34a494f0.js:1
at di (vendor.4eb73c88.js:1)
at pi (vendor.4eb73c88.js:1)
at Array.t.__weh.t.__weh (vendor.4eb73c88.js:1)
at Fi (vendor.4eb73c88.js:1)
at Bi (vendor.4eb73c88.js:1)
t @ index.34a494f0.js:1
(anonymous) @ index.34a494f0.js:1
di @ vendor.4eb73c88.js:1
pi @ vendor.4eb73c88.js:1
t.__weh.t.__weh @ vendor.4eb73c88.js:1
Fi @ vendor.4eb73c88.js:1
Bi @ vendor.4eb73c88.js:1
Promise.then (async)
ji @ vendor.4eb73c88.js:1
Pi @ vendor.4eb73c88.js:1
Mi @ vendor.4eb73c88.js:1
Pn @ vendor.4eb73c88.js:1
(anonymous) @ vendor.4eb73c88.js:1
Ye @ vendor.4eb73c88.js:1
Kt @ vendor.4eb73c88.js:1
(anonymous) @ vendor.4eb73c88.js:1
Ye @ vendor.4eb73c88.js:1
Kt @ vendor.4eb73c88.js:1
(anonymous) @ vendor.4eb73c88.js:1
Ye @ vendor.4eb73c88.js:1
Kt @ vendor.4eb73c88.js:1
set value @ vendor.4eb73c88.js:1
x @ vendor.4eb73c88.js:21
(anonymous) @ vendor.4eb73c88.js:21
Promise.then (async)
y @ vendor.4eb73c88.js:21
v @ vendor.4eb73c88.js:21
install @ vendor.4eb73c88.js:21
use @ vendor.4eb73c88.js:1
(anonymous) @ index.34a494f0.js:1
点击ck登录无响应,并报错下面这个,
index.34a494f0.js:1 TypeError: Cannot read properties of undefined (reading 'eid')
at CKLogin (index.34a494f0.js:1)

巨佬,如何分离ninja到另一台服务器。

巨佬,请问这部分代码如何修改,才能实现 ninja连接部署在另外一台服务器的青龙呢?

假设 青龙host是 http://256.256.256.256:6666
用户名密码分别是 username, password
https://github.com/Waikkii/Waikiki_ninja/blob/main/backend/ql.js#L8-L19

const qlDir = process.env.QL_DIR || '/ql';
const authFile = path.join(qlDir, 'config/auth.json');

const api = got.extend({
  prefixUrl: process.env.QL_URL || 'http://localhost:5600',
  retry: { limit: 0 },
});

async function getToken() {
  const authConfig = JSON.parse(await readFile(authFile));
  return authConfig.token;
}

感谢巨佬

有人分享了新的短信登录接口

大佬会考虑添加到ninja里面吗?
rm -rf ck sc pt cl(){ read -p "请输入手机号: " mobile appid=959 qversion=1.0.0 country_code=86 } ck(){ ts=$(expr $(date +%s%N) / 1000000) sub_cmd=1 gsign=$(echo -n $appid$qversion$ts"36"$sub_cmd"sb2cwlYyaCSN1KUv5RHG3tmqxfEb8NKN" | md5sum | cut -d ' ' -f1) d="client_ver=1.0.0&gsign=$gsign&appid=$appid&return_page=https%3A%2F%2Fcrpl.jd.com%2Fn%2Fmine%3FpartnerId%3DWBTF0KYY%26ADTAG%3Dkyy_mrqd%26token%3D&cmd=36&sdk_ver=1.0.0&sub_cmd=$sub_cmd&qversion=$qversion&ts=$ts" l=${#d} curl -s -k -i --raw -o ck --http2 -X POST -H "Host:qapplogin.m.jd.com" -H "cookie:" -H "user-agent:Mozilla/5.0 (Linux; Android 10; V1838T Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.87 Mobile Safari/537.36 hap/1.9/vivo com.vivo.hybrid/1.9.6.302 com.jd.crplandroidhap/1.0.3 ({"packageName":"com.vivo.hybrid","type":"deeplink","extra":{}})" -H "accept-language:zh-CN,zh;q=0.9,en;q=0.8" -H "content-type:application/x-www-form-urlencoded; charset=utf-8" -H "content-length:$l" -H "accept-encoding:" -d "$d" "https://qapplogin.m.jd.com/cgi-bin/qapp/quick" gsalt=$(cat ck | grep -o "gsalt.*" | cut -d '"' -f3) guid=$(cat ck | grep -o "guid.*" | cut -d '"' -f3) lsid=$(cat ck | grep -o "lsid.*" | cut -d '"' -f3) rsa_modulus=$(cat ck | grep -o "rsa_modulus.*" | cut -d '"' -f3) ck=$(echo "guid=$guid; lsid=$lsid; gsalt=$gsalt; rsa_modulus=$rsa_modulus;") } sc(){ ts=$(expr $(date +%s%N) / 1000000) sub_cmd=2 gsign=$(echo -n $appid$qversion$ts"36"$sub_cmd$gsalt | md5sum | cut -d ' ' -f1) sign=$(echo -n $appid$qversion$country_code$mobile'4dtyyzKF3w6o54fJZnmeW3bVHl0$PbXj' | md5sum | cut -d ' ' -f1) d="country_code=$country_code&client_ver=1.0.0&gsign=$gsign&appid=$appid&mobile=$mobile&sign=$sign&cmd=36&sub_cmd=$sub_cmd&qversion=$qversion&ts=$ts" l=${#d} curl -s -k -i --raw -o sc --http2 -X POST -H "Host:qapplogin.m.jd.com" -H "cookie:$ck" -H "user-agent:Mozilla/5.0 (Linux; Android 10; V1838T Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.87 Mobile Safari/537.36 hap/1.9/vivo com.vivo.hybrid/1.9.6.302 com.jd.crplandroidhap/1.0.3 ({"packageName":"com.vivo.hybrid","type":"deeplink","extra":{}})" -H "accept-language:zh-CN,zh;q=0.9,en;q=0.8" -H "content-type:application/x-www-form-urlencoded; charset=utf-8" -H "content-length:$l" -H "accept-encoding:" -d "$d" "https://qapplogin.m.jd.com/cgi-bin/qapp/quick" err_msg=$(cat sc | grep -o "err_msg.*" | cut -d '"' -f3) [ -z $err_msg ] && echo 手机号为$mobile的验证码发送成功 || echo $err_msg } pt(){ read -p "请输入验证码: " smscode ts=$(expr $(date +%s%N) / 1000000) sub_cmd=3 gsign=$(echo -n $appid$qversion$ts"36"$sub_cmd$gsalt | md5sum | cut -d ' ' -f1) d="country_code=$country_code&client_ver=1.0.0&gsign=$gsign&smscode=$smscode&appid=$appid&mobile=$mobile&cmd=36&sub_cmd=$sub_cmd&qversion=$qversion&ts=$ts" l=${#d} curl -s -k -i --raw -o pt --http2 -X POST -H "Host:qapplogin.m.jd.com" -H "cookie:$ck" -H "user-agent:Mozilla/5.0 (Linux; Android 10; V1838T Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.87 Mobile Safari/537.36 hap/1.9/vivo com.vivo.hybrid/1.9.6.302 com.jd.crplandroidhap/1.0.3 ({"packageName":"com.vivo.hybrid","type":"deeplink","extra":{}})" -H "accept-language:zh-CN,zh;q=0.9,en;q=0.8" -H "content-type:application/x-www-form-urlencoded; charset=utf-8" -H "content-length:$l" -H "accept-encoding:" -d "country_code=$country_code&client_ver=1.0.0&gsign=$gsign&smscode=$smscode&appid=$appid&mobile=$mobile&cmd=36&sub_cmd=$sub_cmd&qversion=$qversion&ts=$ts" "https://qapplogin.m.jd.com/cgi-bin/qapp/quick" err_msg=$(cat pt | grep -o "err_msg.*" | cut -d '"' -f3) if [ -z $err_msg ] then pt_key=$(cat pt | grep -o "pt_key.*" | cut -d '"' -f3) pt_pin=$(cat pt | grep -o "pt_pin.*" | cut -d '"' -f3) qlck="pt_key=$pt_key;pt_pin=$pt_pin;" echo 你的JD_COOKIE为 $qlck rm -rf ck sc pt else echo $err_msg fi } cl && ck && sc [ -z $err_msg ] && pt

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.