CTF思路
点击放大

A one-shot macOS setup script for cybersecurity professionals, CTF players, and bug bounty hunters.
> For authorized testing, labs, and CTFs only. Run this only on machines you own or ha written permission to test.
---
Bootstraps a fresh Mac into a fully-equipped security workstation in a single command. Handles e — package managers, CLI tools, GUI apps, Go/Python/Rust toolchains, wordlists, OSINT tools, and shell config — so you can focus on hacking, not setup.
v2.0.0 reorganizes e under ~/pentester/ for a clean workspace, adds a full OSINT suite, Blue Team/DFIR tooling, cloud security tools, reverse engineering tools, wireless tools, and fixes a pre-download bug reported by the community.
---
| Requirement | Notes |
|---|---|
| macOS | Tested on macOS 13 and later |
| Apple Silicon or Intel | Script handles both Homebrew paths automatically |
| Admin access | Needed for Homebrew and Xcode CLT |
| Internet connection | Required throughout |
---
Or clone the repo first:
---
E li ~/pentester/ — no more scattered folders across your home directory.
---
git · wget · curl · jq · tmux · fzf · ripgrep · bat · neovim · htop · btop · asciinema · glownmap · masscan · amass · subfinder · httpx · nuclei · ffuf · gobuster · feroxbuster · thehar · recon-ng · dnsrecon · fierce · shodan · exiftool · spiderfootsherlock · holehe · maigret · phoneinfoga · h8mail · ghunt · osintgram · maltegosqlmap · nikto · wafw00f · dalfox · jwt_tool · tplmap · arjun · smuggler · corscanner · zaproxy · XSStrike · LinkFinder · SecretFinder · crlfuzz · bxsshashcat · john-jumbo · hydra · hcxtools · hcxdumptool · bitwarden-cliimpacket · e · kerbrute · BloodHound · CrackMapExec · NetExec · certipy-ad · pypykatz · Responder · mitm6 · ldapdomaindump · coercer · enum4linux-ng · smbmap · windapsearchSliver C2 · Metasploit · chisel · ligolo-ng · pwntools · LinPEAS/WinPEAS · SharpCollectionGhidra · radare2 · Cutter · binwalk · pwndbg · ROPgadget · YARA · capstone · unicorn · floss · capa · Zeek · Suricata · chainsaw · hayabusa · sigma · YARA-Rules · oletools · pdfidawscli · azure-cli · Pacu · ScoutSuite · CloudFox · ROADtools · TeamFiltration · s3scanner · enumerate-iamaircrack-ng · hcxdumptool · bettercapBurp Suite · Caido · Wireshark · Ghidra · Cutter · BloodHound · Maltego · Proxyman · Docker · Obsidian · Firefox · Tor Browser · Mullvad VPN · iTerm2 · VS Code · Bitwardenimpacket · bloodhound-python · certipy-ad · netexec · pypykatz · · oletools · pacu · scoutsuite · sherlock · holehe · maigret · pwntools · mitmproxy · dirsearch · arjun · jwt_tooltomnomnom suite · Full projectdiscovery suite · dalfox · puredns · ligolo-ng · cloudfox · hayabusa · ffuf and moreSecLists → ~/pentester/wordlists/SecListsassetnote wordlists → ~/pentester/wordlists/assetnotePayloadsAllTheThings → ~/pentester/tools/PayloadsAllTheThingsnuclei-templates · PEASS-ng · SharpCollection · sigma · YARA-Rules · Responder · PowerSploit and more---
| Alias | Description |
|---|---|
| pentester | cd ~/pentester |
| ctf | cd ~/pentester/labs |
| tools | cd ~/pentester/tools |
| wordlists | cd ~/pentester/wordlists |
| osint | cd ~/pentester/osint |
| reports | cd ~/pentester/reports |
| dumps | cd ~/pentester/memory-dumps |
| pcaps | cd ~/pentester/pcaps |
| nmapfull | nmap -sC -sV -p- --open |
| nmapquick | nmap -sC -s 1000 |
| rustscan | rustscan --ulimit 5000 |
| pyserver | python3 -m http.server 8000 |
| myip | Show your public IP |
| ports | List all listening ports |
| vol3 | Run from its venv |
| sherlock | Run sherlock username OSINT |
| reload | Reload your shell config |
---
---
| Tool | Reason | Alternative |
|---|---|---|
| Mimikatz | Windows-only binary | Use pypykatz on macOS for offline analysis |
| Havoc C2 | Requires manual Linux build | Use Sliver C2 (auto-installed) |
| Nessus | Must install directly | tenable.com/downloads/nessus |
| Flameshot | Linux-oriented | Shottr, CleanShot X, or built-in macOS screenshots |
---
The script uses set -Eeuo pipefail with per-tool error handling. If a single tool fails, it warns and continues. Check for [!] warnings when done.
---
MIT — use freely, contribute back.
---
This script is intended for legal, authorized use only — your own machines, home labs, and CTF en. The authors are not responsible for misuse.
开发语言:Shell
Star 数:128
该项目属于CTF思路方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Full macOS bootstrap for cybersecurity, CTF & bug bounty展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | mac-cyber-bootstrap - 针对网络安全、CTF和漏洞的完整macOS引导 |
| 所属分类 | CTF思路 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 23:51:36 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 475 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |