Skip to content

Instantly share code, notes, and snippets.

View ActiveTK's full-sized avatar
💭
🤔

ActiveTK. ActiveTK

💭
🤔
View GitHub Profile
#![no_std]
#![no_main]
#![allow(non_camel_case_types, non_snake_case, dead_code)]
#[cfg(not(test))]
extern crate wdk_panic;
#[cfg(not(test))]
use wdk_alloc::WdkAllocator;
#[cfg(not(test))]
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import argparse
import json
import os
import re
import subprocess
import sys
import time
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
import math
import os
import hashlib
import shutil
import subprocess
import sys
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# /// script
# requires-python = ">=2.6"
# dependencies = [
# "requests",
# ]
# ///
<?php
/////////////////////////////////////////////////
/*!
* WebTaskmgr / ATK-FM v2.0.1
* 単一のPHPファイルだけで完結する多機能タスクマネージャーです。
* これ一つでプロセス管理からファイル編集までできます!
*
* Copyright 2025 ActiveTK. All rights reserved.
* Released under the MIT License
/*!
* リクエストURIの最大長からブラウザを判定するスクリプト
* (c) 2024 ActiveTK. / 2024/03/17
* PoC: https://www.activetk.jp/public/browser_max_reqline.html
*/
const fetch_host = "https://no-such-a-doma.in/?browser_max_reqline=";
const Chrome_Max_Length = 2097152 - fetch_host.length;
const Firefox_Max_Length = 1048572 - fetch_host.length;
async function try_fetch(url) {

マトリョーシカURL短縮

面白いアイディアを見つけたのでやってみる。

> 短縮URLサービスで短縮したURLを別の短縮URLサービスで短縮…というマトリョシカをしてみたい

https://x.com/rin_montblank/status/1960092637115088911

実際に作ったURL

#!/usr/bin/env python3
import os, sys, signal, subprocess, threading, time, shutil, datetime, urllib.request, urllib.parse, mimetypes, random, string, glob, tarfile, tempfile, codecs, pty, select, re, fcntl, struct, termios
# 機能
#
# これを実行するだけでGPU(複数枚でもOK)でBitcoin Puzzleの71番を解き始められる
# 結果はTelegramで取得できる(一定周期ごとにサーバー情報を送信 & パズル完了の時にも情報送信)
# GPUだけ酷使しててCPUリソースはほぼ使わないのは可哀そうないのでとりあえずmkp224oでOnionのバニティも同時に走らせてみる
# つかいかた
@ActiveTK
ActiveTK / workflow-rsync.yml
Last active March 17, 2024 12:29
rsyncでファイルをサーバーに同期するActions用のスクリプト
# rsyncでファイルをサーバーに同期するActions用のスクリプト
# ユーザー名とsshのシークレットキー及び複製先のパスが必要
# (c) 2024 ActiveTK.
name: Sync Files to Server
on:
push:
branches:
- main

Keybase proof

I hereby claim:

  • I am activetk on github.
  • I am activetk (https://keybase.io/activetk) on keybase.
  • I have a public key ASBrh-wQMSMW2wuJhG6M7H_Ir5qv3L5zjId86lwpTMvgnAo

To claim this, I am signing this object: