forked from NetSPI/gcpwn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
14 lines (9 loc) · 600 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Swap out steps as necessary: https://cloud.google.com/sdk/docs/install#deb
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates gnupg curl
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
sudo apt-get update && sudo apt-get install google-cloud-cli
# Install dependenices for tool
pip install -r requirements.txt