-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-pendata.sh
22 lines (18 loc) · 954 Bytes
/
setup-pendata.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# specify custom directory to install in as the first argument
# eg. ./setup-pendata.sh /home/techgaun/pentest/files
# defaults to $HOME/pentest
ROOT_DIR=${1:-$HOME/pentest}
PAYLOAD_DIR="${ROOT_DIR}/payloads"
if [[ ! -e "${ROOT_DIR}" ]]; then
echo "${ROOT_DIR} does not exist. Creating..."
mkdir -p "${ROOT_DIR}"
fi
mkdir -p "${PAYLOAD_DIR}"
git clone https://github.com/danielmiessler/SecLists.git "${ROOT_DIR}/seclist"
git clone https://github.com/nepalihackers/xss-payloads.git "${PAYLOAD_DIR}/xss"
git clone https://github.com/xsuperbug/payloads.git "${PAYLOAD_DIR}/badfiles"
git clone https://github.com/minimaxir/big-list-of-naughty-strings.git "${PAYLOAD_DIR}/badstrings"
git clone https://github.com/fuzzdb-project/fuzzdb.git "${PAYLOAD_DIR}/fuzzdb"
git clone https://github.com/1N3/IntruderPayloads.git "${PAYLOAD_DIR}/intruder-payloads"
git clone https://github.com/techgaun/bash-backdoor.git "${PAYLOAD_DIR}/bash-backdoor"