shell-obfuscation SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

shell-obfuscation from cha0upup/leoai is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cha0upup/leoai/shell-obfuscation@git:20261001.e4dd21a

Pins git:20261001.e4dd21a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
cha0upup/leoai
Path
ai/src/main/resources/skills/platform/shell-obfuscation/SKILL.md
Versions recorded
4
Latest version
git:20261001.e4dd21a, committed Oct 1, 2026
First version recorded
Jul 22, 2026
Size
6,005 bytes
Repository stars
331
License
GPL-3.0

理解 LeoAI Java/PHP WebShell 与 Java 内存马生成链路,根据用户本次选择的通信、伪装、兼容性和混淆参数生成独立制品。用户要求生成、变体生成、调整兼容性或排查 Shell 无法连接时使用;始终通过 ShellGeneratorTools 完成确定性生成与结果交付。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Shell 生成与结构变体

Shell 是独立生成的制品,不从平台已有 Agent 自动继承配置。只有用户明确要求“匹配/复制某个 Agent”时,才可以查询该指定节点;不得因为平台上只有一个节点、最近操作过某个节点或当前页面选中了节点就读取它。

## 生成模型

一次生成由五部分组成:

1. 运行时与承载方式:Java WebShell、Java 内存马或 PHP WebShell。
2. 用户本次选择的通信参数:传输协议、请求伪装器、响应伪装器。
3. 兼容与结构参数:JSP/JSPX、Java/Servlet 版本、容器、注入器、Packer、输出模式和混淆策略。
4. Java WebShell 的 Core 字节码只保存在服务端 `CoreArtifactStore`,AI 仅设计不含 Payload 的 Wrapper 模板。
5. 结果交付:生成器把完整结果写入 `ShellResultStore`,工具返回 `resultId`、元数据和取回按钮。

不要手写或转述完整生成代码,不要虚构工具未返回的结果。

## 参数确认原则

1. 生成前调用 `getShellGeneratorMeta()` 获取协议、Java/Servlet、注入器、Packer 和混淆步骤等合法值。
2. 调用 `getDisguises()` 获取当前可选请求/响应伪装器;不得用 Agent 查询代替该步骤。
3. 用户未给出的重要生成偏好必须通过 `request_user_input` 询问。Java WebShell 至少确认:
   - 传输协议:`http` 或 `httpchunk`;
   - 请求伪装器与响应伪装器;
   - 文件类型:`JSP` 或 `JSPX`;
   - 是否启用混淆。
4. Java WebShell 必须显式传 `obfuscate=true/false`;启用默认混淆时不传步骤,只有用户指定步骤时才从元数据中选择并保持顺序。
5. Java 版本和 Servlet 命名空间未指定时可使用 `auto`;已知 Jakarta 环境时显式使用 `jakarta`。
6. 类名未指定时留空,让生成器随机生成。不要为了填满参数而猜测用户意图。

## Java WebShell 工作流

1. 调用 `getShellGeneratorMeta()` 和 `getDisguises()`。
2. 对尚未明确的传输协议、请求/响应伪装、JSP/JSPX 和混淆开关调用 `request_user_input`;调用后停止本轮,等待用户回答。
3. 调用 `createJavaCoreArtifact(...)`,只接收 `coreArtifactId`、哈希和契约元数据;不得请求 Core 字节码或 Base64。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cha0upup/leoai/shell-obfuscation@sha256:600f6d4ab18b84d6

