GIAC
GCIH · Question #367
GCIH Question #367: Real Exam Question with Answer & Explanation
The correct answer is B: net use \\10.0.0.1\one adminpassword /u:adminuser. The Windows 'net use' command is the correct tool for mapping a remote network share while authenticating with explicit credentials in a single command.
Reconnaissance, Scanning, and Enumeration
Question
Which of the following commands would set up an administrative session with a remote system and mount 'one' on your system?
Options
- Amount \10.0.0.1\one adminpassword /u:adminuser
- Bnet use \10.0.0.1\one adminpassword /u:adminuser
- Cnet mount \10.0.0.1\one /p:adminpassword /u:adminuser
- Dnet use \10.0.0.1\one adminpassword adminuser
Explanation
The Windows 'net use' command is the correct tool for mapping a remote network share while authenticating with explicit credentials in a single command.
Common mistakes.
- A. 'mount' is a Unix/Linux command and is not a valid Windows command for connecting to network shares.
- C. 'net mount' is not a valid Windows command; the correct command name is 'net use'.
- D. This syntax is invalid because the username must be preceded by the '/u:' switch; omitting the switch causes the command to fail.
Concept tested. Windows net use command syntax for remote share access
Topics
#net use#SMB#Windows file sharing#remote administration
Community Discussion
No community discussion yet for this question.