We start by downloading the source files.
Our goal is to trigger this part in
if sim_conservative >= 1 or sim_liberal >= 1:
print("Hmmmm, that doesn't seem right...")
print(flag)
After connecting to the server and entering some random inputs, we receive the flag.
nc fakesmarties.chal.cyberjousting.com 1359
Input a comment to test: citizens, pay into the system, raise families here etc, it’s an integral part of the economy. I would even say
Comment is Liberal: (50% confidence)
Input a comment to test:
Input a comment to test: -
Comment is Liberal: (50% confidence)
Input a comment to test: -1
Comment is Conservative: (89% confidence)
Input a comment to test: -0
Comment is Conservative: (54% confidence)
Input a comment to test: -11
Comment is Conservative: (58% confidence)
Input a comment to test: -1
Comment is Conservative: (89% confidence)
Input a comment to test: -2
Comment is Liberal: (50% confidence)
Input a comment to test: -3
Comment is Conservative: (52% confidence)
Input a comment to test: -2
Comment is Liberal: (50% confidence)
Input a comment to test: -1
Comment is Conservative: (89% confidence)
Input a comment to test: 1
Comment is Liberal: (50% confidence)
Input a comment to test: 0
Comment is Liberal: (50% confidence)
Input a comment to test: 9
Comment is Conservative: (105% confidence)
Hmmmm, that doesn't seem right...
byuctf{AI_1s_c00l_br0s}
Sometimes you just need a little luck to get a flag :)