Skip to main content
added 135 characters in body
Source Link
user147505
user147505

WARNING - this question is about the Bash before the vulnerability, due to which it was changed.


I have seen something like this in my bash ENV:

module=() { eval `/usr/bin/modulecmd bash $*` } 

How does this construct work? What is it called?

I'm not asking about modulecmd, I am asking about the entire construct.

I have seen something like this in my bash ENV:

module=() { eval `/usr/bin/modulecmd bash $*` } 

How does this construct work? What is it called?

I'm not asking about modulecmd, I am asking about the entire construct.

WARNING - this question is about the Bash before the vulnerability, due to which it was changed.


I have seen something like this in my bash ENV:

module=() { eval `/usr/bin/modulecmd bash $*` } 

How does this construct work? What is it called?

I'm not asking about modulecmd, I am asking about the entire construct.

edited tags
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k
improved formmating
Source Link
Nidal
  • 9.1k
  • 11
  • 59
  • 74

I have seen something like this in my bash ENV:

module=() { eval /usr/bin/modulecmd bash $* }

module=() { eval `/usr/bin/modulecmd bash $*` } 

How does this construct work? What is it called?

I'm not asking about modulecmd, I am asking about the entire construct.

I have seen something like this in my bash ENV:

module=() { eval /usr/bin/modulecmd bash $* }

How does this construct work? What is it called?

I'm not asking about modulecmd, I am asking about the entire construct.

I have seen something like this in my bash ENV:

module=() { eval `/usr/bin/modulecmd bash $*` } 

How does this construct work? What is it called?

I'm not asking about modulecmd, I am asking about the entire construct.

Source Link
mcede
  • 103
  • 1
  • 6
Loading