Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: GOPJ
Sure thing. That one liner of code, BTW, is a good test for whether your /bin/bash is vulnerable or not.

Just copy/paste that line at a Bash prompt and hit return. If it prints out:

vulnerable
this is a test
then your Bash has the flaw. OTOH, if it prints out:
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
then your Bash is safe from this bug.
10 posted on 09/25/2014 8:15:46 PM PDT by dayglored (Listen, strange women lying in ponds distributing swords is...sounding pretty good about now.)
[ Post Reply | Private Reply | To 9 | View Replies ]


To: dayglored; GOPJ

... Minus the “prompt$” part, of course. That represents the shell prompt you’re entering the command at.


11 posted on 09/25/2014 8:17:03 PM PDT by dayglored (Listen, strange women lying in ponds distributing swords is...sounding pretty good about now.)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: dayglored

Thanks ... I suspect you’ve forgotten more about code than I’ll ever know. That said I’m thankful you’re here..


12 posted on 09/25/2014 8:39:10 PM PDT by GOPJ ("The welfare of humanity is always the alibi of tyrants" - Albert Camus)
[ Post Reply | Private Reply | To 10 | View Replies ]

To: dayglored

I patched 114 various distributions of Linux systems for this bug and ran that same test today, but I changed the “this is a test part” to “System is not vulnerable.” Too bad I didn’t already have Chef configured... One of these days...


14 posted on 09/25/2014 9:50:13 PM PDT by scripter
[ Post Reply | Private Reply | To 10 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson