Manager topic CTF (Don’t look please)

@Leaders can someone unlist this please?
So, I decided to make it now.
This is the topic for the managers, I’ll tag you guys soon.

2 Likes

Thanks!
@Nobody @noobcoder2000 @GOATGAMES @anon56607322

So, here’s the game plan:
I would like the CTF to start in two weeks. So, that means we have two weeks to create as many puzzles as we can. There are two types of puzzles:
Hopscotch-related puzzles
Computers-related puzzles

Hopscotch puzzles will be puzzles hidden inside of hopscotch projects. So, hide the flags in texts, strings, whatever. Hide them well, and hide them originally. Try and split them up across a project (for some, keep some easy.)

Computers-related puzzles will be split up into subcategories:
Programming related puzzles
Cryptography puzzles
And other puzzles (you’ll see)

BEFORE YOU START, we need to make a HS profile for all of us, to store the puzzles. I can’t make it at the moment, so if someone else can, please do so. Make the name something unrelated to the competition (to make it harder to find) and all projects published on it should be named P< number of puzzle >, to keep everything tidy.

Thanks for helping!

4 Likes

Ok so make a project, and put a secret puzzle inside? I’ll make the account

1 Like

I can’t think of a name…

1 Like

The account will be for all the Hopscotch puzzles of the CTF.
Use a randomly generated name. Make the password HSCTF20, please.

1 Like

Ok so it can be a childish name?

1 Like

Yeah, no problem. That’s better, because it won’t stand out. We’ll change it when the CTF begins

1 Like

SweetFlipFlop44 Is the username

1 Like

Okay, thanks!

IMPORTANT:
The HS account that we will be using for the HS puzzles:
Username: SweetFlipFlop44
Password: HSCTF20

2 Likes

So we can hide things? Yes yes yes, we can use secret blocks for this technique yes yes

1 Like

What do you mean by “hide”?
It still has to be findable… (I don’t know much about the secret blocks)

1 Like

If you put secret rainbow block in open text blocks, you have a rainbow block that can only be accessed if you find the original object itself.

1 Like

You’ll have to show me. But sounds fine.

1 Like

can I make a project on my own profile, give the link here, then one of you guys remix it?

1 Like

I made two puzzles (written in C) they shouldn’t be too hard, and I don’t think you really need to know C to answer them.

Puzzle 1

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(int argc, char ** argv){
int var;
char code = “hsCTF{first flag}”;

if(argc != 2){
    printf("Usage: %s <arg 1>\n", argv[0]);
    goto cleanup;
}

var = strcmp(code, argv[1]);
if(0 == var){
    printf("Good job!\n");
}
else{
    printf("Nope, %s is not right.\n", argv[1]);
}

cleanup:
exit(0);
}

Puzzle 2

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(int argc, char ** argv){
char buffer = {‘h’, ‘s’, ‘w’, ‘c’, ‘e’, ‘f’, ‘g’, ‘f’, ‘o’, ‘d’, ‘a’, ‘n’, ‘}’};

char code[20] = {0};
int difference;

if(2 != argc){
    printf("Usage: %s <arg q>\n", argv[0]);
    goto cleanup;
}

sprintf(code, "hsCTF{%c%c%c%c%c%c%c%c%c", buffer[1], buffer[4], buffer[3], buffer[8], buffer[11], buffer[9], buffer[12], buffer[3], buffer[7]);
difference = strncmp(code, argv[1], 12);
if(0 == difference){
    printf("Very good!\n");
}
else{
    printf("Nope.\n");
}

cleanup:
exit(0);
}

Tell me what you guys think (these are supposed to be the easiest puzzles in the C part)

1 Like

Yeah, no problem.

1 Like

so for the first one you have to type in 0 to solve it?

and the second one is “Hsctf{secondcf}”?

1 Like

No, the answer is hsCTF{first_flag} (the forum seemed to have deleted the underscore)
It’s an argument you have to pass to it when you run the program.
The second is hsCTF{second}

1 Like

shouldn’t it be “secondcf” since the buffer[3], buffer[7] at the end is cf?

1 Like