mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 00:54:00 -04:00
core: harden shell scripts against injection and insecure permissions (#13239)
This commit is contained in:
committed by
GitHub
parent
283e762b83
commit
c8606e9fcc
@@ -35,7 +35,7 @@ cd Shinobi
|
||||
gitVersionNumber=$(git rev-parse HEAD)
|
||||
theDateRightNow=$(date)
|
||||
touch version.json
|
||||
chmod 777 version.json
|
||||
chmod 644 version.json
|
||||
echo '{"Product" : "'"Shinobi"'" , "Branch" : "'"master"'" , "Version" : "'"$gitVersionNumber"'" , "Date" : "'"$theDateRightNow"'" , "Repository" : "'"https://gitlab.com/Shinobi-Systems/Shinobi.git"'"}' >version.json
|
||||
msg_ok "Cloned Shinobi"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user