The line at the top of this page pins the label git:20261001.e4dd21a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4atokc6j7g73qyoz.svg)](https://markdownregistry.com/a/art_4atokc6j7g73qyoz)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jul 22, 2026 and Oct 1, 2026, about one every 24 days.

versioncommittedcommitsizeaudit
git:20261001.e4dd21a latest2026-10-01 e4dd21a 6,005 BA view · diff
git:20260820.9149adf2026-08-20 9149adf 6,015 BA view · diff
git:20260802.54e5f6a2026-08-02 54e5f6a 5,923 BA view · diff
git:20260722.998d7532026-07-22 998d753 12,887 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6005 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cha0upup/leoai · 331 stars · license GPL-3.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4atokc6j7g73qyoz
GET https://markdownregistry.com/api/v1/resolve?ref=cha0upup/leoai/shell-obfuscation
GET https://markdownregistry.com/api/v1/blob/600f6d4ab18b84d60b1c1a114cf2dca64198d2f514b6907c8f27449c04291c41

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from cha0upup/leoai

analyze-browser-artifacts SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/agent-node/analyze-browser-artifacts/SKILL.md · 发现当前 Agent 用户的浏览器 Profile,对书签、历史、Cookie、表单和登录数据库建立一致性副本,将选定制品采集到当前 AI 工作空间,并使用工作空间命令与文件工具解析为可搜索的结构化报告。当用户要求分析浏览器数据、时间线、访…
git:20261001.e4dd21a · audit A · 331 stars
escalate-linux-privilege SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/agent-node/escalate-linux-privilege/SKILL.md · 在 Linux Agent 立足点上以只读方式发现并排序本地提权候选路径,覆盖 sudo、SUID/SGID、cron、PATH、服务、容器、Docker socket、NFS…
git:20261001.e4dd21a · audit A · 331 stars
hunt-credentials SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/agent-node/hunt-credentials/SKILL.md · 在已授权的 Agent 立足点上定向搜集与红队任务相关的应用、JVM、数据库、SSH、云和服务账号凭据线索,建立“凭据—身份—目标—用途”映射。当需要扩大访问、接近指定业务目标或判断当前主机凭据价值时使用。
git:20261001.e4dd21a · audit A · 331 stars
lateral-move-ssh SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/agent-node/lateral-move-ssh/SKILL.md · 使用已授权且已匹配的 SSH 私钥,对明确指定的内网 Linux 目标执行单跳登录和最小分诊,验证能否获得对任务有价值的新立足点。当红队人员已有目标、用户名、私钥路径并明确要求横向验证时使用;不得用于密码喷洒、用户名猜测或自动多跳。
git:20261001.e4dd21a · audit A · 331 stars
persistence-linux SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/agent-node/persistence-linux/SKILL.md · 在管理员显式启用、演练 ROE 允许且用户精确授权后,为 Linux Agent 目标部署一项与红队任务匹配、可验证、限时且可完整回滚的持久化机制。当需要在既定存续窗口内维持对指定账号或主机的访问,并已提供载荷、路径和清理要求时使用。
git:20261001.e4dd21a · audit A · 331 stars
recon-basic-info SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/agent-node/recon-basic-info/SKILL.md · 对新的 Agent 立足点执行低噪声基础侦察,判断当前权限、业务价值、网络位置、关键服务、容器边界和可用行动入口,并形成红队主机画像。当进入新目标、需要判断立足点价值或尚无可靠侦察摘要时使用。
git:20261001.e4dd21a · audit A · 331 stars
develop-disguise SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/platform/develop-disguise/SKILL.md · 当用户希望在平台侧开发、测试、创建或更新 Disguise 时使用。该 skill 用于生成符合平台约束的 trafficEncodeBody、trafficDecodeBody、headersJson、description…
git:20261001.e4dd21a · audit A · 331 stars
develop-fingerprint SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/platform/develop-fingerprint/SKILL.md · 当用户希望在平台侧编写、生成、完善、检查、保存、更新或删除指纹规则时使用。指纹由 NetworkProbe 采集证据,服务侧使用声明式 rule.match 判定。
git:20260918.5a4ff65 · audit A · 331 stars
exploit-suggest SKILL.md skill
cha0upup/leoai · ai/src/main/resources/skills/platform/exploit-suggest/SKILL.md · 当用户希望基于命中的指纹获取后续核查建议时使用。根据已识别组件、实测版本和独立的安全公告评估适用条件,输出有来源的建议,不直接执行利用动作。
git:20260918.5a4ff65 · audit A · 331 stars
develop-disguise SKILL.md skill
cha0upup/leoai · root/skills/platform/develop-disguise/SKILL.md · 当用户希望在平台侧开发、测试、创建或更新 Disguise 时使用。该 skill 用于生成符合平台约束的 trafficEncodeBody、trafficDecodeBody、headersJson、description…
git:20261001.e4dd21a · audit A · 331 stars
develop-fingerprint SKILL.md skill
cha0upup/leoai · root/skills/platform/develop-fingerprint/SKILL.md · 当用户希望在平台侧编写、生成、完善、检查、保存、更新或删除指纹规则时使用。指纹由 NetworkProbe 采集证据,服务侧使用声明式 rule.match 判定。
git:20260918.5a4ff65 · audit A · 331 stars
exploit-suggest SKILL.md skill
cha0upup/leoai · root/skills/platform/exploit-suggest/SKILL.md · 当用户希望基于命中的指纹获取后续核查建议时使用。根据已识别组件、实测版本和独立的安全公告评估适用条件,输出有来源的建议,不直接执行利用动作。
git:20260918.5a4ff65 · audit A · 331 stars

Every file in cha0upup/leoai

Other files named shell-obfuscation

shell-obfuscation SKILL.md skill
cha0upup/leoai · root/skills/platform/shell-obfuscation/SKILL.md · 理解 LeoAI Java/PHP WebShell 与 Java 内存马生成链路,根据用户本次选择的通信、伪装、兼容性和混淆参数生成独立制品。用户要求生成、变体生成、调整兼容性或排查 Shell 无法连接时使用;始终通过…
git:20261001.e4dd21a · audit A · 331 stars

Browse by kind, by grade A, or by owner.