Last active
June 16, 2021 20:50
-
-
Save ResistanceIsUseless/2a0622f45f8c9badc5275400c4d9c4fd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
######################################## | |
# Configuration | |
######################################## | |
#Install Path needs /Scripts/Recon | |
InstallPath=/home/static/Tools | |
######################################## | |
echo -e "\e[92m[*] Install Go Packages [*]" | |
#Aquatone Website Image Snapshot - https://michenriksen.com/blog/aquatone-now-in-go/ | |
go get -u "github.com/michenriksen/aquatone" | |
#GoRecon - Domain and Recon Utility | |
go get -u "github.com/devanshbatham/gorecon" | |
go get -u "github.com/fatih/color" | |
go get -u "github.com/likexian/whois-go" | |
go get -u "github.com/gocolly/colly" | |
go get -u "github.com/haccer/subjack" | |
#shhgit | |
go get -u "github.com/eth0izzle/shhgit" | |
#Gobuster - Directory bruteforcing | |
go get -u "github.com/OJ/gobuster" | |
#Gorecon - DNS Probing | |
go get -u "github.com/devanshbatham/Golookup" | |
#Gron - JSON Grep | |
go get -u "github.com/tomnomnom/gron" | |
#Meg | |
go get -u "github.com/tomnomnom/meg" | |
#Assetfinder | |
go get -u "github.com/tomnomnom/assetfinder" | |
#gf - grep shortcuts | |
go get -u "github.com/tomnomnom/gf" | |
#Wayback Url's | |
go get -u "github.com/tomnomnom/waybackurls" | |
#Unfurl - | |
go get -u "github.com/tomnomnom/unfurl" | |
#http probe - check for http services | |
go get -u "github.com/tomnomnom/httprobe" | |
#concurl - | |
go get -u "github.com/tomnomnom/concurl" | |
#gowitness | |
go get -u "github.com/sensepost/gowitness" | |
#ffuf - | |
go get -u "github.com/ffuf/ffuf" | |
#subjs | |
GO111MODULE=on go get -u -v github.com/lc/subjs | |
#Subfinder - | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder | |
#gosint | |
go get -u "github.com/Nhoya/gOSINT/cmd/gosint" | |
#crobat | |
go get -u github.com/cgboal/sonarsearch/crobat | |
#Gau | |
go get -u "github.com/lc/gau" | |
#Kerbrute | |
go get -u "github.com/ropnop/kerbrute" | |
#JWT Hack | |
go get -u github.com/hahwul/jwt-hack | |
#hakrawler | |
go get -u "github.com/hakluke/hakrawler" | |
#amass | |
go get -v -u github.com/OWASP/Amass/v3/... | |
cd $GOPATH/src/github.com/OWASP/Amass | |
go install ./... | |
#proxify | |
GO111MODULE=on go get -u github.com/projectdiscovery/proxify/cmd/proxify | |
#naabu | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/naabu/v2/cmd/naabu | |
#dnsx | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/dnsx/cmd/dnsx | |
#nuclei | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/nuclei/cmd/nuclei | |
cd ~/Tools | |
git clone https://github.com/projectdiscovery/nuclei-templates.git | |
echo "done" | |
#keybase | |
#echo -e "\e[92m[*] Install Keybase? [y]es, [n]o:[*][*]" | |
#read kbs | |
#if [ $kbs == y ]; then | |
# cd ~/Downloads | |
# curl --remote-name https://prerelease.keybase.io/keybase_amd64.deb | |
# sudo dpkg -i keybase_amd64.deb | |
# sudo apt-get install -f | |
#else | |
# echo -e "\e[92m[*] Skipping Keybase[*]" | |
#fi | |
echo -e "\e[92m[*] Installing gf-patterns [*]" | |
cd ~/Downloads | |
git clone https://github.com/1ndianl33t/Gf-Patterns.git | |
mv /Gf-Patterns/*.json ~/.gf | |
#Misc Scripts | |
cd $InstallPath/Scripts | |
wget https://raw.githubusercontent.com/nahamsec/lazyrecon/master/lazyrecon.sh -o ns_lazyrecon.sh | |
wget https://raw.githubusercontent.com/JoshuaMart/AutoRecon/master/recon.sh -o autorecon.sh | |
wget https://raw.githubusercontent.com/ResistanceIsUseless/recon/master/ultimate_recon.sh -o ultimate_recon.sh | |
wget https://raw.githubusercontent.com/ResistanceIsUseless/recon/master/github_recon.sh -o github_recon.sh | |
wget https://raw.githubusercontent.com/victoni/Bug-Bounty-Scripts/master/lazy.sh -o lazy.sh | |
echo -e "\e[92m[*] Installing Privilege Escalation Scripts" | |
cd $InstallPath/temp | |
wget https://github.com/ResistanceIsUseless/EnumScripts/archive/master.zip | |
7z e master.zip | |
cd EnumScripts | |
mv ./* $InstallPath/Scripts | |
chmod +x ./os-tools.sh | |
bash ./os-tools.sh | |
exit | |
echo -e "\e[92m[*] Installing ncat [*]" | |
cd ~/Downloads | |
wget -o ncat.rpm https://nmap.org/dist/ncat-7.80-1.x86_64.rpm | alien ./ncat.rpm | |
sudo dpkg -i ncat.deb | |
#################VIM####################### | |
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
curl https://raw.githubusercontent.com/ResistanceIsUseless/dotfiles/master/.vimrc >> ~/.vimrc | |
###############Shell Functions############# | |
cd ~/Downloads | |
git clone https://github.com/ResistanceIsUseless/dotfiles.git | |
cd dotfiles | |
mv ~/.bash_profile ~/.bash_profile.bak | |
mv ~/.vimrc ~/.vimrc.bak | |
mv .bash_profile ~/ | |
mv .vimrc ~/ | |
cd fish_functions | |
mv ./* ~/.config/fish/functions/ | |
echo -e "\e[92m[*] Install Chrome? [Y]es, [N]o:[*]" | |
read chrome | |
if [ $chrome == Y ]; then | |
echo -e "\e[92m[*] Installing Chrome [*]" | |
snap install chromium | |
if [ `whoami` != 'root' ]; then | |
google-chrome --no-sandbox https://chrome.google.com/webstore/detail/builtwith-technology-prof/dapjbgnjinbpoindlpdmhochffioedbn https://chrome.google.com/webstore/detail/foxyproxy-standard/gcknhkkoolaabfmlnjonogaaifnjlfnp?hl=en https://chrome.google.com/webstore/detail/linkclump/lfpjkncokllnfokkgpkobnkbkmelfefj?hl=en https://chrome.google.com/webstore/detail/wappalyzer/gppongmhjkpfnbhagpmjfkannfbllamg?hl=en https://chrome.google.com/webstore/detail/whatruns/cmkdbmfndkfgebldhnkbfhlneefdaaip?hl=en | |
else | |
google-chrome https://chrome.google.com/webstore/detail/builtwith-technology-prof/dapjbgnjinbpoindlpdmhochffioedbn https://chrome.google.com/webstore/detail/foxyproxy-standard/gcknhkkoolaabfmlnjonogaaifnjlfnp?hl=en https://chrome.google.com/webstore/detail/linkclump/lfpjkncokllnfokkgpkobnkbkmelfefj?hl=en https://chrome.google.com/webstore/detail/wappalyzer/gppongmhjkpfnbhagpmjfkannfbllamg?hl=en https://chrome.google.com/webstore/detail/whatruns/cmkdbmfndkfgebldhnkbfhlneefdaaip?hl=en | |
fi | |
else | |
echo -e "\e[92m[*] skipping Chrome[*]" | |
fi | |
echo -e "\e[92m[*] Setting Up Enviornment [*]" | |
#################Bash Profile####################### | |
cd ~/Downloads | |
curl -L https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh | bash | |
echo -e "export PATH=\"$PATH:/snap/bin\:$HOME/go/bin/\:\"" >> ~/.bashrc | |
echo -e "export GOPATH=$HOME/go" >> ~/.bashrc | |
echo -e "source $GOPATH/src/github.com/tomnomnom/gf/gf-completion.bash" >> ~/.bashrc | |
exit | |
#################Fish Profile####################### | |
cd ~/Downloads | |
curl -L https://get.oh-my.fish | fish | |
# set the workspace path | |
echo -e "set -x -U GOPATH $HOME/go/" >> ~/.config/fish/config.fish | |
# add the go bin path to be able to execute our programs | |
echo -e "set -x PATH $PATH /home/$USER/go $GOPATH/bin" >> ~/.config/fish/config.fish | |
exit | |
#################ZSH Profile####################### | |
curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | zsh | |
echo -e "export GOPATH=$HOME/go" >> ~/.zshrc | |
exit | |
vim +PluginInstall +qall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment