-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsysinfo_privesc.txt
34 lines (29 loc) · 916 Bytes
/
sysinfo_privesc.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
systeminfo
hostname
echo %username%
whoami
net users
net user <USERNAME>
ipconfig /all
route print
arp -A
netstat -ano
netsh firewall show state
netsh firewall show config
schtasks /query /fo LIST /v
tasklist /SVC
net start
DRIVERQUERY
wmic qfe get Caption,Description,HotFixID,InstalledOn # System patches and updates
echo %logonserver% # Domain controller
Directories that may contain passwords:
c:\sysprep.inf
c:\sysprep\sysprep.xml
%WINDIR%\Panther\Unattend\Unattended.xml
%WINDIR%\Panther\Unattended.xml
SYSVOL/Groups.xml # \\dc\SYSVOL\dcname\Policies\{31b2..}\Machine\Preferences\Groups\Groups.xml
Services\Services.xml: Element-Specific Attributes
ScheduledTasks\ScheduledTasks.xml: Task Inner Element, TaskV2 Inner Element, ImmediateTaskV2 Inner Element
Printers\Printers.xml: SharedPrinter Element
Drives\Drives.xml: Element-Specific Attributes
DataSources\DataSources.xml: Element-Specific Attributes