Skip to content

Instantly share code, notes, and snippets.

View Konano's full-sized avatar
🎲
Relax

Nano Konano

🎲
Relax
  • Tsinghua University
  • AS16-November-08 @ Ingress
  • 02:29 (UTC +08:00)
View GitHub Profile
@Konano
Konano / report_temp.py
Last active October 28, 2020 06:29
report temp
import requests
import http.cookiejar as HC
import re, json, random
user = 2017011000 # need modify
pwd = 'password' # need modify
temp = '36.0'
session = requests.session()
session.cookies = HC.LWPCookieJar(filename='cookies')
# -*- coding: utf-8 -*-
# @Author: NanoApe
# @Date: 2020-12-04 11:40:53
# @Last Modified by: NanoApe
# @Last Modified time: 2020-12-04 14:26:30
import requests, random, re
import http.cookiejar as HC
user = 2017000000
@Konano
Konano / jlpt.js
Last active March 21, 2024 00:08
半自动化抢 JLPT 考场
var monitorSchool = ["北京语言大学", "北京大学", "北京外国语大学"]; // 填写想要的学校
var speedUp = false; // 加速与否
var notNeedConfirm = true; // 预定前是否需要确认
var defaultName = '北京语言大学';
var defaultID = 3;
var skipKDInfo = false; // 跳过 getKDInfo 直接使用默认值提交预定
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
@Konano
Konano / huawei.queryLocateResult.py
Last active April 29, 2024 01:47
利用华为的「寻找设备」功能定位手机
import requests
import http.cookiejar as HC
import re, json
import traceback
MOBILE = {
'deviceid': 'xxxxxx',
'hwid_cas_sid': 'xxxxxx',
'useraccount': 'xxxxxx',
'password': 'xxxxxx'
@Konano
Konano / alert.py
Created September 19, 2022 16:08
Websocket-based notificatons push service for GZCTF platform to Discord.
import time
import _thread as thread
from websocket import WebSocketApp
import websocket
import requests
import json
from log import logger
GAME_ID = 1
@Konano
Konano / cookie.json
Created January 8, 2024 06:37
通过 m.weibo.cn 发布微博