MCPcopy Create free account
hub / github.com/secdev/scapy / PNETLOGON_DELTA_ACCOUNTS

Class PNETLOGON_DELTA_ACCOUNTS

scapy/layers/msrpce/raw/ms_nrpc.py:1514–1552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1512
1513
1514class PNETLOGON_DELTA_ACCOUNTS(NDRPacket):
1515 ALIGNMENT = (4, 8)
1516 fields_desc = [
1517 NDRIntField("PrivilegeEntries", None, size_of="PrivilegeNames"),
1518 NDRIntField("PrivilegeControl", 0),
1519 NDRFullEmbPointerField(
1520 NDRConfFieldListField(
1521 "PrivilegeAttributes",
1522 [],
1523 NDRIntField("", 0),
1524 size_is=lambda pkt: pkt.PrivilegeEntries,
1525 )
1526 ),
1527 NDRFullEmbPointerField(
1528 NDRConfPacketListField(
1529 "PrivilegeNames",
1530 [],
1531 PUNICODE_STRING,
1532 size_is=lambda pkt: pkt.PrivilegeEntries,
1533 )
1534 ),
1535 NDRPacketField("QuotaLimits", NLPR_QUOTA_LIMITS(), NLPR_QUOTA_LIMITS),
1536 NDRIntField("SystemAccessFlags", 0),
1537 NDRIntField("SecurityInformation", 0),
1538 NDRIntField("SecuritySize", None, size_of="SecurityDescriptor"),
1539 NDRFullEmbPointerField(
1540 NDRConfStrLenField(
1541 "SecurityDescriptor", "", size_is=lambda pkt: pkt.SecuritySize
1542 )
1543 ),
1544 NDRPacketField("DummyString1", UNICODE_STRING(), UNICODE_STRING),
1545 NDRPacketField("DummyString2", UNICODE_STRING(), UNICODE_STRING),
1546 NDRPacketField("DummyString3", UNICODE_STRING(), UNICODE_STRING),
1547 NDRPacketField("DummyString4", UNICODE_STRING(), UNICODE_STRING),
1548 NDRIntField("DummyLong1", 0),
1549 NDRIntField("DummyLong2", 0),
1550 NDRIntField("DummyLong3", 0),
1551 NDRIntField("DummyLong4", 0),
1552 ]
1553
1554
1555class NLPR_CR_CIPHER_VALUE(NDRPacket):

Callers 1

Calls 8

NDRIntFieldClass · 0.90
NDRPacketFieldClass · 0.90
NDRConfStrLenFieldClass · 0.90
NLPR_QUOTA_LIMITSClass · 0.85
UNICODE_STRINGClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…