Problem: I wrote you another song. Put the flag in the picoCTF{} flag format
File: THE_FILE
Solution: Install a transpiler for rockstar to python. Follow the instructions at the repo. https://github.com/yyyyyyyan/rockstar-py
Running the transpiler you get the following code.
Rocknroll = True
Silence = False
a_guitar = 10
Tommy = 44
Music = 170
the_music = input()
if the_music == a_guitar:
print("Keep on rocking!")
the_rhythm = input()
if the_rhythm - Music == False:
Tommy = 66
print(Tommy!)
Music = 79
Jamming = 78
print(Music!)
print(Jamming!)
Tommy = 74
print(Tommy!)
They are dazzled audiences
print(it!)
Rock = 86
print(it!)
Tommy = 73
print(it!)
break
print("Bring on the rock!")
Else print("That ain't it, Chief")
break
Fix the code by removing the ! from the print. You should realize that it prints the following 66 79 78 74
The next part you need to translate they are dazzled audiences. Rockstar syntax assigned the variable They with the value of dazzled audiences. By running
Rock is dazzled audiences
Shout Rock
You get 79
for this part. The print it likely refers to this value.
Same for the next parts.
Altogether you should get the following numbers 66 79 78 74 79 86 73
translate from decimal to text you get BONJOVI
.
Flag: picoCTF{BONJOVI}