mirror of
https://github.com/coelacant1/ProxmoxScripts.git
synced 2026-04-26 17:35:49 +03:00
[PR #27] [MERGED] V2.2.0 - Security hardening, performance optimizations, and GUI impro… #23
Labels
No labels
bug
bug
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxScripts#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/coelacant1/ProxmoxScripts/pull/27
Author: @coelacant1
Created: 3/2/2026
Status: ✅ Merged
Merged: 3/2/2026
Merged by: @coelacant1
Base:
main← Head:testing📝 Commits (1)
7fb11caV2.2.0 - Security hardening, performance optimizations, and GUI improvements📊 Changes
30 files changed (+457 additions, -119 deletions)
View changed files
📝
.docs/TODO.md(+1 -1)📝
.github/workflows/checks.yml(+6 -0)📝
CHANGELOG.md(+71 -1)📝
GUI.sh(+76 -20)📝
Host/Hardware/EnableCPUScalingGovernor.sh(+7 -7)➕
LXC/Operations/BulkAddToPool.sh(+73 -0)📝
Networking/FindVMIDFromIP.sh(+17 -13)📝
README.md(+12 -1)📝
Resources/ChangeAllMACPrefix.sh(+2 -1)📝
Resources/InteractiveRestore.sh(+1 -1)📝
Storage/AddStorage.sh(+3 -3)📝
Storage/RemoveStorage.sh(+6 -2)📝
ThirdParty/ApacheGuacamole/GetGuacamoleAuthenticationToken.sh(+4 -2)📝
Utilities/ArgumentParser.sh(+8 -6)📝
Utilities/BulkOperations.sh(+6 -2)📝
Utilities/Conversion.sh(+1 -1)📝
Utilities/Logger.sh(+1 -1)📝
Utilities/Operations.sh(+4 -4)📝
Utilities/RemoteExecutor.sh(+50 -5)📝
Utilities/SSH.sh(+11 -5)...and 10 more files
📄 Description
…vements
Security
sshpass -pcalls tosshpass -e(environment variable)ps auxprocess listing__wait_for_ssh__,__ssh_exec__,__scp_send__,__scp_fetch__)__ct_change_password__to pipe credentials via stdinbash -ccommand string (visible in /proc)pct exec -- chpasswdmkdir -p -m 700, token file set tochmod 600--data-urlencodefor curl authentication&,=) from breaking API callsevalwith safer alternatives across 10 sites in 6 filesbash -cinstead ofeval "$cmd"declare -ginstead ofevalfor variable assignmentFixed
EnableCPUScalingGoverner.shtoEnableCPUScalingGovernor.shset -euo pipefailafter header comment block|| continueto skip VMs/CTs deleted between list and config checkLC_NUMERIC=Cand comma-to-dot conversion for European locale compatibilityChanged
cc_pve > Storage > CephstyleServerAliveInterval=5andServerAliveCountMax=3to SSH and SCPOK: node1 node2andFAIL: node3after multi-remote executiongetoptswith__parse_args__--vm-name,--iso-url,--vm-storagestyle flagsAdded
.github/workflows/checks.ymlUtilities/RunAllTests.shafter static analysis checksupdate_scripts()Manuals/README.mdtable of contents and Documentation section in main READMEPerformance
sed | sedcalls into singlesed -e ... -e ...echo | trsubprocesses with native${var^^}case conversionecho | tr -d '\r'with${var//$'\r'/}in GUI.shTechnical Details
sshpass -ereads fromSSHPASSenvironment variable; inline assignment (SSHPASS=x cmd) used where possibledeclare -grequires Bash 4.2+evalretained in TestFramework.sh (dynamic function stubs) and RemoteExecutor.sh (SSH parameter expansion) - both legitimate uses__execute_remote_script__call with filtered target list--data-urlencodesends each parameter separately, preventing URL parameter injectionname: Pull Request
about: Security hardening, performance optimizations, and GUI improvements
title: "[PR] Security hardening, performance optimizations, and GUI improvements"
labels: enhancement
assignees: 'coelacant1'
Type of Change
How Has This Been Tested?
Automated checks and remote execution on single node + multi node to virtual test cluster.
Checklist
Related Issues
N/A
Additional Context
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.