Skip to content

Commit cd4000e

Browse files
committed
Add Database IDs for NetrDatabaseSync2
1 parent bb7a853 commit cd4000e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

impacket/dcerpc/v5/nrpc.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ def __str__( self ):
115115
NETLOGON_FTINFO_ACCESS = 0x0020
116116
NETLOGON_WKSTA_RPC_ACCESS = 0x0040
117117

118+
# 3.5.4.6.2 NetrDatabaseSync2 (Opnum 16)
119+
# DatabaseID
120+
SAM_DATABASE = 0x00000000
121+
SAM_DATABASE_BUILTIN = 0x00000001
122+
LSA_DATABASE = 0x00000002
123+
118124
# 3.5.4.9.1 NetrLogonControl2Ex (Opnum 18)
119125
# FunctionCode
120126
NETLOGON_CONTROL_QUERY = 0x00000001

0 commit comments

Comments
 (0)