From ffc5602cc3c3205579f34fb6e7de8025dd149fce Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 2 Jan 2022 22:37:55 +0200 Subject: [PATCH] add --- README.md | 11 +++++++++-- install/usr/share/swarmlab.io/sec/swarmlab-sec | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ba4f815..cd431ee 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,22 @@ More Info: https://www.kali.org/tools/regripper/ This is a quickstart guide of howto use this +> +> perl rip.pl +> + ### Default Configuration - Working Directory -> /home/docker/project +> /regripper +> +> perl rip.pl +> - Default user -> docker +> regripper - Default password diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 6e78a16..5b8499a 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -167,6 +167,7 @@ if [ -d "$Wdir/project" ]; then && mkdir -p /home/docker/project \ && mkdir -p /etc/opt \ && echo "docker:docker" | chpasswd \ + && echo "regripper:docker" | chpasswd \ && echo "StrictHostKeyChecking no" > \${SSHDIR}/config \ && cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \ && chmod -R 600 \${SSHDIR}/* \ @@ -254,6 +255,7 @@ if [ "$Wdir" == "$HOME" ]; then && mkdir -p /home/docker/project \ && mkdir -p /etc/opt \ && echo "docker:docker" | chpasswd \ + && echo "regripper:docker" | chpasswd \ && echo "StrictHostKeyChecking no" > \${SSHDIR}/config \ && cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \ && chmod -R 600 \${SSHDIR}/* \