Skip to content

Commit 6c5c814

Browse files
authored
setup scripts
1 parent aa84e48 commit 6c5c814

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

setup-pendata.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
# specify custom directory to install in as the first argument
4+
# eg. ./setup-pendata.sh /home/techgaun/pentest/files
5+
# defaults to $HOME/pentest
6+
7+
ROOT_DIR=${1:-$HOME/pentest}
8+
PAYLOAD_DIR="${ROOT_DIR}/payloads"
9+
10+
if [[ ! -e "${ROOT_DIR}" ]]; then
11+
echo "${ROOT_DIR} does not exist. Creating..."
12+
mkdir -p "${ROOT_DIR}"
13+
fi
14+
mkdir -p "${PAYLOAD_DIR}"
15+
16+
git clone https://github.com/danielmiessler/SecLists.git "${ROOT_DIR}/seclist"
17+
git clone https://github.com/nepalihackers/xss-payloads.git "${PAYLOAD_DIR}/xss"
18+
git clone https://github.com/xsuperbug/payloads.git "${PAYLOAD_DIR}/badfiles"
19+
git clone https://github.com/minimaxir/big-list-of-naughty-strings.git "${PAYLOAD_DIR}/badstrings"
20+
git clone https://github.com/fuzzdb-project/fuzzdb.git "${PAYLOAD_DIR}/fuzzdb"
21+
git clone https://github.com/1N3/IntruderPayloads.git "${PAYLOAD_DIR}/intruder-payloads"
22+
git clone https://github.com/techgaun/bash-backdoor.git "${PAYLOAD_DIR}/bash-backdoor"

0 commit comments

Comments
 (0)