-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rogue_DHCP_Server.amp
43 lines (43 loc) · 11.7 KB
/
Rogue_DHCP_Server.amp
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
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Policy ID="12fb170b-66fb-4469-be33-d3c28a9ff7b7" Name="Rogue DHCP Server" Description="P2JlcnByP2Z0IGRhcyBOZXR6d2VyayBhdWYgdW5lcmxhdWJ0ZSBESENQIFNlcnZlcg==" Version="2.10.0.19" RemoteCategory="0" ExecutionType="Local" MinimumPSVersionRequired="0.0.0">
<Object ID="{96dc9a50-2db8-4e94-9990-e4ec0eb0d163}" Type="{B6FA6D8B-EEAA-47A6-8463-7F9A4F5BBB6E}" Data="<xml><Parameters><Parameter ParameterName="ErlaubteDHCPServer" Label="Liste erlaube DHCP Server" ParameterType="string" Value="192.168.0.1,192.168.0.2" /><Parameter ParameterName="DownloadURL" Label="URL DHCPtest" ParameterType="string" Value="https://coswa.de/downloads/dhcptest-0.7-win64.exe" /></Parameters></xml>" />
<LinkManager xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PolicyExecutor">
<hashset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" />
</LinkManager>
<Diagnostics OriginalVersion="2.17.1.8" />
<Activity mc:Ignorable="sap sads" x:Class="Policy Builder" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:p="clr-namespace:PolicyExecutor;assembly=PolicyExecutionEngine" xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<x:Members>
<x:Property Name="PolicyGUID" Type="InArgument(x:String)" />
</x:Members>
<sap:VirtualizedContainerService.HintSize>504,745</sap:VirtualizedContainerService.HintSize>
<mva:VisualBasic.Settings>Assembly references and imported namespaces serialized as XML namespaces</mva:VisualBasic.Settings>
<p:PolicySequence DisplayName="Policy Builder" sap:VirtualizedContainerService.HintSize="504,745" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces">
<p:PolicySequence.Activities>
<p:RunPowerShellScript AssemblyName="PolicyExecutionEngine, Version=2.17.1.8, Culture=neutral, PublicKeyToken=null" DisplayName="Run PowerShell Script" sap:VirtualizedContainerService.HintSize="468,522" Moniker="1471b2e6-083d-47f8-866c-fa60e9468eeb" OutPut_64="[RunPowerShellScript_OutPut_64]" Result="[RunPowerShellScript_Result]" ResultString="[RunPowerShellScript_ResultString]" Results_x64="[RunPowerShellScript_Results_x64]" RunAsCurrentLoggedOnUser="False" ScriptExecutionMethod="ExecuteDebug" TypeName="RunPowerShellScript" genArgEvent="2aba17b1-562c-49e9-b3d5-ea0646aa7dd0" m_bTextLinkChange="False" script="PAAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjAA0ACgAjACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACMADQAKACMAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIwANAAoAIwAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAjAA0ACgAjACAAIAAgAEgAZQByAGEAdQBzAGcAZQBiAGUAcgA6ACAAVwBhAGwAbABtAGUAeQBlAHIAIAAmACAAVwBhAGwAbABtAGUAeQBlAHIAIABHAGIAUgAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACMADQAKACMAIAAgACAAVwBlAGIAcwBpAHQAZQA6ACAAaAB0AHQAcABzADoALwAvAHcAdwB3AC4AYwBvAHMAdwBhAC4AZABlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIwANAAoAIwAgACAAIABUAGUAbABlAGYAbwBuADoAIAAwADUAOQAyADEALQAzADAAOAAzADcANQAzACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAjAA0ACgAjACAAIAAgAEUALQBNAGEAaQBsADoAIABpAG4AZgBvAEAAYwBvAHMAdwBhAC4AZABlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACMADQAKACMAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIwANAAoAIwAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAjAA0ACgAjACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACMADQAKACMAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIwANAAoAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjACMAIwAjAD4ADQAKADwAIwANAAoAIwA+AA0ACgAkAHMAYwByAGkAcAB0AF8AbgBhAG0AZQAgAD0AIAAiAE4AaQBjAGgAdAAgAGUAcgBsAGEAdQBiAHQAZQAgAEQASABDAFAAIABTAGUAcgB2AGUAcgAiAA0ACgAkAHMAYwByAGkAcAB0AF8AdgBlAHIAcwBpAG8AbgAgAD0AIAAiADEALgAwACIADQAKAFcAcgBpAHQAZQAtAEgAbwBzAHQAIAAkAHMAYw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:RunPowerShellScript.InArgs>
<p:InArg Item="{x:Null}" ItemProp="{x:Null}" x:Key="ErlaubteDHCPServer" ArgType="string" DisplayArg="Input Parameters.Liste erlaube DHCP Server" DisplayName="ErlaubteDHCPServer" Name="ErlaubteDHCPServer" isRequired="False">
<p:InArg.Arg>
<InArgument x:TypeArguments="x:Object">[ErlaubteDHCPServer]</InArgument>
</p:InArg.Arg>
</p:InArg>
<p:InArg Item="{x:Null}" ItemProp="{x:Null}" x:Key="DownloadURL" ArgType="string" DisplayArg="Input Parameters.URL DHCPtest" DisplayName="DownloadURL" Name="DownloadURL" isRequired="False">
<p:InArg.Arg>
<InArgument x:TypeArguments="x:Object">[DownloadURL]</InArgument>
</p:InArg.Arg>
</p:InArg>
</p:RunPowerShellScript.InArgs>
<p:RunPowerShellScript.OutArgs>
<scg:Dictionary x:TypeArguments="x:String, p:OutArg" />
</p:RunPowerShellScript.OutArgs>
</p:RunPowerShellScript>
</p:PolicySequence.Activities>
<p:PolicySequence.Variables>
<Variable x:TypeArguments="x:String" Name="RunPowerShellScript_OutPut_64" />
<Variable x:TypeArguments="x:String" Name="RunPowerShellScript_ResultString" />
<Variable x:TypeArguments="scg:IEnumerable(x:Object)" Name="RunPowerShellScript_Results_x64" />
<Variable x:TypeArguments="x:Double" Name="RunPowerShellScript_Result" />
<Variable x:TypeArguments="x:String" Default="192.168.0.1,192.168.0.2" Name="ErlaubteDHCPServer" />
<Variable x:TypeArguments="x:String" Default="https://coswa.de/downloads/dhcptest-0.7-win64.exe" Name="DownloadURL" />
</p:PolicySequence.Variables>
</p:PolicySequence>
</Activity>
</Policy>