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
| Name | Required | Description | Default |
|---|---|---|---|
| lhost | Yes | ||
| timeout | No | ||
| target_url | Yes | ||
| listen_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||