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-staging-db-update.sh
#!/bin/bash
# Export live database with --add-drop-table for safety
mysqldump -udlt_dbu -p'8mkQ&!g7?yPR' --add-drop-table dlt_db > /home/f981716tud7w/db_live_dump.sql

# Import SQL dump into staging database (existing tables dropped automatically)
mysql -udlt_dbu_staging -p'8mkQ&!g7?yPR' dlt_db_staging < /home/f981716tud7w/db_live_dump.sql

# Update URLs in staging database
mysql -udlt_dbu_staging -p'8mkQ&!g7?yPR' dlt_db_staging <<'EOF'
UPDATE wp_options
SET option_value = 'https://staging.dragonloretours.com'
WHERE option_name IN ('siteurl', 'home');
UPDATE wp_options
SET option_value = REPLACE(option_value, 'https://www.dragonloretours.com', 'https://staging.dragonloretours.com')
WHERE option_value LIKE '%https://www.dragonloretours.com%';
EOF


Youez - 2016 - github.com/yon3zu
LinuXploit