zl程序教程

您现在的位置是:首页 >  其他

当前栏目

【愚公系列】2021年11月 攻防世界-进阶题-MISC-041(Become_a_Rockstar)

2023-04-18 14:26:19 时间

文章目录


一、Become_a_Rockstar?

题目链接:https://adworld.xctf.org.cn/task/task_list?type=misc&number=1&grade=1&page=3

二、答题步骤

1.Rockstar

了解下Rockstar这个编程语言

2.rockstar-py

rockstar-py Become_a_Rockstar.rock

得到一段python代码

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

运行py程序得到flag:NCTF{youarnicerockstar}


总结

  • Rockstar