Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed mismatched hex/dec definitions of SERVICE_TRIGGER_TYPE #1763

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions impacket/dcerpc/v5/scmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,13 @@ def __str__( self ):
SERVICE_STOP_UNPLANNED = 0x10000000

# SERVICE_TRIGGER triggers
SERVICE_TRIGGER_TYPE_DEVICE_INTERFACE_ARRIVAL = 0x00000001
SERVICE_TRIGGER_TYPE_IP_ADDRESS_AVAILABILITY = 0x00000002
SERVICE_TRIGGER_TYPE_DOMAIN_JOIN = 0x00000003
SERVICE_TRIGGER_TYPE_FIREWALL_PORT_EVENT = 0x00000004
SERVICE_TRIGGER_TYPE_GROUP_POLICY = 0x00000005
SERVICE_TRIGGER_TYPE_CUSTOM = 0x00000020
SERVICE_TRIGGER_TYPE_DEVICE_INTERFACE_ARRIVAL = 1
SERVICE_TRIGGER_TYPE_IP_ADDRESS_AVAILABILITY = 2
SERVICE_TRIGGER_TYPE_DOMAIN_JOIN = 3
SERVICE_TRIGGER_TYPE_FIREWALL_PORT_EVENT = 4
SERVICE_TRIGGER_TYPE_GROUP_POLICY = 5
SERVICE_TRIGGER_TYPE_NETWORK_ENDPOINT = 6
SERVICE_TRIGGER_TYPE_CUSTOM = 20

# SERVICE_TRIGGER actions
SERVICE_TRIGGER_ACTION_SERVICE_START = 0x00000001
Expand Down
Loading