2018.rev

作者: n0va | 来源:发表于2018-11-02 20:30 被阅读0次

    运行,报错

    2018.rev: 2018.c:67: main: Assertion `argc == 2018 && argv[0][0] == 1 && envp[0][0] == 1' failed.
    

    于是我们在gdb中通过设置寄存器来绕过保护。


    修改前
    image.png
    修改后

    但是又报了第二个错

    Bad timing, you should open this at 2018/1/1 00:00:00 (UTC) :(
    

    由于程序的运行时间是从/etc/localtime读取的,所以我们可以写个shell脚本不断的更改localtime来绕过,

    #!/usr/bin/env bash
    
    while true
    do
        sudo date -us "2018-01-01 00:00:00"
    done
    
    image.png

    相关文章

      网友评论

          本文标题:2018.rev

          本文链接:https://www.haomeiwen.com/subject/nathxqtx.html