From 7caa231e0b0fa607080586725fbbc9628a1cc031 Mon Sep 17 00:00:00 2001 From: spv Date: Wed, 20 Apr 2022 14:10:27 -0400 Subject: hello and welcome back to hell --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..3dcfb9c --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +ssh root@localhost -p 2222 "rm main_arm" + +scp -P 2222 bin/main_arm root@localhost:main_arm +scp -P 2222 exp.js root@localhost:exp.js + +ssh root@localhost -p 2222 "./main_arm -f /usr/sbin/racoon -j exp.js -o racoon.conf; cp racoon.conf /etc/racoon/racoon.conf" +#bin/main -f ~/racoon -j ../lol.js | ssh root@localhost -p 2222 "cat > /etc/racoon/racoon.conf" + +#bin/main -f ~/racoon | ssh root@192.168.1.6 "cat > racoon.conf" +#bin/main -f ~/racoon | ssh root@192.168.1.6 "cat > /etc/racoon/racoon.conf" -- cgit v1.2.3