pywebexec 1.1.3__py3-none-any.whl → 1.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pywebexec/pywebexec.py +2 -0
- pywebexec/version.py +2 -2
- {pywebexec-1.1.3.dist-info → pywebexec-1.1.4.dist-info}/METADATA +3 -3
- {pywebexec-1.1.3.dist-info → pywebexec-1.1.4.dist-info}/RECORD +8 -8
- {pywebexec-1.1.3.dist-info → pywebexec-1.1.4.dist-info}/LICENSE +0 -0
- {pywebexec-1.1.3.dist-info → pywebexec-1.1.4.dist-info}/WHEEL +0 -0
- {pywebexec-1.1.3.dist-info → pywebexec-1.1.4.dist-info}/entry_points.txt +0 -0
- {pywebexec-1.1.3.dist-info → pywebexec-1.1.4.dist-info}/top_level.txt +0 -0
pywebexec/pywebexec.py
CHANGED
|
@@ -382,6 +382,8 @@ def run_command(command, params, command_id):
|
|
|
382
382
|
|
|
383
383
|
@app.before_request
|
|
384
384
|
def check_authentication():
|
|
385
|
+
if not app.config['USER'] and not app.config['LDAP_SERVER']:
|
|
386
|
+
return
|
|
385
387
|
if 'username' not in session and request.endpoint not in ['login', 'static']:
|
|
386
388
|
return auth.login_required(lambda: None)()
|
|
387
389
|
|
pywebexec/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: pywebexec
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: Simple Python HTTP Exec Server
|
|
5
5
|
Home-page: https://github.com/joknarf/pywebexec
|
|
6
6
|
Author: Franck Jouvanceau
|
|
@@ -63,7 +63,7 @@ Requires-Dist: ldap3>=2.9.1
|
|
|
63
63
|
[](https://pypi.org/project/pywebexec/)
|
|
64
64
|

|
|
65
65
|
[](https://shields.io/)
|
|
66
|
-
[](https://pepy.tech/
|
|
66
|
+
[](https://pepy.tech/projects/pywebexec)
|
|
67
67
|
[](https://shields.io/)
|
|
68
68
|
|
|
69
69
|
# pywebexec
|
|
@@ -122,7 +122,7 @@ Generated password is given if no `--pasword` option
|
|
|
122
122
|
$ export PYWEBEXEC_LDAP_SERVER=ldap://ldap.forumsys.com:389
|
|
123
123
|
$ export PYWEBEXEC_LDAP_BIND_DN="cn=read-only-admin,dc=example,dc=com"
|
|
124
124
|
$ export PYWEBEXEC_LDAP_BIND_PASSWORD="password"
|
|
125
|
-
$ export PYWEBEXEC_LDAP_GROUPS=ou=mathematicians,ou=scientists
|
|
125
|
+
$ export PYWEBEXEC_LDAP_GROUPS="ou=mathematicians,ou=scientists"
|
|
126
126
|
$ export PYWEBEXEC_LDAP_USER_ID="uid"
|
|
127
127
|
$ export PYWEBEXEC_LDAP_BASE_DN="dc=example,dc=com"
|
|
128
128
|
$ pywebexec
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
pywebexec/__init__.py,sha256=4spIsVaF8RJt8S58AG_wWoORRNkws9Iwqprj27C3ljM,99
|
|
2
|
-
pywebexec/pywebexec.py,sha256=
|
|
3
|
-
pywebexec/version.py,sha256=
|
|
2
|
+
pywebexec/pywebexec.py,sha256=yGx5OkTNFovjsludN5hdX43qoHb7W3FoxmDuJzlq2CU,21229
|
|
3
|
+
pywebexec/version.py,sha256=brc3EU71mZA9asOME8iysoTn-c47chyHktVSHy5RgXs,411
|
|
4
4
|
pywebexec/static/css/style.css,sha256=NiBoOzZ35eBM1ZP2HFNda-dzOsAv4xRPh3vsvVgLL9c,2513
|
|
5
5
|
pywebexec/static/images/aborted.svg,sha256=_mP43hU5QdRLFZIknBgjx-dIXrHgQG23-QV27ApXK2A,381
|
|
6
6
|
pywebexec/static/images/copy.svg,sha256=d9OwtGh5GzzZHzYcDrLfNxZYLth1Q64x7bRyYxu4Px0,622
|
|
@@ -12,9 +12,9 @@ pywebexec/static/images/success.svg,sha256=PJDcCSTevJh7rkfSFLtc7P0pbeh8PVQBS8DaO
|
|
|
12
12
|
pywebexec/static/js/script.js,sha256=RrlozMlUx_7MJTf7IG98rzJsLgwEMyEV9bSW6QpQdZw,7088
|
|
13
13
|
pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
pywebexec/templates/index.html,sha256=Q3tubZjBzq4v1aV_BDFSvAKnoim-wKo3EkE_pkA2jm4,1302
|
|
15
|
-
pywebexec-1.1.
|
|
16
|
-
pywebexec-1.1.
|
|
17
|
-
pywebexec-1.1.
|
|
18
|
-
pywebexec-1.1.
|
|
19
|
-
pywebexec-1.1.
|
|
20
|
-
pywebexec-1.1.
|
|
15
|
+
pywebexec-1.1.4.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
|
16
|
+
pywebexec-1.1.4.dist-info/METADATA,sha256=e1A4AQAAYeAlZ7vcRuNcEClr7OTNKMJRdkuLKwInyA0,6767
|
|
17
|
+
pywebexec-1.1.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
18
|
+
pywebexec-1.1.4.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
|
19
|
+
pywebexec-1.1.4.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
|
20
|
+
pywebexec-1.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|