add scripts from dmzscripts repo to scripts

This commit is contained in:
2024-01-05 11:42:17 +01:00
parent d3e2cec3a7
commit 5e4f55af5b
10 changed files with 2256 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
## Install luser.deb to remote host
DMZKEYFILE="/home/anon/.ssh/dmz"
HOST="$1"
if [[ -z "$HOST" ]]; then
echo "Set Luser Host"
exit 1
fi
cd ~/src/luser/build-deb
make
ssh-add -t 100 $DMZKEYFILE
torsocks scp luser.deb $HOST:~/
torsocks ssh $HOST "apt install -y /root/luser.deb ; rm /root/luser.deb"