Mark D. Spivey
"Practical Hacking Techniques and Countermeasures"
trig).
Banner.c
Usage:
./banner
Chapter 3 NULL
Session
NET USE [devicename | *] [\\computername\
sharename[\volume] [password | *]]
[/USER:[domain name\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]
NET USE {devicename | *} [password | *]
/HOME
NET USE [/PERSISTENT:{YES | NO}]
Appendix B : Tool Syntax 679
Chapter Tool Syntax
Chapter 3
(continued)
GETMAC getmac[.exe] [/s Computer [/u Domain\User
[/p Password]]]
[/fo {TABLE|LIST|CSV}][/nh][/v]
Options:
/s Computer Specifies the name or IP address of a
remote computer (do not use backslashes). The default
is the local computer.
/u Domain\User Runs the command with the account
permissions of the user specified by User or Domain\
User. The default is the permission of the currently
logged-on user on the computer issuing the command.
/p Password Specifies the password of the user account
that is specified in the /u parameter.
/fo {TABLE|LIST|CSV} Specifies the format to use for the
query output. Valid values are TABLE, LIST, and CSV.
The default format for output is TABLE.
/nh Suppresses column header in output. Valid when
the /fo parameter is set to TABLE or CSV.
/v Specifies that the output displays verbose information.
/? Displays help at the command prompt.
USER2SID User2sid [\\computer_name] account_name
Where computer_name is optional.
Pages:
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236