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 | |
############################################################################## | |
# _________ _____ .__ # | |
# / _____/__ ________ ___________ / \ |__| ___________ ____ # | |
# \_____ \| | \____ \_/ __ \_ __ \ / \ / \| |/ ___\_ __ \/ _ \ # | |
# / \ | / |_> > ___/| | \/ / Y \ \ \___| | \( <_> ) # | |
# /_______ /____/| __/ \___ >__| \____|__ /__|\___ >__| \____/ # | |
# \/ |__| \/ \/ \/ # | |
# Authored by: Samuel Lock (github.com/samson4649) # |
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 | |
############################################################################# | |
# # | |
# _ _ _ _ ____ _ # | |
# / \ _ __ ___(_) |__ | | ___ / ___| ___ ___ _ __ ___| |_ ___ # | |
# / _ \ | '_ \/ __| | '_ \| |/ _ \ \___ \ / _ \/ __| '__/ _ \ __/ __| # | |
# / ___ \| | | \__ \ | |_) | | __/ ___) | __/ (__| | | __/ |_\__ \ # | |
# /_/ \_\_| |_|___/_|_.__/|_|\___| |____/ \___|\___|_| \___|\__|___/ # | |
# # |
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 | |
########################### | |
# _ ____ ____ __ ____ ___ __ __ _ ___ _ _ | |
# | |/ /\ \ / / \/ | | _ \ / _ \| \/ | / \ |_ _| \ | | | |
# | ' / \ \ / /| |\/| | | | | | | | | |\/| | / _ \ | || \| | | |
# | . \ \ V / | | | | | |_| | |_| | | | |/ ___ \ | || |\ | | |
# |_|\_\ \_/ |_| |_| |____/ \___/|_| |_/_/ \_\___|_| \_| | |
# | |
# ____ ____ _ ___ _ _ |
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 | |
if (( $(id -u) != 0 )); then | |
echo "Non root user detected - need to run with root privileges. Exiting..." | |
exit 99 | |
fi | |
### start functions | |
function _clean(){ |
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 | |
################################## | |
# | |
# SSH Mod Config Script | |
# v1.2 | |
# | |
# @github.com/samson4649 | |
# | |
# |
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 | |
#### install docker-ce #### | |
# https://docs.docker.com/engine/install/debian/ | |
# update packages and install requirements | |
apt update && \ | |
sudo apt-get install -yy \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ |
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 | |
# check that root is running | |
if [ "${EUID}" -ne 0 ]; then | |
echo "This script needs to be run as root. Exiting..." | |
exit 1 | |
fi | |
# get current version of go | |
current=$(go version | cut -d' ' -f3) |
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 | |
# colours | |
GREEN='\033[0;32m' | |
NC='\033[0m' | |
CONFIG_PATH=~/.config/.tsen | |
function _usage(){ | |
echo -e "\nUsage: ${0} [--exit-node <tailscale_node_name>] [--clear | --none]\n" |
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
#requires -version 2 | |
<# | |
PowerSploit File: PowerView.ps1 | |
Author: Will Schroeder (@harmj0y) | |
License: BSD 3-Clause | |
Required Dependencies: None | |
#> |