From b9d59761bfe01c9fdca8f4796431040f94186ef3 Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 14 Mar 2023 17:38:23 +0100 Subject: [PATCH] Add modify curl script --- modify.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 modify.sh diff --git a/modify.sh b/modify.sh new file mode 100755 index 0000000..6968315 --- /dev/null +++ b/modify.sh @@ -0,0 +1,11 @@ +curl --header "Content-Type: application/json" \ + --data '{"command": { + "Modify": { + "destination_port": 8888, + "destination_ip": "127.0.0.1", + "id": "67e55044-10b1-426f-9247-bb680e5fe0c8" + } + }, + "signature": [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] + }' \ + http://localhost:3000/command