exploitable icon indicating copy to clipboard operation
exploitable copied to clipboard

pyenv virtualenv not detected

Open bannsec opened this issue 8 years ago • 0 comments

Folks,

Looks like you're not properly detecting being inside a pyenv virtual environment. It does not have the same sys attribute that you're checking for. It does have a few environmental variables that get set:

  • PYENV_VIRTUAL_INIT=1
  • VIRTUAL_ENV=/blerg
  • PYENV_VIRTUAL_ENV=/blerg

bannsec avatar Apr 03 '17 21:04 bannsec