Detect system hardware and software capabilities
(self)
| 104 | # pair costs more than a Zero has in total. They stay a big-board feature |
| 105 | # while the tcpdump core runs everywhere. |
| 106 | TRAFFIC_SIDECAR_MIN_RAM_GB = 3.5 |
| 107 | # Include armv8l which is 32-bit userspace on 64-bit ARM (Pi 4/5 with 32-bit OS) |
| 108 | SUPPORTED_ARCHS = ['x86_64', 'amd64', 'aarch64', 'arm64', 'armv8l', 'armv7l'] |
| 109 | |
| 110 | # Tool definitions for advanced features |
| 111 | TRAFFIC_ANALYSIS_TOOLS = { |
| 112 | 'tcpdump': {'package': 'tcpdump', 'critical': True}, |
| 113 | 'tshark': {'package': 'tshark', 'critical': False}, |
| 114 | 'ngrep': {'package': 'ngrep', 'critical': False}, |
| 115 | 'iftop': {'package': 'iftop', 'critical': False}, |
| 116 | 'nethogs': {'package': 'nethogs', 'critical': False}, |
| 117 | 'ss': {'package': 'iproute2', 'critical': True}, |
| 118 | } |
| 119 | |
| 120 | VULN_ASSESSMENT_TOOLS = { |
| 121 | 'nmap': {'package': 'nmap', 'critical': True}, |
| 122 | 'nuclei': {'package': 'nuclei', 'critical': False, 'install_cmd': 'go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest'}, |
| 123 | 'nikto': {'package': 'nikto', 'critical': False}, |
| 124 | 'sqlmap': {'package': 'sqlmap', 'critical': False}, |
| 125 | 'hydra': {'package': 'hydra', 'critical': False}, |
| 126 | 'whatweb': {'package': 'whatweb', 'critical': False}, |
no test coverage detected