Skip to content

Commit 07a3293

Browse files
committed
docs: update docs..........
1 parent 7c16246 commit 07a3293

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

docs/resources/challenge.md

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,39 @@ This provider builds a cleaner API on top of CTFd's one to improve its adoption
1717

1818
```terraform
1919
resource "ctfd_challenge" "http" {
20-
name = "HTTP Authentication"
21-
category = "network"
22-
description = <<-EOT
23-
Oh no ! I did not see my connection was no encrypted !
24-
I hope no one spied me...
25-
26-
Authors:
27-
- NicolasFgrx
28-
EOT
20+
name = "My Challenge"
21+
category = "misc"
22+
description = "..."
2923
value = 500
3024
initial = 500
31-
decay = 17
25+
decay = 100
3226
minimum = 50
3327
state = "visible"
3428
function = "logarithmic"
3529
3630
flags = [{
37-
content = "24HIUT{Http_1s_n0t_s3cuR3}"
31+
content = "CTF{some_flag}"
3832
}]
3933
4034
topics = [
41-
"Network"
35+
"Misc"
4236
]
4337
tags = [
44-
"network",
45-
"http"
38+
"misc",
39+
"basic"
4640
]
4741
4842
hints = [{
49-
content = "HTTP exchanges are not ciphered."
43+
content = "Some super-helpful hint"
5044
cost = 50
5145
}, {
52-
content = "Content is POSTed in HTTP :)"
46+
content = "Even more helpful hint !"
5347
cost = 50
5448
}]
5549
5650
files = [{
57-
name = "capture.pcapng"
58-
contentb64 = filebase64("${path.module}/capture.pcapng")
51+
name = "image.png"
52+
contentb64 = filebase64(".../image.png")
5953
}]
6054
}
6155
```

docs/resources/user.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ CTFd defines a User as someone who will either play or administrate the Capture
1414

1515
```terraform
1616
resource "ctfd_user" "ctfer" {
17-
username = "CTFer"
17+
name = "CTFer"
1818
email = "ctfer-io@protonmail.com"
1919
password = "password"
2020
21-
# Define as an administration account
21+
# Make the user administrator of the CTFd instance
2222
type = "admin"
2323
verified = true
2424
hidden = true

0 commit comments

Comments
 (0)