Skip to content

Instantly share code, notes, and snippets.

View fuzzbuster's full-sized avatar
:octocat:
Studying Ninjutsu hard

N1nJi4.X fuzzbuster

:octocat:
Studying Ninjutsu hard
  • Pentest Ninja Dojo
  • 木ノ葉の里
View GitHub Profile
@fuzzbuster
fuzzbuster / SKILL.md
Last active April 20, 2026 12:25
java-deobfuscator via jadx-mcp-ai or recaf scripting api
name java-deobfuscator
description Java deobfuscator using jadx-ai-mcp in jadx-gui. Rename obfuscated classes/methods/fields/packages/variables. Invoke when user wants to deobfuscate, analyze, or rename Java artifacts in jadx-gui.

JADX Java Deobfuscator

Java deobfuscation tool based on jadx-ai-mcp.

Core Goal

@fuzzbuster
fuzzbuster / code_agent_setup.sh
Created March 4, 2026 10:02
Quickly setup Codex and Claude Code on macOS or Debian based Linux
#!/usr/bin/env bash
#
# macos_ai_bootstrap.sh - Claude Code + Codex 一鍵安裝與配置腳本(macOS)
#
# 目標:
# 1) 安裝 claude-code / codex(優先 Homebrew cask)
# 2) 配置 API Key 與可選 Base URL
# 3) 為 Codex 生成可管理的自訂 provider/profile
#
# 設計原則:可重複執行、盡量幂等、不覆蓋使用者既有未託管配置
@fuzzbuster
fuzzbuster / macos_bootstrap.sh
Last active April 13, 2026 15:47
bootstrap.sh - macOS 輕量終端開發環境一鍵安裝腳本
#!/usr/bin/env bash
#
# bootstrap.sh - macOS 輕量終端開發環境一鍵安裝腳本
# 包含:Ghostty + zellij + yazi + lazygit + fastfetch + Neovim/LazyVim + 現代工具 + oh-my-zsh
# 語言環境:Python(uv/pipx)、Go、Rust(rustup)、Java(Liberica 20 Full+JavaFX)、Node(pnpm+bun)、Ruby
#
# 用法:curl -fsSL https://gist.githubusercontent.com/fuzzbuster/a117689823ba87c27437a44129253dcb/raw/1b2e930ad152a7ceb9fbb7df581b304e2d1685a0/macos_bootstrap.sh | bash
# 或 bash bootstrap.sh
#
# 可重複執行,不會重複安裝或破壞既有配置
# Minimal merge of oh-my-zsh with Kali-specific features
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$HOME/go/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
# Oh-my-zsh configuration
# Use custom Kali prompt
# ZSH_THEME=""
plugins=(
@fuzzbuster
fuzzbuster / update-node-20-lts.sh
Created September 9, 2025 02:58
This script will ensure all your global CLI tools are updated alongside Node.js and npm, minimizing compatibility issues after the version upgrade.
#!/bin/bash
set -e
# Color output functions
info() { echo -e "\033[1;34m$1\033[0m"; }
success() { echo -e "\033[1;32m$1\033[0m"; }
error() { echo -e "\033[1;31m$1\033[0m"; exit 1; }
# --------------------------
# Detect nvm installation (optimized for oh-my-zsh)
#!/bin/bash
set -e # Exit immediately if any command fails
# 1. Update system package index
echo "=== Updating system package index ==="
sudo apt-get update -y
# 2. Install basic compilation tools and dependencies (via system repositories)
echo -e "\n=== Installing basic compilation tools ==="
sudo apt install -y build-essential clang llvm libc6-dev linux-libc-dev git
#!/bin/bash
# Purpose: Send port knocking sequences to open/close SSH access (with pre-checks)
# Usage: ./knock_ssh_client.sh <server_ip> <action>
# Actions: "open" (allow SSH), "close" (block SSH after use)
# Match these with the server's OPEN_PORTS and CLOSE_PORTS
OPEN_SEQ="10001 10002 10003"
CLOSE_SEQ="10003 10002 10001"
# Check arguments
#!/bin/bash
# Ensure the script is executed with root privileges
if [ "$(id -u)" -ne 0 ]; then
echo "Error: Please run with root privileges (sudo $0)" >&2
exit 1
fi
# Configuration variables
IP_FILE="ips.txt"
#!/bin/bash
# Check if running as root
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run as root" >&2
exit 1
fi
# Prompt for custom workflow
echo "Do you want to customize user creation and SSH key setup? (y/n)"
@fuzzbuster
fuzzbuster / console_print.js
Last active February 14, 2025 02:17
dev console arts
// <script>
// 消除控制台打印
var HoldLog = console.log;
console.log = function () {};
let now1 = new Date();
queueMicrotask(() => {
const Log = function () {
HoldLog.apply(console, arguments);
};
//在恢复前输出日志