Nakiami / mellivora

Mellivora is a CTF engine written in PHP
GNU General Public License v3.0
441 stars 171 forks source link

Multiple correct answers per challenge #71

Open larrymcd opened 8 years ago

larrymcd commented 8 years ago

Is there a way to allow multiply correct answers for a question? I would like to ask something like what windows program allows you to get the network address of a windows box at a command prompt? Then I would allow ipconfig, ipconfig.exe for the answers.

thanks

Nakiami commented 8 years ago

Hi, sounds like a good feature. In the meantime, you could untick the "automark" checkbox for your challenges and mark them all manually.

wroersma commented 7 years ago

I was curious about how much work do you think it would be to allow an option to check a question for multiple possible answers and against a list of incorrect answers that would deduct points from the team. Example Question: What is the c2 of the malware? Answer:(192.168.1.1,192.168.1.2)Incorrect Answer(192.168.1.3) So they could answer 192.168.1.1 and get X points and answer again with 192.168.1.2 and get another X points but if they put in 192.168.1.3 they would lose X points.

Hopefully that makes sense. I'd be happy to attempt to write it if someone could give me some kinda idea of where I would put that validation attempt. Likely an option to select multi-answer input on challenge creation that is checked on question validation that uses a dedicated validation function for multi-answer questions.

wroersma commented 6 years ago

?