semvec/pypi-packages huggingface dataset:
b64tool 0.1.0
Multi-format encoding/decoding CLI with recursive layer detection for security analysis.
License: MIT
Requires Python: >=3.14
Keywords: base64, cli, cybersecurity, decoding, encoding, forensics, security

```ruby
 ██████╗  ██████╗ ██╗  ██╗████████╗ ██████╗  ██████╗ ██╗
 ██╔══██╗██╔════╝ ██║  ██║╚══██╔══╝██╔═══██╗██╔═══██╗██║
 ██████╔╝███████╗ ███████║   ██║   ██║   ██║██║   ██║██║
 ██╔══██╗██╔═══██╗╚════██║   ██║   ██║   ██║██║   ██║██║
 ██████╔╝╚██████╔╝     ██║   ██║   ╚██████╔╝╚██████╔╝███████╗
 ╚═════╝  ╚═════╝      ╚═╝   ╚═╝    ╚═════╝  ╚═════╝ ╚══════╝
```

* **Multi format encoding/decoding CLI with recursive layer detection for security analysis.** 

## Features

- **Encode/Decode** across Base64, Base64URL, Base32, Hex, and URL encoding formats
- **Auto-detect** encoding format with confidence scoring
- **Peel** recursively through multi-layered encoding (the kind attackers use to evade WAFs and IDS)
- **Chain** multiple encoding steps together for testing obfuscation patterns
- **Pipeline-friendly** output for integration into security workflows

## Quick Start

```bash
uv sync
uv run b64tool encode "Hello World"
uv run b64tool decode "SGVsbG8gV29ybGQ="
uv run b64tool detect "SGVsbG8gV29ybGQ="
uv run b64tool peel "NjQ0ODY1NmM2YzZmMjA1NzZmNzI2YzY0"
uv run b64tool chain "secret" --steps base64,hex,url
```

## Installation

```bash
uv sync --all-extras
```

## Usage

### Encode

```bash
b64tool encode "Hello World"                        # Base64 (default)
b64tool encode "Hello World" --format hex            # Hex
b64tool encode "Hello World" --format base32         # Base32
b64tool encode "hello world&foo=bar" --format url    # URL encoding
echo "piped input" | b64tool encode                  # Stdin
b64tool encode --file secret.txt                     # File input
```

### Decode

```bash
b64tool decode "SGVsbG8gV29ybGQ="                   # Base64 (default)
b64tool decode "48656c6c6f" --format hex             # Hex
b64tool decode "JBSWY3DP" --format base32            # Base32
```

### Detect

Identifies the encoding format with confidence scoring:

```bash
b64tool detect "SGVsbG8gV29ybGQ="
```

### Peel (Recursive Layer Detection)

The signature feature. Automatically peels back multiple encoding layers, the way real malware and attack payloads obfuscate data:

```bash
b64tool peel "NjQ0ODY1NmM2YzZmMjA1NzZmNzI2YzY0"
```

### Chain

Build multi-layered encodings for testing WAF rules, IDS signatures, or understanding obfuscation:

```bash
b64tool chain "alert('xss')" --steps base64,hex,url
```

## Security Context

Encoding layering is a real attack technique:

- **WAF Bypass**: Double-encoding payloads to slip past web application firewalls (OWASP)
- **Malware Obfuscation**: DARKGATE malware uses custom Base64 alphabets with randomized shuffling
- **Data Exfiltration**: Base64-encoded data hidden in DNS queries and HTTP headers
- **IDS Evasion**: Multi-layer encoding to avoid signature-based detection

This tool helps security professionals analyze and understand these patterns.

## License

MIT
iflow-mcp_flyaibox-weather 0.1.0
MCP天气服务器 - 基于Model Context Protocol的天气信息查询服务
License: MIT
Requires Python: >=3.10
Keywords: mcp, model-context-protocol, weather

# iFlow MCP Weather Server

基于 Model Context Protocol (MCP) 的天气服务器，提供天气预警和天气预报查询功能。

## 功能

- **天气预警查询**：获取指定城市ID或经纬度的天气灾害预警信息
- **天气预报查询**：获取指定城市ID或经纬度的天气预报（支持3/7/10/15/30天）

## 安装

```bash
pip install iflow-mcp_flyaibox-weather
```

## 使用

### 环境变量配置

在使用前，需要配置和风天气 API Key：

```bash
export QWEATHER_API_BASE="https://devapi.qweather.com"
export QWEATHER_API_KEY="your-api-key-here"
```

### 启动服务器

```bash
iflow-mcp-flyaibox-weather
```

### 使用 uvx 启动

```bash
uvx iflow-mcp_flyaibox-weather
```

## 工具说明

### get_weather_warning

获取指定位置的天气灾害预警。

**参数：**
- `location` (必需)：城市ID或经纬度坐标。例如：'101010100'（北京）或 '116.41,39.92'

**返回：** 格式化的预警信息字符串

### get_daily_forecast

获取指定位置的天气预报。

**参数：**
- `location` (必需)：城市ID或经纬度坐标
- `days` (可选)：预报天数，可选值为 3、7、10、15、30，默认为 3

**返回：** 格式化的天气预报字符串

## API Key 获取

1. 访问 [和风天气开发服务](https://dev.qweather.com/)
2. 注册账号并创建项目
3. 获取 API Key 和 API Host

## 许可证

MIT License