From f3c20341fa999b71b16f163622b2519f135202ec Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 25 Apr 2023 12:55:53 +0200 Subject: [PATCH] Add modifyback script --- modifyback.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 modifyback.sh diff --git a/modifyback.sh b/modifyback.sh new file mode 100755 index 0000000..b1fffda --- /dev/null +++ b/modifyback.sh @@ -0,0 +1,9 @@ +curl --header "Content-Type: application/json" \ + --data '{ + "modify": { + "destination_port": 8080, + "destination_ip": "127.0.0.1", + "id": "67e55044-10b1-426f-9247-bb680e5fe0c8" + } + }' \ + http://localhost:3000/command