QuestionQ15

VerifiedReconnaissance and Enumeration

A penetration tester is enumerating a Linux system. The objective is to modify the following script to gather 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?

Explanation

Enumerating /etc/passwd identifies local user accounts, netstat -tulr reveals listening network services and routing information, and /etc/bash.bashrc exposes system-wide Bash startup configuration. Together, these collect broader account, network, and configuration data than the other choices.

Community Discussion

No comments yet. Be the first to start the discussion!