Skip to content

Instantly share code, notes, and snippets.

触发条件:

  • 不含mobi_app=iphone_comicmobi_app=android_comic(触发web加密),或
  • version6.8.5及以上(触发app加密)

额外需求:

app加密时需要发送m1参数,参数不是有效的加密参数时,返回加密域名下未经加密处理的响应

格式粗看:

文件头为

<?php
/*
A network packet decoder for Danmaku Kagura (東方ダンマクカグラ)
RIP dankagu 2021.8.4-2022.10.28
*/
class DankaguNetEnc {
private $key;
private $keyUint;
private $round;
title placeholder
<?php
// $return为获取到的durl json
// 按照设置 替换upos服务器
if (isset($_COOKIE['upos_server']) && in_array($_COOKIE['upos_server'], ['ks3u','cosu','kodou','bosu','hw','wcsu','xycdn'])) {
$return = preg_replace_callback('/upos\-hz\-mirror([a-z0-9]+?).acgvideo\.com/', function ($m) {
if (in_array($m[1], ['wcs','ks3','cos','kodo','bos'])) {
if (!empty($_COOKIE['upos_server_legacy'])) {
return 'upos-hz-mirror'.$_COOKIE['upos_server_legacy'].'.acgvideo.com';
}
Manual update timer for DataMeter on iOS 13
SBStatusBarStateAggregator hook is freezing SpringBoard
Dump dlst encrypted comic from PFViewer
https://repo.estertion.win/
<?php
require_once __DIR__ . '/Workerman-master/Autoloader.php';
use Workerman\Worker;
use Workerman\Connection\AsyncTcpConnection;
use Workerman\Protocols\Websocket;
use Workerman\Lib\Timer;
$udp1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
socket_set_option($udp1, SOL_SOCKET, SO_BROADCAST, 1);
<?php
// https://store.steampowered.com/app/1044620/
require_once 'UnityBundle.php';
chdir(__DIR__);
$f = fopen('patch.dat', 'r');
$head = fread($f, 1024);
$heads = new MemoryStream($head);
Decreasing Arcaea score!
Build with theos
@esterTion
esterTion / arcaea-frag-award.c
Created April 30, 2019 16:09
pseudo code of fragment award algorithm in Arcaea
void award_fragment() {
int play_award = 0;
int clear_award = 0;
int performance_award = 0;
int first_clear_award = 0;
int partner_award = 0;
int difficulty = Chart->difficulty;
int clear_type = GameResult::getCalculatedClearType(...);