diff --git a/docs/en/guide/features/dynamic-flag.mdx b/docs/en/guide/features/dynamic-flag.mdx index 11161da..8919f5b 100644 --- a/docs/en/guide/features/dynamic-flag.mdx +++ b/docs/en/guide/features/dynamic-flag.mdx @@ -123,7 +123,7 @@ encrypted_game_pk = "...some base64..." chal_id = 114 team_token = "114:...some base64..." -# you can get this salt from /api/edit/games/{id}/teamhashsalt +# you can get this salt from /api/edit/games/{id}/hashsalt game_salt = str_sha256(f"GZCTF@{encrypted_game_pk}@PK") # you should calculate this hash by yourself, and put it in challenge diff --git a/docs/ja/guide/features/dynamic-flag.mdx b/docs/ja/guide/features/dynamic-flag.mdx index 092d8d0..a783adf 100644 --- a/docs/ja/guide/features/dynamic-flag.mdx +++ b/docs/ja/guide/features/dynamic-flag.mdx @@ -123,7 +123,7 @@ encrypted_game_pk = "...some base64..." chal_id = 114 team_token = "114:...some base64..." -# you can get this salt from /api/edit/games/{id}/teamhashsalt +# you can get this salt from /api/edit/games/{id}/hashsalt game_salt = str_sha256(f"GZCTF@{encrypted_game_pk}@PK") # you should calculate this hash by yourself, and put it in challenge diff --git a/docs/zh/guide/features/dynamic-flag.mdx b/docs/zh/guide/features/dynamic-flag.mdx index 07f225f..9bff303 100644 --- a/docs/zh/guide/features/dynamic-flag.mdx +++ b/docs/zh/guide/features/dynamic-flag.mdx @@ -123,7 +123,7 @@ encrypted_game_pk = "...some base64..." chal_id = 114 team_token = "114:...some base64..." -# you can get this salt from /api/edit/games/{id}/teamhashsalt +# you can get this salt from /api/edit/games/{id}/hashsalt game_salt = str_sha256(f"GZCTF@{encrypted_game_pk}@PK") # you should calculate this hash by yourself, and put it in challenge