36
36
ChatWebhookUrl2 = ""
37
37
ChatWebhookUrl3 = ""
38
38
GistToken = ""
39
- GoogleCloudProject = "default"
40
- GoogleCloudRegion = "europe-west3-c"
41
- GoogleCloudSSHKey = ""
42
39
ChefUrl = "https://gchq.github.io/CyberChef/"
43
40
CtfTimeUrl = ""
44
41
)
@@ -56,9 +53,6 @@ type Config struct {
56
53
ChatWebhookUrl2 string `json:"chatwebhookurl2"`
57
54
ChatWebhookUrl3 string `json:"chatwebhookurl3"`
58
55
GistToken string `json:"gisttoken"`
59
- GoogleCloudProject string `json:"googlecloudproject"`
60
- GoogleCloudRegion string `json:"googlecloudregion"`
61
- GoogleCloudSSHKey string `json:"googlecloudsshkey"`
62
56
ChefUrl string `json:"chefurl"`
63
57
CtfTimeUrl string `json:"ctftimeurl"`
64
58
}
@@ -132,18 +126,6 @@ func ParseUserConfig() {
132
126
GistToken = userConfig .GistToken
133
127
}
134
128
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
-
147
129
if len (userConfig .ChefUrl ) > 0 {
148
130
ChefUrl = userConfig .ChefUrl
149
131
}
@@ -183,9 +165,6 @@ func WriteUserConfig() {
183
165
userConfig .ChatWebhookUrl2 = ChatWebhookUrl2
184
166
userConfig .ChatWebhookUrl3 = ChatWebhookUrl3
185
167
userConfig .GistToken = GistToken
186
- userConfig .GoogleCloudProject = GoogleCloudProject
187
- userConfig .GoogleCloudRegion = GoogleCloudRegion
188
- userConfig .GoogleCloudSSHKey = GoogleCloudSSHKey
189
168
userConfig .ChefUrl = ChefUrl
190
169
userConfig .CtfTimeUrl = CtfTimeUrl
191
170
0 commit comments