zoukankan      html  css  js  c++  java
  • 武科WUST-CTF2020“Tiki组 ”

     

    赛事信息

    官网地址:https://ctfgame.w-ais.cn/
    参赛地址:https://ctfgame.w-ais.cn/
    起止时间:2020-03-27 18:00:00 - 2020-03-29 21:00:00

    题目状态:

    OPEN - 正在试图解这道题
    CLOSED - 这道题还没有打开
    SOLVED - 解决了!鼓掌撒花!

     

     

    Reverse:

    在这里插入图片描述

    Pwn:

    在这里插入图片描述

    Misc:

    Find me | SOLVED |

    打开winhex,找一下就发现了flag图片: https://uploader.shimo.im/f/fzrgyHxDWvcLgxON.png

    wctf2020{y00u_f11ndd_Meeeeee$e}

    爬 | SOLVED |

    得到文件,打开winhex发现是pdf格式,然后提示出flag在图片下面,踢开图片有了一串密码图片: https://uploader.shimo.im/f/20YmIW0e7uAOktS0.png图片: https://uploader.shimo.im/f/FdahZfSq4Fca8YqO.png

    wctf2020{th1s_1s_@_pdf_and_y0u_can_use_phot0sh0p}

    签到 | SOLVED |

    wctf2020{y0u_kn0w_th3_rule5}

    Alison likes jojo | SOLVED |

    发现pk 提取出zip寻找密码中,密码是 888866 然后或则密码图片: https://uploader.shimo.im/f/KwkJ9mPasOAyEYoU.png
    然后发现是套娃解一下发现是图片: https://uploader.shimo.im/f/DUU91EemJQYGhWXC.png没错就是我们的jojo,然后兴奋的提交是错的,后面发现还有一个图片没用,我觉得他可能是密码就去试试

    outguess -k "killerqueen" -r jljy.jpg hidden.txt
    

    wctf2020{pretty_girl_alison_likes_jojo}

    Space Club | SOLVED |

    发现里面有空格,看见凹凸不平的,当时以为是莫斯,可惜不是
    然后就转移到二进制上面
    以下是脚本py3.7代码:

    #! /usr/bin/env python
    #-*- coding: utf-8 -*-
    #读取文本内容 ftxt = open("./space.txt")#待解密文本 line = ftxt.readline() string = [] while line:
        # 6个空格7长度,计0
        if (len(line) == 7):
            string.append(0)
        # 12个空格13长度,计1
        if (len(line) == 13):
            string.append(1)
        line = ftxt.readline() ftxt.close()
    #print(string) str3=[1] for i in range(int(len(string) / 8)):
        #print(string[8 * i:8 * i + 8])
        str2 = string[8 * i:8 * i + 8]
        asc = 0
        if (str2[0:1] == str3):
            asc = asc + 128
        if (str2[1:2] == str3):
            asc = asc + 64
        if (str2[2:3] == str3):
            asc = asc + 32
        if (str2[3:4] == str3):
            asc = asc + 16
        if (str2[4:5] == str3):
            asc = asc + 8
        if (str2[5:6] == str3):
            asc = asc + 4
        if (str2[6:7] == str3):
            asc = asc + 2
        if (str2[7:8] == str3):
            asc = asc + 1
        print(chr(asc),end='')

    wctf2020{h3re_1s_y0ur_fl@g_s1x_s1x_s1x}

    三人行 | SOLVED |

    图片: https://uploader.shimo.im/f/N6fhKya5Wa4uXhiM.png
    用 TFBOYS 的照片识别即可。

    wctf2020{We1cOme_t0_wCtF2o20_aNd_eNj0y_1t}

    girlfriend | SOLVED |

    题目给了一段录音,判断为九键的按键音,通过软件一个个判断出来后,得到图片: https://uploader.shimo.im/f/U4H5UqOlK4E6oYjz.png
    这样一段,提交发现不对,于是测试了好多次之后,发现flag为

    wctf2020{youaremygirlfriends}

    Crypto:

    佛说:只能四天 | OPEN |

    用新佛曰破解,在社会主义价值观破解
    图片: https://uploader.shimo.im/f/MJPWYOMx4nMDsrAa.png图片: https://uploader.shimo.im/f/GHP9t8GtkoAq6lXp.pngRLJDQTOVPTQ6O6duws5CD6IB5B52CC57okCaUUC3SO4OSOWG3LynarAVGRZSJRAEYEZ_ooe_doyouknowfence
    呜呜呜,不会了呜呜呜在这里插入图片描述

    大数运算 | SOLVED |

    flag等于 wctf2020{Part1-Part2-Part3-Part4} 每一Part都为数的十六进制形式(不需要0x),并用
    ‘-’ 连接。 Part1 = 2020×2019×2018× … ×3×2×1 的前8位: 十进制数前8位:
    38609695,十六进制0x24d231f Part2 = 520^1314 + 2333^666 的前8位: 十进制数前8位:
    67358675,0x403cfd3 Part3 = 宇宙终极问题的答案 x, y, z绝对值和的前8位:
    宇宙终极问题的答案http://www.360doc.com/content/19/0907/17/28085222_859686590.shtml
    42 =(-80538738812075974)³+ 80435758145817515³+ 12602123297335631³
    十进制数前8位: 17357662,0x403cfd3 Part4 = 见图片附件,计算结果乘上1314。 5201314
    生命、宇宙、万物的终极答案是42。现在,数学家终于谱写了42的三个整数的立方和。 图片:https://uploader.shimo.im/f/ThHTT2keouQlBRZl.png=22^2+36=520,
    520
    1314=683280 十进制数683280,0xa6d10 python代码:

    #! /usr/bin/env python
    # -*- coding: utf-8 -*-
    import gmpy2
    part1=1
    for i in range(1,2021):
        part1=part1*i
    p1=str(part1)[0:8]
    print(p1)
    part1=hex(int(p1))
    print(part1)
    part2=pow(520,1314)+pow(2333,666)
    p2=str(part2)[0:8]
    part2=hex(int(p2))
    print(part2)
    part3 = 80538738812075974 + 80435758145817515 + 12602123297335631
    p3=str(part3)[0:8]
    part3=hex(int(p3))
    print(part3)
    part4=(pow(22,2)+36)*1314
    part4=hex(part4)
    p4=str(part4)
    print(p4)
    print('wctf2020{'+str(part1)+'-'+str(part2)+'-'+str(part3)+'-'+str(p4)+'}')

    结果: wctf2020{0x24d231f-0x403cfd3-0x108db5e-0xa6d10}
    去0x:

    wctf2020{24d231f-403cfd3-108db5e-a6d10}

    丸~~~~

    谢谢客官观看~~

  • 相关阅读:
    The bean 'xxx' could not be injected as a 'xxx'because it is a JDK dynamic proxy that implements
    JQuery对象选择详细说明
    C#将image中的显示的图片转换成二进制
    选择一个图片文件,并且用PictureBox表示在Form上
    Android推送方案分析(MQTT/XMPP/GCM)
    [转载]什么是 Design Hackathon?
    脚本启动MySql服务
    Mysql数据库插入数据乱码问题,解决方案!
    MySQL自动备份脚本
    读取Excel模板,写入数据,并别输出另存为Excel文件
  • 原文地址:https://www.cnblogs.com/Mercurysur/p/12594759.html
Copyright © 2011-2022 走看看