SID2USER Sid2User [\\computer_name] authority
subauthority_1 ??¦
Where computer_name is optional.
USERDUMP Usage:
userdump
USERINFO Usage:
userinfo \\servername known account
Where \\servername is the domain controller or member
server.
DUMPSEC Dumpsec /rpt=report type /outfile=
Options:
dir=drive:\path Directory permissions report (drive
letter path).
dir=\\computer\sharepath Directory permissions report
(UNC path).
registry=hive Registry permissions report (hive can be
HKEY_LOCAL_MACHINE or HKEY_USERS).
680 Practical Hacking Techniques and Countermeasures
Chapter Tool Syntax
Chapter 3
(continued)
DUMPSEC share=sharename Specific shared directory permissions
report.
allsharedirs All nonspecial shared directories
permissions report.
printers Printers permissions report.
shares Shares permissions report.
users Users report (table format, all fields except groups,
groupcomment and grouptype).
usersonly Users report (table format, only username,
fullname and comment fields).
userscol Users report (column format, same fields as
users report).
groups Groups report (table format, all fields).
Groupsonly Groups report (table format, group info, no
user info).
Groupscol Groups report (column format, same fields as
groups report).
Policy Policy report.
rights Rights report.
services Services report.
/outfile=drive:\path File in which to store report. This file
will be replaced if it already exists.
Pages:
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237