AutoRecon/scripts/install-tools-macos.sh

44 lines
1.7 KiB
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# macOS Tool Installation Script
# Usage: ./scripts/install-tools-macos.sh
install_macos_tools() {
echo "📦 Installing comprehensive security toolkit for macOS..."
if command -v brew >/dev/null 2>&1; then
echo "🍺 Using Homebrew to install security tools..."
echo "Installing core network tools..."
brew install nmap curl wget git gobuster nikto whatweb sslscan || echo "⚠️ Some core tools failed"
echo "Installing enumeration tools..."
brew install feroxbuster redis-tools smbclient || echo "⚠️ Some enum tools failed"
echo "Installing additional security tools..."
brew install hydra john-jumbo hashcat sqlmap exploitdb binwalk exiftool || echo "⚠️ Some additional tools failed"
echo "Installing Python security tools via pip..."
python3 -m pip install impacket crackmapexec enum4linux-ng 2>/dev/null || echo "⚠️ Some Python tools failed"
echo "✅ macOS security toolkit installation complete!"
echo "📋 Installed tools: nmap, gobuster, nikto, whatweb, sslscan,"
echo " feroxbuster, redis-tools, smbclient, hydra, john-jumbo,"
echo " hashcat, sqlmap, exploitdb, binwalk, exiftool, impacket, crackmapexec"
else
echo "⚠️ Homebrew not found. Please install Homebrew first:"
echo " /bin/bash -c \"\$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""
echo " Or use Docker setup for full tool support"
return 1
fi
}
# Main execution
main() {
install_macos_tools
}
# Run if script is executed directly
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
main "$@"
fi