Skip to main content

The Ninja's Choice for Web Operations

Project description

    ___   ________  ___ _      _____
   / _ | /  _/_  / / _ | | /| / / _ |
  / __ |_/ /  / /_/ __ | |/ |/ / __ |
 /_/ |_/___/ /___/_/ |_|__/|__/_/ |_|

Aizawa

Aizawa is a command-line tools designed to execute commands through HTTP header, enabling it to circumvent Web Application Firewalls (WAF) and Intrusion Detection Systems (IDS). Additionally, it is capable of bypassing disable_function restrictions, making it a tool of interest for security researchers and penetration testers. The name "Aizawa" is derived from Aizawa Ema, a virtual YouTuber associated with the Virtual Esport Project (VSPO), a group known for its focus on esports and virtual content creation.

Python License Version

Buy Me a Coffee Traktir Saya Kopi

Changelogs Prerequisites Installation Features License Disclaimer

[!WARNING] The tools is optimally compatible with PHP versions below 8.2. Users may experience connectivity issues when attempting to use this tool with PHP environments running version 8.2 or higher. This is a known issue that is currently being addressed in future updates.

[!IMPORTANT] The shell itself is moved to aizawa-webshell repository. This repository is now dedicated to the client.

Changelogs

Major Changes

Security Enhancements

  • Improved XOR encryption with random IV (initialization vector) per message
  • Enhanced protection against pattern analysis and replay attacks
  • Maintains backward compatibility with PHP 5.3 - 8.1

Infrastructure Overhaul

  • Migrated from Poetry to uv for faster, more reliable dependency management
  • Restructured to professional src-layout (src/aizawa/) for better package distribution
  • Updated build system to use hatchling backend

Python Modernization

  • Upgraded to Python 3.13+ with modern language features
  • Implemented from __future__ import annotations throughout codebase
  • Adopted PEP 585 type hints (type[...] instead of Type[...])
  • Utilized Self type hint (PEP 673) for better type inference
  • Converted terminal colors to StrEnum (PEP 663) for type safety
  • Added TYPE_CHECKING blocks for optimized runtime imports

Code Quality & Type Safety

  • Achieved 100% type coverage with mypy strict mode (0 errors)
  • Configured ruff with comprehensive ruleset (all checks enabled)
  • Added complete Google-style docstrings for all public APIs
  • Reorganized code into logical modules (core, http, utils)
  • Enhanced error messages with better formatting and clarity

API Improvements

  • Renamed classes for better clarity:
    • ExecutorCommandExecutor
    • ValidatorInputValidator
    • HttpClientAsyncHttpClient
    • display_banner()render_banner()
    • ColorsTerminalColors
  • Updated httpx client to use modern proxy parameter (was proxies)
  • Improved type hints on all public methods and functions

License Change

  • Changed from CC-BY-SA-4.0 to GNU GPL-3.0-or-later
  • Provides better protection for open-source contributions
  • Ensures derivative works remain free and open

Prerequisites

  • Python 3.13+
  • uv
  • httpx
  • validators

Installation

Release

# Install using pip
pip install aizawa

Development

# Clone the repository
git clone https://github.com/elliottophellia/aizawa

# Change directory
cd aizawa

# Install dependencies using uv
uv sync

# Build the package
uv build

# Install the package
pip install dist/aizawa-3.0.0-py3-none-any.whl

Usage

# Basic usage
aizawa --help

# With arguments
aizawa -u <URL> -k <KEY>

# With proxy
aizawa -u <URL> -k <KEY> -p <PROXY_URL>

Command Line Arguments

  • -u, --url: tools URL
  • -k, --key: tools encryption key
  • -p, --proxy: Proxy URL (e.g., http://127.0.0.1:8080)
  • -v, --version: Show version information

Features

  • XOR encrypted command transmission
  • Proxy support
  • Async HTTP requests
  • Multiple execution methods
  • Enhanced error handling
  • WAF/IDS evasion
  • disable_function bypass
  • Secure communication protocol

License

This project is licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later). For more information, please refer to the LICENSE file included in this repository.

Disclaimer

This project is intended solely for educational and research purposes. The author does not endorse, condone, or encourage any unauthorized or illegal use of this tool. Users are solely responsible for ensuring that their actions comply with all applicable laws and regulations. The author shall not be held liable for any misuse, damage, or consequences arising from the use of this software.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aizawa-3.0.0.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aizawa-3.0.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file aizawa-3.0.0.tar.gz.

File metadata

  • Download URL: aizawa-3.0.0.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aizawa-3.0.0.tar.gz
Algorithm Hash digest
SHA256 a07937d79116da6088227b930df2d64463fb144ad8affbb6619efbec8401964d
MD5 1e265d4216b2f14df8f5d0546065192d
BLAKE2b-256 f788a0557cd02d8223fa48051308cbd8a3d239fdb7fcdbf7b8b8784f2d24f2ba

See more details on using hashes here.

File details

Details for the file aizawa-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: aizawa-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aizawa-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3debaacdaccfb00e13f1584c888a16bdfd7d10af56ed97a650613a4b67d5562f
MD5 9e17f48973c48b60548db5ebc7e3e4ac
BLAKE2b-256 da67abe4e16d34a6c1b23f133deaaf674447060ed724abdd8e4fd8101e020924

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page