首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >【愚公系列】2021年11月 攻防世界-进阶题-MISC-041(Become_a_Rockstar)

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

作者头像
愚公搬代码
发布2021-12-03 14:37:42
发布2021-12-03 14:37:42
5450
举报
文章被收录于专栏:历史专栏历史专栏

文章目录


一、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代码

代码语言:javascript
复制
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
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2021/11/26 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 文章目录
  • 一、Become_a_Rockstar?
  • 二、答题步骤
    • 1.Rockstar
    • 2.rockstar-py
  • 总结
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档