[Information Gathering and Vulnerability Scanning]
A penetration tester is enumerating a Linux system. The goal is to modify the following script to provide more comprehensive system information:
#!/bin/bash
ps aux >> linux_enum.txt
Which of the following lines would provide the most comprehensive enumeration of the system?
This command gathers:
/etc/passwd -- lists all local user accounts.
netstat -tuln -- lists listening ports and associated services.
/etc/bash.bashrc -- contains environment variables and configurations that could reveal system behaviors or hidden persistence mechanisms.
This provides a much broader and deeper enumeration compared to other options.
Wava
8 days agoDaniela
11 days agoWilliam
12 days agoJuliann
16 days agoDick
12 days agoKizzy
20 days agoHarley
28 days agoLazaro
3 days agoAlfreda
14 days agoWilliam
1 months ago