2019_NJUPTCTF/攻防世界:MISC-Become_a_Rockstar
一个名字为Become_a_Rockstar.rock的文件,打开只有这几句话:
Leonard Adleman says star Problem Makers is Problem Makers Problem Makers says NCTF{ God takes World A boy says flag The boy is Bob Evil takes your mind A girl says no flag The girl is Alice Truths were ctf hoster violently FUCK Bob says ar Adi Shamir says rock Love takes Alice and Bob Mallory was a eavesdroppers Mallory's in hell Everything is literatures, potentially flag, Earth, description, soul Alice says you Reality takes God and Evil God was in heaven Evil is in the world Ron Rivest says nice You Want To takes Alice and Love and Anything You's Loser. Without Alice, Love or Anything Listen to your heart You were Loser Listen to your mind Nothing was psb unfulfilled If Truths of Nothing is Everything Put Ron Rivest with Adi Shamir with Leonard Adleman into RSA If Everything over Nothing is Truths Put Problem Makers with Alice into Problem Makers with Bob Say Problem Makers The flag is in your heart The confusion is in your mind Shout RSA Mysterious One says } Whisper Mysterious One This is live This is the truth This is reality This is art This is CTF This is NOT program
脑袋发懵+一头雾水。。想到诗歌密码然后又自我否定了。
查了下资料发现有一门语言叫rockstar
github.com
接下来就要用解释器把它翻译成python:
【1】sudo pip install rockstar-py或git clone https://github.com/yanorestes/rockstar-py.git 【2】rockstar-py --output OUTPUT.py xxxxx.rock
Leonard_Adleman = "star" Problem_Makers = 76 Problem_Makers = "NCTF{" def God(World): a_boy = "flag" the_boy = 3 def Evil(your_mind): a_girl = "no flag" the_girl = 5 Truths = 3694 Bob = "ar" Adi_Shamir = "rock" def Love(Alice, Bob): Mallory = 13 Mallory = 24 Everything = 114514 Alice = "you" def Reality(God, Evil): God = 26 Evil = 235 Ron_Rivest = "nice" def You_Want_To(Alice, Love, Anything): You = 5.75428 your_heart = input() You = 5 your_mind = input() Nothing = 31 if Truths * Nothing == Everything: RSA = Ron_Rivest + Adi_Shamir + Leonard_Adleman if Everything / Nothing == Truths: Problem_Makers = Problem_Makers + Alice + Bob print(Problem_Makers) the_flag = 245 the_confusion = 244 print(RSA) Mysterious_One = "}" print(Mysterious_One) This = 4 This = 35 This = 7 This = 3 This = 3 This = 37
运行得到flag。