爱意满满的作品展示区。
frjalex

Bash 的 Shell Shock 漏洞一键修复脚本 ShellShockFixer

  •  
  •   frjalex · Sep 27, 2014 · 3929 views
    This topic created in 4289 days ago, the information mentioned may be changed or developed.
    修复Bash漏洞“ShellShock"最简单的办法:全自动脚本ShellShockFixer,能修复CentOS, OpenSuSE, Debian 6/7, Aliyun Linux, Ubuntu等主流系统的漏洞.
    原理:1.根据官方最新补丁修复 2.用chmod 3.用iptables.具体参见源码。
    作者:Alex Fang
    Lisence: GPLv2.
    BUG: frjalex#gmail.com
    下载: https://github.com/frjalex/useful/blob/master/shellshockfixer.sh
    4 replies    2014-09-29 09:30:00 +08:00
    bcxx
        1
    bcxx  
       Sep 27, 2014
    这 bash 写出了 bat 的味道啊……
    LazyZhu
        2
    LazyZhu  
       Sep 27, 2014
    呵呵,这么多 if...elif... 不是一般都用 case...in... 么
    iptux
        3
    iptux  
       Sep 27, 2014
    if ErrorLevel 11 XXX
    if ErrorLevel 9 XXX
    if ErrorLevel 8 XXX
    ...

    好久不写,好像是这样的
    xiaket
        4
    xiaket  
       Sep 29, 2014
    最后那个`chmod o-x bash`看不太懂.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 18:53 · PVG 02:53 · LAX 11:53 · JFK 14:53
    ♥ Do have faith in what you're doing.