Skip to main content
edited tags
Link
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k

Is it possible to protect a Bashbash script against a hostile environment?

Bash allows to export read-only variables and functions to the environment.

Also, when a Bashbash script is run, Bash sources the file BASH_ENVBASH_ENV was set to, unless invoked with -p-p.

How do you protect against a hostile environment from within your Bash script? (In a portable way?)

'builtin'builtin or 'unset'unset could be redefined by an attacker.

Is there any way, a Bashbash script can protect itself against a hostile environment?

Is it possible to protect a Bash script against a hostile environment?

Bash allows to export read-only variables and functions to the environment.

Also, when a Bash script is run, Bash sources the file BASH_ENV was set to, unless invoked with -p.

How do you protect against a hostile environment from within your Bash script? (In a portable way?)

'builtin' or 'unset' could be redefined by an attacker.

Is there any way, a Bash script can protect itself against a hostile environment?

Is it possible to protect a bash script against a hostile environment?

Bash allows to export read-only variables and functions to the environment.

Also, when a bash script is run, Bash sources the file BASH_ENV was set to, unless invoked with -p.

How do you protect against a hostile environment from within your Bash script? (In a portable way?)

builtin or unset could be redefined by an attacker.

Is there any way, a bash script can protect itself against a hostile environment?

Became Hot Network Question
deleted 1 character in body
Source Link
anick
  • 601
  • 5
  • 15

Is it possible to protect a Bash scriptsscript against a hostile environment?

Bash allows to export read-only variables and functions to the environment.

Also, when a Bash script is run, Bash sources the file $BASH_ENVBASH_ENV was set to, unless invoked with -p.

How do you protect against a hostile environment from within your Bash script? (In a portable way?)

'builtin' or 'unset' could be redefined by an attacker.

Is there any way, a Bash script can protect itself against a hostile environment?

Is it possible to protect Bash scripts against a hostile environment?

Bash allows to export read-only variables and functions to the environment.

Also, when a Bash script is run, Bash sources the file $BASH_ENV was set to, unless invoked with -p.

How do you protect against a hostile environment from within your Bash script? (In a portable way?)

'builtin' or 'unset' could be redefined by an attacker.

Is there any way, a Bash script can protect itself against a hostile environment?

Is it possible to protect a Bash script against a hostile environment?

Bash allows to export read-only variables and functions to the environment.

Also, when a Bash script is run, Bash sources the file BASH_ENV was set to, unless invoked with -p.

How do you protect against a hostile environment from within your Bash script? (In a portable way?)

'builtin' or 'unset' could be redefined by an attacker.

Is there any way, a Bash script can protect itself against a hostile environment?

added 24 characters in body
Source Link
anick
  • 601
  • 5
  • 15
Loading
deleted 1 character in body
Source Link
anick
  • 601
  • 5
  • 15
Loading
deleted 1 character in body
Source Link
anick
  • 601
  • 5
  • 15
Loading
added 5 characters in body
Source Link
anick
  • 601
  • 5
  • 15
Loading
Source Link
anick
  • 601
  • 5
  • 15
Loading