Certified Ethical Hacker (CEH) — Question 61
Which among the following is a Windows command that a hacker can use to list all the shares to which the current user context has access?
Answer options
- A. NET FILE
- B. NET USE
- C. NET CONFIG
- D. NET VIEW
Correct answer: B
Explanation
The correct answer is B, NET USE, as it specifically shows network connections and shared resources available to the user. The other commands, such as NET FILE and NET CONFIG, serve different purposes, such as managing files or configuring network settings, and do not provide a list of accessible shares.