[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.
Currently there are no comments in this discussion, be the first to comment!