Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 1, 2023 01:50 pm GMT

Ready Gladiator 1

Ready Gladiator 1

200 points

Description
Can you make a CoreWars warrior that wins?
Your opponent is the Imp. The source is available here. If you wanted to pit the Imp against himself, you could download the Imp and connect to the CoreWars server like this:
nc saturn.picoctf.net port number < imp.red
To get the flag, you must beat the Imp at least once out of the many rounds.

Note: This challenge launches an instance on demand.

I tried asking chatGPT to help me understand the syntax and what to do, but it gave me 3 programs that just lost with a weird syntax.

So the next thing I did is google, a reddit thread where someone asks how to beat the Imp gave the instructions:

sub 1, -10jmp -1
;redcode;name Paper-Scissors-Rock;assert 1sub 1, -10jmp -1end

and this code won 40 out of a 100 wins and got me the flag (still don't understand the game mostly...)

picoCTF{your flag}


Original Link: https://dev.to/brunoblaise/ready-gladiator-1-2k21

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To