Configure IP addresses, network ranges, and target selection workflows
The Ethical Audit Framework supports multiple methods for specifying attack targets, from single IP addresses to entire network ranges with automatic discovery.
Option 2 performs automatic network discovery and sequential attacks:
# From main.py line 62-72elif choice == "2": # Auto-discover network network = Prompt.ask("Network to scan", default=Config.DEFAULT_NETWORK) hosts = NmapScanner.discover_network(network) if hosts: for ip in hosts: if Confirm.ask(f"Attack {ip}?", default=True): AuditEngine(ip).run_full_audit()
1
Network scan
Nmap discovers all active hosts in the specified network range
2
Host enumeration
Framework presents each discovered IP address
3
Interactive confirmation
User confirms whether to attack each host (default: Yes)
4
Sequential audits
Full audit runs against each confirmed target
Example Workflow:
Network to scan: 192.168.56.0/24[*] Discovered hosts: - 192.168.56.1 - 192.168.56.102 - 192.168.56.105Attack 192.168.56.1? [Y/n]: nAttack 192.168.56.102? [Y/n]: Y [+] Running full audit against 192.168.56.102...Attack 192.168.56.105? [Y/n]: Y [+] Running full audit against 192.168.56.105...
Option 6 allows complete manual control over the target IP:
# From main.py line 124-128elif choice == "6": # Manual IP ip = Prompt.ask("Target IP") rprint(f"\n[bold green]Full audit against {ip}[/bold green]") AuditEngine(ip).run_full_audit()
This is the recommended method when targeting non-default IPs or when you need full control over the target selection.
Example:
Select option: 6Target IP: 10.0.0.50Full audit against 10.0.0.50[+] Starting reconnaissance...
1. Run option 6 (Manual IP)2. Enter first target: 192.168.56.1023. Wait for audit completion4. When prompted "Another audit?", select Yes5. Run option 6 again6. Enter second target: 192.168.56.1057. Repeat as needed
1. Run option 2 (Auto-Discovery)2. Enter network: 192.168.56.0/243. Framework discovers all hosts4. Confirm/skip each discovered target5. All confirmed targets audited sequentially