Last active
August 14, 2023 13:36
-
-
Save maka-io/c4ca30bbbcd7d0bd9855732593323336 to your computer and use it in GitHub Desktop.
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 xcode | |
xcode-select --install | |
sudo xcode-select --switch /Library/Developer/CommandLineTools | |
#Install homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
brew update | |
# Install useful packages | |
brew cask install --force xquartz | |
brew cask install --force wine-stable | |
brew tap homebrew/cask-fonts | |
# Fpr PEN testing | |
brew install --force mongosh docker docker-compose colima tree aircrack-ng recon-ng tmux macvim ipcalc nmap nikto wireshark cocoapods bro tcpreplay bash pipenv | |
brew install --cask font-hack-nerd-font | |
# For non-pen testing | |
# brew install --force winetricks tree tmux macvim ipcalc nmap cocoapods bro bash pipenv | |
# Setup MSSQL Tools | |
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release | |
HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install --force msodbcsql mssql-tools | |
# Setup cocoapods | |
pod setup | |
# Setup tmux mouse | |
echo "set-option -g mouse on" > ~/.tmux.conf | |
#Install metasploit | |
# FOR PEN TESTING | |
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > ~/msfinstall && \ | |
chmod 755 ~/msfinstall && \ | |
~/msfinstall | |
rm ~/msfinstall | |
# Enable control of Airport | |
# FOR PEN TESTING | |
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport | |
# Download a wordlist | |
# FOR PEN TESTING | |
rm -rf ~/.wordlists || true | |
git clone [email protected]:berzerk0/Probable-Wordlists.git ~/.wordlists | |
# Install hashcat | |
# FOR PEN TESTING | |
#rm -rf ~/.hashcat-utils || true | |
#git clone [email protected]:hashcat/hashcat-utils.git ~/maka-env/hashcat-utils | |
#cd ~/maka-env/hashcat-utils/src | |
#make | |
#mv cap2hccapx.bin /usr/local/bin | |
#cd ~/ | |
git clone https://gist.github.com/d3574c85a85fac13960c7f0347110b12.git ~/maka-env/mime-types | |
mv ~/maka-env/mime-types/mime.types ~/.mime.types | |
# FOR PEN TESTING | |
git clone https://gist.github.com/f6e90e8e84f34f189643fbdc9dbd314a.git ~/maka-env/getcap | |
mv ~/maka-env/getcap/getcap /usr/local/bin | |
chmod +x /usr/local/bin/getcap | |
git clone https://gist.github.com/240702b49610b1b8f03c63e19ffc8288.git ~/Desktop/term | |
git clone https://gist.github.com/49460dca13796b8c654b7639436c8f48.git ~/maka-env/bash_profile | |
mv ~/maka-env/bash_profile/.bash_profile ~/.bash_profile | |
rm -rf ~/maka-env/bash_profile | |
git clone https://gist.github.com/0a88bf043c1e59e67ce2f5d2ab77e921.git ~/maka-env/bashrc | |
mv ~/maka-env/bashrc/.bashrc ~/.bashrc | |
rm -rf ~/maka-env/bashrc | |
git clone https://gist.github.com/49d0b0483b77c30a9f851c2fdd72dc35.git ~/maka-env/git-prompt | |
mv ~/maka-env/git-prompt/.git-prompt.sh ~/.git-prompt.sh | |
rm -rf ~/maka-env/git-prompt | |
git clone https://gist.github.com/861462c928b1a0bcdeea8dcb5f75ffed.git ~/maka-env/vimrc | |
mv ~/maka-env/vimrc/.vimrc ~/.vimrc | |
rm -rf ~/maka-env/vimrc | |
rm -rf ~/.vim/autoload | |
rm -rf ~/.vim/bundle | |
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
git clone https://github.com/tpope/vim-sensible.git ~/.vim/bundle/vim-sensible | |
git clone https://github.com/pangloss/vim-javascript.git ~/.vim/bundle/vim-javascript | |
git clone https://github.com/MaxMEllon/vim-jsx-pretty.git ~/.vim/bundle/vim-jsx-pretty | |
git clone https://github.com/tomtom/tcomment_vim ~/.vim/bundle/vim-tcomment | |
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree | |
git clone https://github.com/jparise/vim-graphql.git ~/.vim/bundle/vim-graphql | |
git clone https://github.com/leafgarland/typescript-vim.git ~/.vim/bundle/typescript-vim | |
# Install latest meteor | |
rm -rf ./meteor | |
curl https://install.meteor.com/ | sh | |
METEOR_NODE_VER=$(meteor node -v) | |
# Install Node environemnt | |
git clone https://gist.github.com/c427ccd6f4377b39299b9d402f5d51fe.git ~/maka-env/nvm-install | |
chmod +x ~/maka-env/nvm-install/nvm-install.sh && ~/maka-env/nvm-install/nvm-install.sh | |
nvm install $METEOR_NODE_VER && nvm alias default $METEOR_NODE_VER | |
npm install -g pm2 @maka/maka-cli vtop | |
# Setup scientific tools | |
git clone https://gist.github.com/9396103407f52c61b91841c270413160.git ~/maka-env/science-env | |
chmod +x ~/maka-env/science-env/setup-science-env.sh && ~/maka-env/science-env/setup-science-env.sh | |
rm -rf ~/maka-env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment