Skip to content
Projects

crazyMarky/pentest-skills has 361 GitHub stars and 45 forks. GitHot measured +3 stars in 24 hours. Last checked 2026-11-10 02:13 UTC. Last push 2026-06-04.

How these counts are measured

๐Ÿ’ฌ ๐Ÿš€ ๅ‘Šๅˆซ็น็ๅ‘ฝไปค่กŒ๏ผŒ็”จ่‡ช็„ถ่ฏญ่จ€้ฉฑๅŠจไธ“ไธš็บงๆธ—้€ๆต‹่ฏ•ใ€‚ โšก ่ฎฉๅฎ‰ๅ…จๆต‹่ฏ•ไปŽๆœชๅฆ‚ๆญค็ฎ€ๅ•ใ€้ซ˜ๆ•ˆใ€‚Forget complex command lines. ๐Ÿ›ก๏ธ Professional penetration testing, powered by natural language.

Measured star growth

in 24h
+3
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

Pentest-Skills

A collection of modular penetration testing skills designed for AI CLI tools (Claude Code / Gemini CLI).

License

English | ็ฎ€ไฝ“ไธญๆ–‡


Overview

๐Ÿ’ก Core Philosophy

Forget complex command lines. Complete professional penetration testing with natural language.

Simply describe your testing objectives, and Claude Code will automatically select the right tools, execute commands, and analyze results.


Pentest-Skills provides atomic-level capabilities for penetration testing workflows. Each skill contains:

  • Knowledge Documentation - Command templates and tool usage guides
  • Helper Scripts - Python/Bash scripts for automation
  • Reference Docs - Comprehensive tool documentation
  • Asset Files - Wordlists, payloads, and resources

Quick Start

1๏ธโƒฃ Install Claude Code

Before using the skills from this project, you need to install Claude Code or another AI Coding tool. Install using the official script:

# macOS, Linux, WSL:
curl -fsSL https://claude.ai/install.sh | bash

# Windows PowerShell:
irm https://claude.ai/install.ps1 | iex

# Windows CMD:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

After installation, verify:

claude --version

If a version number is displayed, the installation is successful!

Claude Code Official Installation Guide: https://code.anthropic.com/docs Claude Code Beginner Tutorial: https://www.runoob.com/claude-code/claude-code-install.html Skills Getting Started Tutorial: https://www.runoob.com/claude-code/claude-agent-skills.html

2๏ธโƒฃ Install Skills

# git clone the project to local
git clone https://github.com/crazyMarky/pentest-skills.git

# Enter the project directory
cd pentest-skills

Copy skills to your .claude/skills/ directory:

# Copy all skills to your project's .claude/skills/ directory
cp -r * ~/.claude/skills/

Restart your IDE for the skills to be loaded.

3๏ธโƒฃ Start Testing

Open Claude Code and describe your testing needs in natural language:

You: Scan localhost for open ports and analyze service versions

Simply describe in natural language, and the port scanning skill will be triggered automatically. The scan results will automatically analyze service versions.

That's it!


Skills

Information Gathering (Recon)

Skill Description Tools
recon-port-scan Port scanning and service identification nmap, masscan, rustscan
recon-subdomain Subdomain enumeration and DNS reconnaissance subfinder, amass, dnsx
recon-dir-scan Directory and file enumeration ffuf, gobuster, feroxbuster
recon-fingerprint Web fingerprinting and WAF detection wafw00f, whatweb, nuclei, httpx

Exploitation

Skill Description Tools
exploit-sqli SQL injection detection and exploitation sqlmap, manual injection techniques
exploit-xss Cross-site scripting detection (Reflected/Stored/DOM/Blind) XSStrike, Dalfox, XSpear
exploit-lfi Local file inclusion and directory traversal Path traversal payloads, log injection
exploit-file-download Unsafe file download and path traversal Encoding bypass, sensitive file scanning

โœจ Why Choose Claude Code + Pentest-Skills?

Traditional Approach Claude Code Approach
Need to memorize many tools and parameters Describe needs in natural language
Manually combine multiple tools AI automatically selects optimal toolchain
Manually analyze raw output AI automatically generates analysis reports
Requires expertise Lowers barrier to entry
Time-consuming and error-prone Fast and accurate

In short: You discover problems, AI does the work.

Results Showcase

Port Scan Report Example

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘              Nmap Scan Analysis Report                 โ•‘
โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
โ•‘ Target: 192.168.1.100                                 โ•‘
โ•‘ Scan Time: 2025-02-07 12:30:45                        โ•‘
โ•‘ Open Ports: 3                                          โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

PORT    STATE SERVICE  VERSION
22/tcp  open  ssh      OpenSSH 8.2p1 Ubuntu
80/tcp  open  http     nginx 1.18.0
443/tcp open  https    nginx 1.18.0

Potential Risks:
  [!] SSH may be vulnerable to weak password attacks
  [!] HTTP can be upgraded to HTTPS
  [!] Recommended to check SSL certificate configuration

Subdomain Discovery Report Example

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘         Subdomain Enumeration Report                   โ•‘
โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
โ•‘ Target Domain: example.com                             โ•‘
โ•‘ Discovery Time: 2025-02-07 14:20:33                   โ•‘
โ•‘ Total Subdomains: 1243                                 โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

High-Value Targets:
  โ˜… admin.example.com โ†’ 192.168.1.10 (Admin Panel)
  โ˜… api.example.com โ†’ 192.168.1.20 (API Endpoint)
  โ˜… dev.example.com โ†’ 192.168.1.30 (Development Environment)

Cloud Services Identified:
  - AWS: 234 subdomains
  - Cloudflare: 456 subdomains
  - Azure: 89 subdomains

Directory Scanning Report Example

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘         Directory Scanning Report                      โ•‘
โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
โ•‘ Target: http://example.com                             โ•‘
โ•‘ Scan Time: 2025-02-07 16:45:12                        โ•‘
โ•‘ Directories Found: 156                                 โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

High-Value Discoveries:
  [200] /admin           โ†’ Admin Panel (authentication required)
  [200] /api/v1          โ†’ API Documentation
  [200] /uploads         โ†’ File Upload Directory
  [403] /.git            โ†’ Git Repository Exposure Risk
  [403] /backup          โ†’ Backup Directory (may contain sensitive files)

Status Code Distribution:
  200: 23 (accessible)
  301: 45 (redirects)
  403: 67 (forbidden - may contain sensitive information)
  404: 14899 (not found)

Recommendations:
  [!] Check /.git and /.svn for source code disclosure
  [!] /uploads directory may have arbitrary file upload vulnerability
  [!] /admin should use strong passwords and 2FA

Skill Structure

skill-name/
โ”œโ”€โ”€ SKILL.md              # Core documentation (AI trigger)
โ”œโ”€โ”€ scripts/              # Helper scripts
โ”œโ”€โ”€ references/           # Detailed documentation
โ””โ”€โ”€ assets/               # Wordlists and resources

Requirements

Each skill documents its required tools. Common requirements:

  • nmap - Port scanning
  • subfinder - Subdomain enumeration
  • dnsx - DNS resolution
  • ffuf - Directory and file fuzzing
  • (Optional) masscan, amass, rustscan, dirsearch, gobuster, etc.

Installing Tools

# Install subdomain enumeration tools
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest

# Install directory scanning tools
go install -v github.com/ffuf/ffuf/v2/cmd/ffuf@latest

# Install port scanning tools
# Ubuntu/Debian
sudo apt install nmap

# macOS
brew install nmap

FAQ

Q: Are these tools safe? A: All scripts are open source for your review. The tools contain no malicious functionality.

Q: Can I use this in production? A: Only for authorized security testing. Unauthorized testing is illegal.

Q: How do I protect my privacy? A: Be careful with target information and don't share test results publicly.

Q: Must I use Claude Code? A: Claude Code is recommended for the best experience, but other compatible AI CLI tools are also supported.

License

Apache License 2.0 - see LICENSE for details.

Contributing

Contributions are welcome! Please:

  1. Follow the existing skill structure
  2. Include comprehensive documentation
  3. Test scripts before submitting
  4. Use English for SKILL.md (AI triggering)

โš ๏ธ Legal Disclaimer & Terms of Use

This toolkit is intended for authorized security testing and educational purposes only.

Before using these tools, you must:

  • Obtain written permission from the target system owner
  • Comply with all applicable laws and regulations in your jurisdiction
  • Use only for authorized penetration testing, CTF competitions, security research, or authorized testing
  • Take full responsibility for your actions and consequences

Prohibited Activities

  • Scanning or attacking any system without authorization
  • Destructive testing on production environments
  • Any illegal or malicious activities

Important Notice: Unauthorized computer system access may violate criminal laws and could result in prosecution.


By using this toolkit, you agree to the above terms. If you do not agree, do not use.

Explore related projects