Skip to content

Instantly share code, notes, and snippets.

View sprocketsecurity's full-sized avatar

Sprocket Security sprocketsecurity

View GitHub Profile
#!/bin/bash
#
# Author: Tyler Wrightson
# Date: 8/22/2017
TARGET="$1"
DIR="$PWD/crt"
if [ -z $TARGET ]; then
echo -e "Usage: crt.sh <keyword>"
@sprocketsecurity
sprocketsecurity / pttunnel.conf
Created October 4, 2018 02:48
OpenVPN server config for dropboxes
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>
@sprocketsecurity
sprocketsecurity / setup-dropbox.sh
Created October 4, 2018 01:07
Example script for post install setup of kali dropbox
# 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