From 03cd6bdfbd473dba3f3dc50a1b15e389aac5bc70 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Wed, 7 Jan 2026 23:39:53 +0000 Subject: Initial commit --- web/views/auth.html | 51 +++++++++++++++++++++ web/views/f_auth_error.html | 3 ++ web/views/f_deploy.html | 32 +++++++++++++ web/views/f_instance.html | 28 ++++++++++++ web/views/f_instance_result.html | 4 ++ web/views/index.html | 98 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 216 insertions(+) create mode 100644 web/views/auth.html create mode 100644 web/views/f_auth_error.html create mode 100644 web/views/f_deploy.html create mode 100644 web/views/f_instance.html create mode 100644 web/views/f_instance_result.html create mode 100644 web/views/index.html (limited to 'web/views') diff --git a/web/views/auth.html b/web/views/auth.html new file mode 100644 index 0000000..995815a --- /dev/null +++ b/web/views/auth.html @@ -0,0 +1,51 @@ + + + + + + Challenge Instancer + + + + + + + + + +
+
+
+
+
+

Enter a team ID

+ +
+ +
+
+ ID + + + +
+
+
+
+ +
+
+

+ Attacking this platform is out of scope of the CTF and is forbidden. + If there are any issues, please speak to an organiser. +

+
+
+
+
+
+ + + diff --git a/web/views/f_auth_error.html b/web/views/f_auth_error.html new file mode 100644 index 0000000..4ebdac3 --- /dev/null +++ b/web/views/f_auth_error.html @@ -0,0 +1,3 @@ + diff --git a/web/views/f_deploy.html b/web/views/f_deploy.html new file mode 100644 index 0000000..52edd5f --- /dev/null +++ b/web/views/f_deploy.html @@ -0,0 +1,32 @@ +
+ +
+ +
+
Deploying {{.Challenge}}
+ +
+ +
+
+
+
+
+ Deployment requested +
+
+ +
+ +
Instance {{.DeployKey}}
+
+ + +
+
diff --git a/web/views/f_instance.html b/web/views/f_instance.html new file mode 100644 index 0000000..1518ee2 --- /dev/null +++ b/web/views/f_instance.html @@ -0,0 +1,28 @@ +{{range .Instances}} + + +
+ {{.Address}} + + Expires in {{.ExpiresIn}} + + Instance {{.DeployKey}} of {{.ChallengeName}} +
+ + + + + +{{else}} + + +Your team does not have any instances + + +{{end}} diff --git a/web/views/f_instance_result.html b/web/views/f_instance_result.html new file mode 100644 index 0000000..85bd4eb --- /dev/null +++ b/web/views/f_instance_result.html @@ -0,0 +1,4 @@ + diff --git a/web/views/index.html b/web/views/index.html new file mode 100644 index 0000000..97edc88 --- /dev/null +++ b/web/views/index.html @@ -0,0 +1,98 @@ + + + + + Challenge Instancer + + + + + + + + + +
+
+
+
+
+

Deploy challenge

+ +
+
+ Challenge + + +
+
+
+
+ +
+
+
+
Instances
+ Refreshing +
+ +
+ + + + + + + + + + + +
InstanceControls
+
+
+ +
+ +
+
+
+
+
What is this?
+

+ This platform allows you to spawn an instance of a challenge for your team. + Each instance is shared across your team and can be stopped at any time. +

+

+ Instances will automatically stop after a while; if more time is needed then + you can stop the instance and deploy a new one. +

+

+ Attacking this platform is out of scope of the CTF and is forbidden. + If there are any issues, please speak to an organiser. +

+
+
+
+ + Logged in as {{.Team}}. + Not you? + +
+
+
+
+ + + -- cgit v1.2.3-70-g09d2