mcfx's blog

个人博客,(曾经)基本只放题解,现在随便写点啥了吧(

博客 关于

HackTM CTF Quals 2020 Writeup

February 6, 2020
已有 8 条评论
  1. Trung Trung
    February 17th, 2020 at 03:37 pm

    Hi there, I have read baby_bear writeup, but I can't understand somethings on your exploit code:
    1. def u(x,y):
    return x-y*2.5
    You use u(x,y) to calculate for the order of the heap, what is the base of that ?
    2. def bitxor(s,x):
    xt=x>>3
    return s[:xt]+bytes([s[xt]^(1

    回复
  2. Trung Trung
    February 17th, 2020 at 03:52 pm

    Hi there, I have read baby_bear writeup, but I can't understand somethings on your exploit code:
    1. def u(x,y):
    return x-y*2.5
    You use u(x,y) to calculate for the order of the heap, what is the base of that ?
    2. def bitxor(s,x):
    xt=x>>3
    return s[:xt]+bytes([s[xt]^(1

    回复
    1. admin admin
      March 1st, 2020 at 04:22 am

      In u(x,y), x is current length of input diff, y is current length of matched result, and u(x,y) gives a resonable score of them - to make the result match as much as possible.

      回复
  3. Trung Trung
    February 17th, 2020 at 04:12 pm

    Hi there, I have read baby_bear writeup, but I can't understand somethings on your exploit code:
    1.You use u(x,y) to calculate for the order of the heap, what is the base of that ?
    2.How could you use bitxor to find next bytes? (algorithms or somethings else?)
    Thanks for your help!
    Sorry for those previous noised cmt.

    回复
    1. admin admin
      March 1st, 2020 at 04:24 am

      2. Since we can find these matched results, such bfs(or maybe A*) algorithm will lead to a low score situation, that means y is very large, and that's what we need for the answer.

      回复
      1. Trung Trung
        March 4th, 2020 at 12:45 am

        I didn't know A* algo, check it rn! Thank you so much!

        回复
  4. wxh010910 wxh010910
    March 10th, 2020 at 12:29 pm

    orz mcfx god

    回复
  5. h1st h1st
    April 7th, 2020 at 09:46 am

    sto driver

    回复
取消回复
添加新评论

最新文章

  • 腾讯极客技术挑战赛 第三期 码上种树 Writeup
  • 强网杯 2020 游记
  • DEFCON CTF 2020 游(线上)记
  • 0CTF/TCTF 2020 Quals Writeup
  • “第五空间”智能安全大赛 Writeup
  • De1CTF 2020 Writeup
  • PlaidCTF 2020 Writeup
  • Midnight Sun CTF 2020 Quals Writeup
  • Codegate CTF 2020 Preliminary Writeup
  • HackTM CTF Quals 2020 Writeup

最近回复

  • qq2371366096: recompile_...
  • qq2371366096: recompile_...
  • qq2371366096: 有qq吗 想请教vm...
  • qq2371366096: 有qq吗 想请教vm...
  • admin: qs
  • 用户名: 草 是诈骗吧
  • ATTENTION: 已删除,真有人想看原...
  • GZTime: 我居然在这里刷到了这...
  • mcfxtxdy: mcfx太神了,前来膜拜
  • sposlec: TomTop For...

分类

  • 题目 (0)
  • BZOJ (31)
  • Codeforces (2)
  • 算法 (2)
  • 高精度 (4)
  • 字符串 (0)
  • kmp (1)
  • 回文自动机 (1)
  • SAM (1)
  • 乱搞 (2)
  • 找规律 (2)
  • 暴力 (3)
  • DP (2)
  • 矩阵快速幂 (2)
  • 状压dp (0)
  • 背包dp (1)
  • 数论 (4)
  • 扩展gcd (1)
  • lucas定理 (1)
  • burnside引理 (1)
  • 莫比乌斯反演 (1)
  • 图论 (1)
  • 最短路 (1)
  • 网络流 (0)
  • 最大流 (1)
  • 分治 (0)
  • 二分答案 (1)
  • CDQ分治 (1)
  • 分块 (1)
  • 倍增 (1)
  • LCA (1)
  • 贪心 (1)
  • FFT (1)
  • 并查集 (1)
  • 数据结构 (0)
  • 线段树 (5)
  • LCT (1)
  • 树套树 (1)
  • 树状数组 (3)
  • 点分治 (2)
  • kdtree (1)
  • 杂项 (13)
  • 回忆录 (9)
  • ctf (12)
  • writeup (10)

归档

  • March 2021
  • November 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • June 2019
  • May 2019
  • February 2019
  • December 2018
  • May 2018
  • January 2018
  • November 2017
  • June 2017
  • May 2017
  • April 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016

其它

  • 登录
  • 文章 RSS
  • 评论 RSS
  • Typecho
© 2021 mcfx's blog. 除特殊注明外,本站所有内容遵循 CC BY-SA 3.0 协议发布. Powered by Typecho. Theme by cho.