diff options
| author | Danilo M. <danix@danix.xyz> | 2026-03-12 09:21:44 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-03-12 09:21:44 +0100 |
| commit | 068a36569d70885ea84104177e76670adef30a98 (patch) | |
| tree | ab10929a13127e430f315dba822e31d44f09f135 /setup.sh | |
| parent | 011f64c8861a09a1393e185fd3c1cc8c2360929b (diff) | |
| download | slackware-pentesting-suite-068a36569d70885ea84104177e76670adef30a98.tar.gz slackware-pentesting-suite-068a36569d70885ea84104177e76670adef30a98.zip | |
Updated script: setup.sh
Diffstat (limited to 'setup.sh')
| -rw-r--r-- | setup.sh | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1,5 +1,19 @@ #! /bin/bash -echo "not yet ready, come back later." -exit +if [[ $EUID -ne 0 ]]; then + echo "This script must be run as root!" + exit 1 +fi + +# make sure we have a wordlists directory +if [[ ! -d /usr/share/wordlists ]]; then + mkdir -p /usr/share/wordlists +fi + +# add a link to the metasploit wordlists +ln -s /opt/metasploit-framework/embedded/framework/data/wordlists /usr/share/wordlists/metasploit + +# add a link to the seclists +ln -s /usr/share/seclists /usr/share/wordlists/seclists + |
