File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ def _get_response_effective_data(self, response):
128128FIREWALL_RPC_IID = "2fb92682-6599-42dc-ae13-bd2ca89bd11c"
129129
130130Proc0_RPC_FWOpenPolicyStore = 0
131- Proc99_RPC_FWEnumFirewallRules2_33 = 99
131+ Proc9_RPC_FWEnumFirewallRules = 9
132132
133133def test_rpc_response_as_view ():
134134 """Check that parsing response as view in RPC Client works. Testing after a bug in 32b RPCCLient"""
@@ -149,11 +149,11 @@ def test_rpc_response_as_view():
149149 rawpolstore = resp1 [:20 ]
150150 assert not client .last_response_was_view
151151
152- # Proc99_RPC_FWEnumFirewallRules2_33
152+ # Proc9_RPC_FWEnumFirewallRules
153153 # \x00\x00\x03\x00\xff\xff\xff\x7f\x07\x00
154154 # https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fasp/36cddff4-c427-4863-a58d-3d913a12b221
155155 # FW_PROFILE_TYPE_ALL : 0x7FFFFFFF
156156 # FW_RULE_STATUS_CLASS_OK + FW_RULE_STATUS_PARTIALLY_IGNORED = 0x00010000 + 0x00020000
157157 # Flags = 7 ?
158- resp2 = client .call (iid , Proc99_RPC_FWEnumFirewallRules2_33 , params = rawpolstore + b"\x00 \x00 \x03 \x00 \xff \xff \xff \x7f \x07 \x00 " )
158+ resp2 = client .call (iid , Proc9_RPC_FWEnumFirewallRules , params = rawpolstore + b"\x00 \x00 \x03 \x00 \xff \xff \xff \x7f \x07 \x00 " )
159159 assert client .last_response_was_view
You can’t perform that action at this time.
0 commit comments