PayPay のリバースエンジニアリングに関するメモたち
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM I don't know why this doesn't work: curl -o "%UserProfile%\AppData\LocalLow\VRChat\VRChat\Tools\yt-dlp.exe" -L https://github.com/yt-dlp/yt-dlp/releases/download/2024.10.22/yt-dlp.exe | |
curl -o "%Temp%\yt-dlp.exe" -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe | |
taskkill /f /t /im yt-dlp.exe | |
move /y "%Temp%\yt-dlp.exe" "%UserProfile%\AppData\LocalLow\VRChat\VRChat\Tools\yt-dlp.exe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
tailscale: | |
image: tailscale/tailscale:latest | |
environment: | |
- TS_HOSTNAME=mitmproxy | |
- TS_STATE_DIR=/var/lib/tailscale | |
- TS_USERSPACE=false | |
volumes: | |
- ./tailscale:/var/lib/tailscale | |
- /dev/net/tun:/dev/net/tun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import pyperclip | |
def parse_result(contents): | |
prompt = income = life = None | |
read_next_line_1 = read_next_line_2 = False | |
for line in contents.split('\n'): | |
line = line.strip() | |
if line.startswith('プロンプト: '): | |
prompt = line[7:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt install ffmpeg python3-pip python3-tk freeglut3-dev | |
git clone https://github.com/Anjok07/ultimatevocalremovergui.git | |
cd ultimatevocalremovergui | |
SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip3 install -r requirements.txt | |
python3 UVR.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
foreach (glob('*.nfc') as $filename) { | |
$blocks = array_filter(yaml_parse_file($filename), fn (string $key) => str_starts_with($key, 'Block '), ARRAY_FILTER_USE_KEY); | |
ksort($blocks, SORT_NATURAL); | |
file_put_contents("$filename.bin", hex2bin(str_replace(' ', '', implode('', $blocks)))); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=navigator.geolocation,b=()=>Math.random()*2147483647,c=null,a&&(a.getCurrentPosition=(d,e)=>{confirm(`Do you want to allow ${location.hostname} to access your location?`)?d({coords:{latitude:b(),longitude:b(),altitude:c,accuracy:b(),altitudeAccuracy:c,heading:c,speed:c},timestamp:Date.now()}):e({code:1,message:"User denied geolocation prompt"})}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(empty($argv[1])) exit("Usage: php $argv[0] <target phar>"); | |
if(!file_exists($argv[1]) || !is_file($argv[1])) exit("File \"$argv[1]\" is not found"); | |
if(ini_get("phar.readonly")) exit("Set phar.readonly to false"); | |
if(!function_exists("yaml_parse_file")) exit("YAML extension is not installed"); | |
if(!file_exists(".poggit.yml")) exit(".poggit.yml is not found, skipped"); | |
file_put_contents("virion.php", file_get_contents("https://gist.githubusercontent.com/Nerahikada/a1fbb18c6fe4b2e10bb7baa7de9d0710/raw/virion.php")); |
- OCIで無料で使えるサーバーに、SoftEther VPN Serverを入れてみる
- OS: Ubuntu 20.04.4 LTS
SoftEther VPN のダウンロード から「SoftEther VPN (Freeware)」→「SoftEther VPN Server」→「Linux」→「CPU(インスタンスに合わせて選択)」と進み、最新のファイルをダウンロードして解凍する
wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.39-9772-beta/softether-vpnserver-v4.39-9772-beta-2022.04.26-linux-x64-64bit.tar.gz
tar zxvf softether-vpnserver-v*.tar.gz
ls -la vpnserver/ #解凍されているか確認
すでに adb
, fastboot
などのコマンドは使用できる前提として進める。インストール方法についてはここでは解説しない。
早速ここから障壁にぶち当たる。Huawei はブートローダーをアンロックするためのコードの提供を終了しており、公式にはブートローダーをアンロックする方法が存在せず、現在は有料ソフトに頼るしかない状況になっているらしい。
私はすでにブートローダーをアンロックしていたため、ここではその手順について記載することはできない。別の解説記事などを参照してほしい。
2022年にHUAWEIスマホにROMを焼く技術:
NewerOlder