Merge pull request 'refs #1747 EjecutarScript: b64decode the param "scp"' (#19) from ejecutarscript-b64 into main
Reviewed-on: #19override-module
commit
f1c3cd2460
|
@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [2.0.0] - 2025-03-26
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- EjecutarScript/ConsolaRemota: expect "scp" parameter encoded in base64
|
||||||
|
|
||||||
## [1.7.1] - 2025-03-25
|
## [1.7.1] - 2025-03-25
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
ogagent (2.0.0-1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* EjecutarScript/ConsolaRemota: expect "scp" parameter encoded in base64
|
||||||
|
|
||||||
|
-- OpenGnsys developers <info@opengnsys.es> Wed, 26 Mar 2025 10:40:14 +0100
|
||||||
|
|
||||||
ogagent (1.7.1-1) stable; urgency=medium
|
ogagent (1.7.1-1) stable; urgency=medium
|
||||||
|
|
||||||
* Make cfg2obj more robust
|
* Make cfg2obj more robust
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.7.1
|
2.0.0
|
||||||
|
|
|
@ -625,7 +625,7 @@ class ogAdmClientWorker (ogLiveWorker):
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
nfn = post_params['nfn']
|
nfn = post_params['nfn']
|
||||||
scp = unquote (post_params['scp'])
|
scp = base64.b64decode (unquote (post_params['scp'])).decode ('utf-8')
|
||||||
filescript = f'/tmp/_script_{self.IPlocal}'
|
filescript = f'/tmp/_script_{self.IPlocal}'
|
||||||
ecosrc = f'/tmp/_econsola_{self.IPlocal}'
|
ecosrc = f'/tmp/_econsola_{self.IPlocal}'
|
||||||
ecodst = f'/tmp/_Seconsola_{self.IPlocal}' ## Nombre que tendra el archivo en el Servidor
|
ecodst = f'/tmp/_Seconsola_{self.IPlocal}' ## Nombre que tendra el archivo en el Servidor
|
||||||
|
@ -720,7 +720,7 @@ class ogAdmClientWorker (ogLiveWorker):
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
nfn = post_params['nfn']
|
nfn = post_params['nfn']
|
||||||
scp = unquote (post_params['scp'])
|
scp = base64.b64decode (unquote (post_params['scp'])).decode ('utf-8')
|
||||||
ids = post_params['ids']
|
ids = post_params['ids']
|
||||||
|
|
||||||
self.muestraMensaje (8)
|
self.muestraMensaje (8)
|
||||||
|
|
Loading…
Reference in New Issue