← All sessions
Ended · replayGot inTyped by a botevery command without a terminal

Got in and looked around

on Mumbai, Indiabrass-treecreeper-99i from Frankfurt am Main (Innenstadt I), Germanyseen 2 times this weekSSH-2.0-libssh2_1.11.1

root@in-bom-gcp-1 · 🇮🇳 Mumbai
connected from 🇩🇪 Frankfurt am Main (Innenstadt I), Germany · SSH-2.0-libssh2_1.11.1
root@in-bom-gcp-1's password: 
Logged in as root
root@in-bom-gcp-1:~# sh -c 'HISTFILE=;SA_OS_TYPE="Linux"
REAL_OS_NAME=`uname`
if [ "$REAL_OS_NAME" != "$SA_OS_TYPE" ] ;
then
	echo `uname` 
else
DISTRIB_ID=\"`cat /etc/*release`\"
	echo $REAL_OS_NAME;
	echo $DISTRIB_ID;
fi;
exit;'
Linux
"PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/""
root@in-bom-gcp-1:~# uname -n
in-bom-gcp-1
root@in-bom-gcp-1:~# echo $SHELL; exit
/bin/bash
root@in-bom-gcp-1:~# cat .bash_history;
sleep .3;
cd /tmp
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -q awscliv2.zip
./aws/install
aws --version
rm -rf aws awscliv2.zip
cd
aws configure
aws s3 ls s3://duinvonk-backups/
nano /root/.my.cnf
chmod 600 /root/.my.cnf
mysql -e "show databases"
mkdir -p /var/backups/sites
nano /usr/local/sbin/backup-sites.sh
chmod 750 /usr/local/sbin/backup-sites.sh
/usr/local/sbin/backup-sites.sh
ls -lh /var/backups/sites/
aws s3 ls s3://duinvonk-backups/web1/
nano /etc/cron.d/backup-sites
exit
tail /var/log/backup-sites.log
ls -lh /var/backups/sites/
nano /usr/local/sbin/backup-sites.sh
bash -n /usr/local/sbin/backup-sites.sh
/usr/local/sbin/backup-sites.sh
ls -lh /var/backups/sites/
aws s3 ls s3://duinvonk-backups/web1/ --human-readable --summarize
exit

Disconnected · 1m 50s inside

1:50 / 1:50
What they found: A web agency's WordPress serverA small web agency's cloud server that hosts a handful of client websites built on WordPress, with their databases on the same machine.

Live updates paused

Reconnecting…

Trying again in seconds.

The connection is gone. Reload the page to see the latest.

Paused to save the server’s work while you were away.

Couldn’t resume. Reload the page to see the latest.