From 906b8ef04997043bd6db5db00d180be2e16bdcc8 Mon Sep 17 00:00:00 2001 From: Carla Kirk-Cohen Date: Fri, 5 Apr 2024 15:19:00 -0400 Subject: [PATCH] multi: add stop attacker script to pull down attacking namespace --- README.md | 2 ++ scripts/stop_attacker.sh | 3 +++ 2 files changed, 5 insertions(+) create mode 100755 scripts/stop_attacker.sh diff --git a/README.md b/README.md index 91a70ae..ccec186 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,8 @@ repository to be in the current directory. * Start attacking pods: [./attackathon/scripts/start_attacker.sh](./scripts/start_attacker.sh) brings up the lightning nodes that you will use for your attack and a bitcoin node that you can use to fund the nodes / mine blocks. + * You can use [./attackathon/scripts/stop_attacker.sh](./scripts/stop_attacker.sh) + to tear this down if you'd like to start over at any point. ## Assessment diff --git a/scripts/stop_attacker.sh b/scripts/stop_attacker.sh new file mode 100755 index 0000000..89635f2 --- /dev/null +++ b/scripts/stop_attacker.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +kubectl delete ns warnet-armada