From 763a3b917e1cbd110321154660dfc5517be9234b Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Wed, 5 May 2021 10:23:11 +0200 Subject: [PATCH] Update 2.7 --- DET - Detection/DET-400 - A2A - Detection methods/pack.ps1 | 6 ++++++ .../DET-400 - A2A - Detection methods/unpack.ps1 | 7 +++++++ DET - Detection/DET-600 - Detection Zones/pack.ps1 | 6 ++++++ DET - Detection/DET-600 - Detection Zones/unpack.ps1 | 7 +++++++ .../DET-601 - Detection Zones_Capture_Coalition/pack.ps1 | 6 ++++++ .../DET-601 - Detection Zones_Capture_Coalition/unpack.ps1 | 7 +++++++ 6 files changed, 39 insertions(+) create mode 100644 DET - Detection/DET-400 - A2A - Detection methods/pack.ps1 create mode 100644 DET - Detection/DET-400 - A2A - Detection methods/unpack.ps1 create mode 100644 DET - Detection/DET-600 - Detection Zones/pack.ps1 create mode 100644 DET - Detection/DET-600 - Detection Zones/unpack.ps1 create mode 100644 DET - Detection/DET-601 - Detection Zones_Capture_Coalition/pack.ps1 create mode 100644 DET - Detection/DET-601 - Detection Zones_Capture_Coalition/unpack.ps1 diff --git a/DET - Detection/DET-400 - A2A - Detection methods/pack.ps1 b/DET - Detection/DET-400 - A2A - Detection methods/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/DET - Detection/DET-400 - A2A - Detection methods/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/DET - Detection/DET-400 - A2A - Detection methods/unpack.ps1 b/DET - Detection/DET-400 - A2A - Detection methods/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/DET - Detection/DET-400 - A2A - Detection methods/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/DET - Detection/DET-600 - Detection Zones/pack.ps1 b/DET - Detection/DET-600 - Detection Zones/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/DET - Detection/DET-600 - Detection Zones/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/DET - Detection/DET-600 - Detection Zones/unpack.ps1 b/DET - Detection/DET-600 - Detection Zones/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/DET - Detection/DET-600 - Detection Zones/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/pack.ps1 b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/unpack.ps1 b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" *