Skip to main content
Glama

set_credential_harvester

Clone a website and capture credentials from phishing forms, enabling authorized security testing and user awareness assessments.

Instructions

Clone a website and capture credentials submitted via the phishing page.

WARNING: This is a destructive operation intended for authorized phishing simulations and social engineering security assessments ONLY. Requires explicit human confirmation before execution.

Uses SET's Website Attack Vectors → Credential Harvester → Site Cloner module via seautomate. The tool clones the specified URL and starts a local HTTP server that captures form submissions (credentials) and redirects victims to the legitimate site.

Args: target_url: URL of the site to clone (must be in tengu.toml allowlist). lhost: Local IP address that will host the cloned page and receive captured credentials (the POST-back address embedded in the cloned form). listen_port: Local TCP port for the credential capture server (default: 80). timeout: Execution timeout in seconds (default: from config).

Returns: Dict with tool name, target_url, lhost, listen_port, returncode, output (truncated to 5000 chars), errors (truncated to 2000 chars), and success flag.

Note: REQUIRES HUMAN CONFIRMATION. This tool starts an active phishing server. Only execute with explicit written authorization from the target organization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lhostYes
timeoutNo
target_urlYes
listen_portNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full responsibility and does an excellent job. It warns that the operation is 'destructive,' starts an 'active phishing server,' captures credentials, redirects victims, and requires explicit written authorization, giving the agent complete awareness of impacts and prerequisites.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (summary, warning, args, returns, note) and each part contributes value. The safety warning is repeated twice ('WARNING' and the note), which is slightly redundant but reinforces the critical human-confirmation requirement; otherwise the length is justified.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex, dangerous tool with no annotations, this description is complete. It covers safety constraints, behavioral mechanics, parameter semantics, return values, and execution prerequisites, leaving no major ambiguity for an agent selecting or invoking the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% but the description fully compensates by explaining each argument: target_url must be in the allowlist, lhost is the POST-back address, listen_port defaults to 80, and timeout defaults from config. This adds critical meaning beyond the raw schema types.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Clone a website and capture credentials submitted via the phishing page.' It specifies the resource (website clone) and action (credential capture), and distinguishes it from sibling tools like set_payload_generator and set_qrcode_attack by referencing the SET Credential Harvester → Site Cloner module.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly restricts usage to 'authorized phishing simulations and social engineering security assessments ONLY' and requires 'explicit human confirmation before execution.' It provides clear context for when to use, though it does not explicitly name alternative tools or state when not to use it beyond the authorization requirement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rfunix/tengu'

If you have feedback or need assistance with the MCP directory API, please join our Discord server