# Loot Webmail Behind Client Certificates

> Pass a mutual-TLS gate and pull PFX, VPN profiles and keys out of the mailbox.

Loot Webmail Behind Client Certificates is a paid AI agent skill on Agensi by NZ1Labs, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $4 (one-time purchase)
- Creator: [NZ1Labs](https://www.agensi.io/creators/nz1labs)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/loot-webmail-behind-client-certificates
- Tags: security, web, pentesting

## About this skill

Internal webmail behind `Require Client Certificate` returns 403 to everyone without a cert — and hands everything to whoever has one. This skill proves the gate (200 with cert, 403 without), drives Roundcube's JSON API with its request token, and gets attachments down.

The detail that blocks most attempts: **attachment downloads need the request token header AND a matching Referer** — without the Referer you get 403 with a perfectly valid session.

## Requires

- Python 3.10+
- requests
- a client certificate with private key
- OpenSSL

## Known limitations

Requires a valid client certificate for the vhost; the mailbox must be reachable from your network position.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Loot Webmail Behind Client Certificates skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Why 403 on the attachment?

Missing Referer. Roundcube requires it alongside the request token.

### How do I know a PFX is real?

It starts 30 82 and parses under openssl pkcs12; check the UPN before using it.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
