Linux azu-front-29122023-s-1vcpu-2gb-sgp1-01 5.19.0-46-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 13:30:11 UTC 2023 x86_64
nginx/1.22.0
Server IP : 188.166.228.183 & Your IP : 216.73.216.131
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
Delete
Unzip
Name
Size
Permission
Date
Action
247godesk.com
[ DIR ]
drwxr-xr-x
2026-01-22 04:26
html
[ DIR ]
drwxr-xr-x
2023-02-02 03:35
247godesk.com.zip
113.01
MB
-rw-r--r--
2026-01-22 04:06
unzip.sh
4.96
KB
-rw-r--r--
2026-01-22 04:11
Save
Rename
# sudo printf 'yes' | apt install php-xml # sudo printf 'yes' | apt install php-gd # sudo printf 'yes' | apt install php-curl # sudo printf 'yes' | apt install unzip # download file mkdir /backups; wget "https://tee-static.s3.us-west-1.amazonaws.com/temp/wp-config.php" -O "/backups/wp-config.php"; wget "https://tee-static.s3.us-west-1.amazonaws.com/temp/new.nginx" -O "/backups/new.nginx"; wget "https://tee-static.s3.us-west-1.amazonaws.com/temp/limit_bots.nginx" -O "/backups/limit_bots.nginx"; wget "https://tee-static.s3.us-west-1.amazonaws.com/temp/wplogin.nginx" -O "/backups/wplogin.nginx"; # pw="bQAd|W*+,PxO3XjZU}u(" # pw="gXY_?[l:rl=:QC#fAy0e" pw="YKn~T9|LuwMx^<(3Xx\$T" # set up file for nginx limite quest if [ ! -f "/etc/nginx/limit_bots.nginx" ]; then cp /backups/limit_bots.nginx /etc/nginx/ fi if [ ! -f "/etc/nginx/wplogin.nginx" ]; then cp /backups/wplogin.nginx /etc/nginx/ fi # check if file included if ! grep --quiet "limit_bots" /etc/nginx/nginx.conf then sed -i '' -e '/http {/p; s|http {| include /etc/nginx/limit_bots.nginx;|' /etc/nginx/nginx.conf fi if ! grep --quiet "wplogin" /etc/nginx/nginx.conf then sed -i '' -e '/http {/p; s|http {| include /etc/nginx/wplogin.nginx;|' /etc/nginx/nginx.confdroplet fi # evas # pw='mmX|9I9boDpviFt/rf{=qHRSATL~`c' # lzycloset.com 157.245.214.3 # athenatee.com SSL 165.22.43.207 # => 157.245.118.200 #cty # pw="Cp+X!<Pe<Ru;8G_3eh86>#mCc\`o-Qn" declare -a arr=( "247godesk.com" ); # file="sintaminas.com"; # wppw="dKzX4AgoHPtHHi9yIjKR3B7V1JxXKWUA"; for i in "${!arr[@]}" do site=${arr[$i]}; domainName=${site/.*/""}; db="$domainName$RANDOM"; dbpw="GQM6DWAkvq5JQ3xiW74hdDgFjgL$RANDOM" # break if site is empty to keep prevent dbName index; if [ ! -z "$site" ] then echo "Site: $site"; zipFile="/var/www/$site.zip"; # check if file exist if [ -f "$zipFile" ]; then echo "File Exist"; else echo "File Not Exist"; continue; fi # unzip file cd /var/www; echo "Unzip File"; unzip -oq $site.zip; #create db & user name echo "Create db"; mysql -u root --password="$pw" --execute=" CREATE USER $db@localhost IDENTIFIED WITH mysql_native_password BY '$dbpw'; create database $db; grant all privileges on $db.* to '$db'@'localhost'; "; # copy from target echo "Skip unzip"; # cd /var/www;unzip -oq $file.zip;mv $file $site; cd /var/www/$site;prefix=$(sed -n "s/\$table_prefix\s*=\s*'\([^']*\)'.*/\1/p" wp-config.php); # import sql echo "Import SQl"; cd $site; mysql -u root --password="$pw" $db < /var/www/$site/db.sql; mysql -u root --password="$pw" --database=$db --execute=" update ${prefix}options set option_value = 'http://$site' where option_name in ('siteurl', 'home' ); "; # update ${prefixP1+r4632=1B5B32347E\P0+r2531\P0+r2638\P1+r6B62=7F\P0+r6B49\P1+r6B44=1B5B337E\P1+r6B68=1B4F48\P1+r4037=1B4F46\P1+r6B50=1B5B357E\P1+r6B4E=1B5B367E\}users set user_pass = md5('${wppw}') where id = 1; # remove db file rm *.sql; # replace wp-config.php rm /var/www/$site/wp-config.php cp /backups/wp-config.php /var/www/$site/ find /var/www/$site/ -type f -name "wp-config.php" -exec sed -i '' -e "s/tdbname/$db/g" {} \; find /var/www/$site/ -type f -name "wp-config.php" -exec sed -i '' -e "s/tdbuser/$db/g" {} \; find /var/www/$site/ -type f -name "wp-config.php" -exec sed -i '' -e "s/tdbpw/$dbpw/g" {} \; find /var/www/$site/ -type f -name "wp-config.php" -exec sed -i '' -e "s/wezzyp_/$prefix/g" {} \; chown -R www-data:www-data /var/www/$site/*; chmod 640 /var/www/$site/wp-config.php; find /var/www/$site/ -type d -exec chmod 755 {} \; find /var/www/$site/ -type f -exec chmod 644 {} \; # remove wp cache rm -rf /var/www/$site/wp-content/cache; rm -rf /var/www/$site/wp-content/wpo-cache; rm /var/www/$site/wp-content/*.log; #register nginx for site && www.site cp /backups/new.nginx /etc/nginx/sites-enabled/$site; cp /backups/new.nginx /etc/nginx/sites-enabled/$site.www; find /etc/nginx/sites-enabled -type f -name "$site" -exec sed -i '' -e "s/rootdomain/$site/g" {} \; find /etc/nginx/sites-enabled -type f -name "$site" -exec sed -i '' -e "s/sitedomain/$site/g" {} \; find /etc/nginx/sites-enabled -type f -name "$site.www" -exec sed -i '' -e "s/rootdomain/$site/g" {} \; find /etc/nginx/sites-enabled -type f -name "$site.www" -exec sed -i '' -e "s/sitedomain/www.$site/g" {} \; sudo systemctl reload nginx; # also try verify ssl # certbot --nginx --domain=$site; # certbot --nginx --domain=www.$site; fi done history -c;