davila7 avatar

SMTP Penetration Testing

This is a pentesting template for running security assessments against SMTP servers. It covers the standard attack surface: banner grabbing, user enumeration, open relay testing, brute force authentication, and misconfigurations. You get Claude prompts that walk through using nmap scripts, netcat for manual SMTP commands, and hydra for credential attacks. Two security audit tools flag it, which makes sense since it's literally pentesting code. Use this when you're doing authorized security testing on mail servers and want Claude to guide you through the methodology. It's practical if you know what you're doing, but don't run this against infrastructure you don't own.

GitHub stars
30.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill 'SMTP Penetration Testing' --agent claude-code

Installs into .claude/skills of the current project.

Files

SMTP Penetration Testing

Purpose

Conduct comprehensive security assessments of SMTP (Simple Mail Transfer Protocol) servers to identify vulnerabilities including open relays, user enumeration, weak authentication, and misconfiguration. This skill covers banner grabbing, user enumeration techniques, relay testing, brute force attacks, and security hardening recommendations.

Prerequisites

Required Tools

# Nmap with SMTP scripts
sudo apt-get install nmap

# Netcat
sudo apt-get install netcat

# Hydra for brute force
sudo apt-get install hydra

# SMTP user enumeration tool
sudo apt-get install smtp-user-enum

# Metasploit Framework
msfconsole

Required Knowledge

  • SMTP protocol fundamentals
  • Email architecture (MTA, MDA, MUA)
  • DNS and MX records
  • Network protocols

Required Access

  • Target SMTP server IP/hostname
  • Written authorization for testing
  • Wordlists for enumeration and brute force

Outputs and Deliverables

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Backend & APIs, Testing & QA, Security
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1exboys avatarevotown-handoffexboys/evotownQueue a cross-agent or cross-team handoff through the Evotown control plane.0skills.sh installs
2FISHers6 avatardoctorFISHers6/clawBro诊断 ClawBro Gateway 配置和运行问题,逐项检查并给出修复建议。0skills.sh installs
3heshengtao avatarsap-extension-creatorheshengtao/super-agent-partyCreate Super Agent Party (SAP) extensions. This skill should be used when users want to create, build, or scaffold a new extension for Super Agent Party - inclu0skills.sh installs
4hoangsonww avatarmcp-maintainerhoangsonww/claude-code-agent-monitorOperate and maintain the local MCP server for this repository. Use for MCP tool updates, policy-guard changes, host configuration, and MCP runtime troubleshooti0skills.sh installs
5hoangsonww avatarship-featurehoangsonww/claude-code-agent-monitorImplement a feature safely end-to-end in this repository. Use when adding or changing functionality across backend, frontend, or MCP with required verification 0skills.sh installs
6huangjia2019 avatarquality-checkinghuangjia2019/claude-code-engineeringValidate API documentation against quality standards. Use when you need to verify generated docs are complete and correct.0skills.sh installs