AutoRecon/scripts/install-tools-arch.sh

23 lines
673 B
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
# Arch Linux Tool Installation Script
# Usage: ./scripts/install-tools-arch.sh
install_arch_tools() {
local OS_ID=${OS_ID:-$(grep '^ID=' /etc/os-release | cut -d'=' -f2 | tr -d '"')}
echo "📦 Installing security tools for $OS_ID (Arch-based)..."
sudo pacman -Sy --noconfirm nmap curl wget git python python-pip || echo "⚠️ Some tools failed to install"
echo " For full tool support, consider using Kali Linux or install tools manually"
echo "✅ Basic tools installed"
}
# Main execution
main() {
install_arch_tools
}
# Run if script is executed directly
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
main "$@"
fi