simon7
V2EX  ›  macOS

更新了 BashUpdate1.0 怎么还是这样子?

  •  
  •   simon7 · Sep 30, 2014 · 3846 views
    This topic created in 4244 days ago, the information mentioned may be changed or developed.
    my-air:~ Evrins$ bash -version
    GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin13)
    Copyright (C) 2007 Free Software Foundation, Inc.
    my-air:~ Evrins$ env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
    this is a test
    更新了,还是这样啊。
    Supplement 1  ·  Sep 30, 2014
    原来是这样子~
    4 replies    2014-10-01 08:17:15 +08:00
    Tink
        1
    Tink  
    PRO
       Sep 30, 2014   ❤️ 1

    vulnerable了
    pfitseng
        2
    pfitseng  
       Sep 30, 2014   ❤️ 1
    函数外的命令没执行了,bash -c 当然执行了,总之解决了
    solu
        3
    solu  
       Sep 30, 2014   ❤️ 1
    geeti
        4
    geeti  
       Oct 1, 2014
    其实。。。看不懂的话就没必要更新的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5948 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 67ms · UTC 02:15 · PVG 10:15 · LAX 19:15 · JFK 22:15
    ♥ Do have faith in what you're doing.