This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Author: Tyler Wrightson | |
# Date: 8/22/2017 | |
TARGET="$1" | |
DIR="$PWD/crt" | |
if [ -z $TARGET ]; then | |
echo -e "Usage: crt.sh <keyword>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev tun0 | |
tls-server | |
user nobody | |
group nogroup | |
# Openvpn tunnel network | |
server 10.254.254.0 255.255.255.0 | |
# IP Address we listen on | |
local <LOCAL_IP_OF_SERVER> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if .ssh directory doesn't exist, create it | |
if [ ! -d /root/.ssh ];then mkdir /root/.ssh;fi | |
echo "adding pentest users key for gitlab..." | |
echo "ssh-rsa AAAAB3NzaC1y----<SNIP>----+f" > /root/.ssh/git.pub | |
echo '-----BEGIN RSA PRIVATE KEY----- | |
ADD YOUR GITLAB USERS PRIVKEY HERE | |
-----END RSA PRIVATE KEY-----' > /root/.ssh/git |