Explorare

解密加密字符串求思路指导

  •  
  •   Explorare · Oct 15, 2016 · 5096 views
    This topic created in 3685 days ago, the information mentioned may be changed or developed.

    从某社团海报拿到一串神秘代码

    ZkkzLjhsUC41fWE6MjNnMTAuezI2Nw
    

    随手先来个 BASE64 变换结果如下

    fI3.8lP.5}a:23g10.{267
    

    怎么看都不像是个可读内容,但是发现如果拿掉内嵌的 f l a g I P 这六个字母,剩下的是一串可能代表着 IP 和端口号的字符串,如下

    3.8.5}:2310.{267
    

    但是 267 怎么看都不像处于合法 IP 取值范围。 求指点

    Supplement 1  ·  Oct 15, 2016
    问了下出题人,对方说确实是 BASE64 的,但是从第二步似乎就错了 ( ´_ゝ`)
    32 replies  •  2016-10-16 14:46:10 +08:00
    skydiver
    skydiver
    Oct 15, 2016 via Android
    1
    {2673.8.5}:2310
    10.113.8.5:2310
    是个内网地址?
    Explorare
    Explorare
    OP
    Oct 15, 2016
    2
    @skydiver 不知道啊
    Explorare
    Explorare
    OP
    Oct 15, 2016
    3
    看了下第三个字符串中一共有 10 个数字,可能是 base10 的 IPv4 地址,然而转换出来如下

    ```
    ping 3852310267

    Pinging 229.157.150.251 with 32 bytes of data:
    Request timed out.
    ```
    另外也尝试将数组排序, 2310 当顺序提示来重组,如下

    ```
    3.5.82.67
    82.67.5.3
    ```
    然而 82.67.5.3 是法国的 IP 地址,怎么想也不对,反过来得到一个 5.3.78.26 ,是俄罗斯的 IP 。
    Explorare
    Explorare
    OP
    Oct 15, 2016
    4
    @skydiver 从 `2673.8.5` 到 `10.113.8.5` 是怎么完成的转换?
    zhujinliang
    zhujinliang
    Oct 15, 2016
    5
    @Explorare 2673 = 10 * 256 + 113
    Explorare
    Explorare
    OP
    Oct 15, 2016
    6
    @zhujinliang 感谢解答
    Explorare
    Explorare
    OP
    Oct 15, 2016
    7
    @skydiver 提交上去不对,不知所措
    Explorare
    Explorare
    OP
    Oct 15, 2016
    8
    可能我的错误思路雾岛大家了,密文确实是 BASE64 的,剩下的可能是错的。
    xenme
    xenme
    Oct 15, 2016❤️3
    9
    fI3.8lP.5}a:23g10.{267
    1 6 11 15 19 flag{
    2 7 12 16 20 IP:12
    3 8 13 17 21 3.206
    4 9 14 18 22 .53.7
    5 10 8}

    flag{IP:123.206.53.78}
    des
    des
    Oct 15, 2016 via Android
    10
    试试穷举?😁
    xenme
    xenme
    Oct 15, 2016❤️1
    11
    Explorare
    Explorare
    OP
    Oct 15, 2016
    12
    @xenme 这是怎么做到的呢
    zk8802
    zk8802
    Oct 15, 2016
    13
    flag 的格式是什么?合法的 flag 接受哪些字符?

    你可以试试 flag{738P5:12351I} 。
    zk8802
    zk8802
    Oct 15, 2016
    14
    @xenme nice!
    Explorare
    Explorare
    OP
    Oct 15, 2016
    15
    @xenme 明白了,非常感谢
    xenme
    xenme
    Oct 15, 2016
    16
    @Explorare 看图右下角,就是打乱了顺序而已,间隔固定
    wangxiyu191
    wangxiyu191
    Oct 15, 2016
    17
    安全社团的招新题目?
    这招新方式挺好玩的 23333
    Explorare
    Explorare
    OP
    Oct 15, 2016
    18
    wangxiyu191
    wangxiyu191
    Oct 15, 2016
    19
    @Explorare 后面还有个注入和一个逆向。。。楼主加油
    Explorare
    Explorare
    OP
    Oct 15, 2016
    20
    @wangxiyu191 噫,这是安全团队招实习生吧 (|||゚Д゚) 现学 SQL 注入中
    lc4t
    lc4t
    Oct 15, 2016 via iPhone
    21
    招实习也有直接考的么?
    Explorare
    Explorare
    OP
    Oct 15, 2016
    22
    @wangxiyu191 求问那个 reverse.exe 怎么搞下来呢? dump flag 得话只有个字段啊
    xenme
    xenme
    Oct 15, 2016❤️1
    23
    @Explorare 直接输入到 URL 就可以了
    Explorare
    Explorare
    OP
    Oct 15, 2016
    24
    @xenme 好吧现学逆向。( ´_ゝ`)
    tabris17
    tabris17
    Oct 15, 2016
    25
    “黑客”解密闯关游戏么
    Explorare
    Explorare
    OP
    Oct 15, 2016
    26
    @tabris17 不,这是考验你的朋友和坛友的水平的游戏
    xenme
    xenme
    Oct 15, 2016
    27
    @Explorare Welc0me_To_NSC_
    Explorare
    Explorare
    OP
    Oct 15, 2016
    28
    @xenme 求指点,怎样做到的?
    xenme
    xenme
    Oct 15, 2016❤️1
    29
    @Explorare 看了下反汇编,读取的 key 只有 16 个字符,所以,就直接随意输入 16 个字符,然后直接在 strcmp 下断点,然后看下内存里面的 key 就可以了。
    popu111
    popu111
    Oct 16, 2016
    30
    @xenme
    @Explorare 你萌在说啥我咋看不懂。。。
    mingyun
    mingyun
    Oct 16, 2016
    31
    @xenme 厉害
    Kei
    Kei
    Oct 16, 2016
    32
    涉及一些简单的密码学,而不仅仅是计算机技术 bgm38
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1080 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 18:42 · PVG 02:42 · LAX 10:42 · JFK 13:42
    ♥ Do have faith in what you're doing.