GIAC
GCIH · Question #632
GCIH Question #632: Real Exam Question with Answer & Explanation
The correct answer is C. net view \\hostname. The 'net view \\hostname' command enumerates shared resources available on a remote Windows system.
Reconnaissance, Scanning, and Enumeration
Question
Which of the following 'net' commands will show the file shares available on a Windows system?
Options
- Anet use \hostname
- Bnet share \hostname_
- Cnet view \hostname
- Dnet show \hostname
Explanation
The 'net view \hostname' command enumerates shared resources available on a remote Windows system.
Common mistakes.
- A. 'net use \hostname' is used to connect to or disconnect from a shared resource, not to list what shares are available on a host.
- B. 'net share' manages and displays shares on the local machine only - it does not accept a remote hostname argument to enumerate shares on another system.
- D. 'net show' is not a valid Windows built-in net subcommand and will return an error if executed.
Concept tested. Windows net commands for share enumeration
Topics
#net commands#Windows enumeration#file shares#SMB
Community Discussion
No community discussion yet for this question.