Skip to content

Commit 9b09975

Browse files
authored
Remove old google cloud config optins (#249)
1 parent 4e51c1a commit 9b09975

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,6 @@ if a file called `writeup.md` already exists the command will abort
475475
"chatwebhookurl2": "",
476476
"chatwebhookurl3": "",
477477
"gisttoken": "",
478-
"googlecloudproject": "",
479-
"googlecloudregion": "",
480-
"googlecloudsshkey": "",
481478
"chefurl": "",
482479
"ctftimeurl": ""
483480
}

config/config.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ var (
3636
ChatWebhookUrl2 = ""
3737
ChatWebhookUrl3 = ""
3838
GistToken = ""
39-
GoogleCloudProject = "default"
40-
GoogleCloudRegion = "europe-west3-c"
41-
GoogleCloudSSHKey = ""
4239
ChefUrl = "https://gchq.github.io/CyberChef/"
4340
CtfTimeUrl = ""
4441
)
@@ -56,9 +53,6 @@ type Config struct {
5653
ChatWebhookUrl2 string `json:"chatwebhookurl2"`
5754
ChatWebhookUrl3 string `json:"chatwebhookurl3"`
5855
GistToken string `json:"gisttoken"`
59-
GoogleCloudProject string `json:"googlecloudproject"`
60-
GoogleCloudRegion string `json:"googlecloudregion"`
61-
GoogleCloudSSHKey string `json:"googlecloudsshkey"`
6256
ChefUrl string `json:"chefurl"`
6357
CtfTimeUrl string `json:"ctftimeurl"`
6458
}
@@ -132,18 +126,6 @@ func ParseUserConfig() {
132126
GistToken = userConfig.GistToken
133127
}
134128

135-
if len(userConfig.GoogleCloudProject) > 0 {
136-
GoogleCloudProject = userConfig.GoogleCloudProject
137-
}
138-
139-
if len(userConfig.GoogleCloudRegion) > 0 {
140-
GoogleCloudRegion = userConfig.GoogleCloudRegion
141-
}
142-
143-
if len(userConfig.GoogleCloudSSHKey) > 0 {
144-
GoogleCloudSSHKey = userConfig.GoogleCloudSSHKey
145-
}
146-
147129
if len(userConfig.ChefUrl) > 0 {
148130
ChefUrl = userConfig.ChefUrl
149131
}
@@ -183,9 +165,6 @@ func WriteUserConfig() {
183165
userConfig.ChatWebhookUrl2 = ChatWebhookUrl2
184166
userConfig.ChatWebhookUrl3 = ChatWebhookUrl3
185167
userConfig.GistToken = GistToken
186-
userConfig.GoogleCloudProject = GoogleCloudProject
187-
userConfig.GoogleCloudRegion = GoogleCloudRegion
188-
userConfig.GoogleCloudSSHKey = GoogleCloudSSHKey
189168
userConfig.ChefUrl = ChefUrl
190169
userConfig.CtfTimeUrl = CtfTimeUrl
191170

0 commit comments

Comments
 (0)