OXIESEC PANEL
- Current Dir:
/
/
lib
/
python3.6
/
site-packages
/
urllib3
/
contrib
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/06/2024 10:10:39 AM
rwxr-xr-x
📄
__init__.py
0 bytes
04/17/2019 05:46:22 PM
rw-r--r--
📁
__pycache__
-
12/06/2024 10:10:39 AM
rwxr-xr-x
📄
_appengine_environ.py
717 bytes
04/17/2019 05:46:22 PM
rw-r--r--
📁
_securetransport
-
12/06/2024 10:10:38 AM
rwxr-xr-x
📄
appengine.py
10.66 KB
04/17/2019 05:46:22 PM
rw-r--r--
📄
ntlmpool.py
4.35 KB
04/17/2019 05:46:22 PM
rw-r--r--
📄
pyopenssl.py
15.48 KB
04/17/2019 05:46:22 PM
rw-r--r--
📄
securetransport.py
29.6 KB
04/17/2019 05:46:22 PM
rw-r--r--
📄
socks.py
6.24 KB
04/17/2019 05:46:22 PM
rw-r--r--
Editing: _appengine_environ.py
Close
""" This module provides means to detect the App Engine environment. """ import os def is_appengine(): return (is_local_appengine() or is_prod_appengine() or is_prod_appengine_mvms()) def is_appengine_sandbox(): return is_appengine() and not is_prod_appengine_mvms() def is_local_appengine(): return ('APPENGINE_RUNTIME' in os.environ and 'Development/' in os.environ['SERVER_SOFTWARE']) def is_prod_appengine(): return ('APPENGINE_RUNTIME' in os.environ and 'Google App Engine/' in os.environ['SERVER_SOFTWARE'] and not is_prod_appengine_mvms()) def is_prod_appengine_mvms(): return os.environ.get('GAE_VM', False) == 'true'