HEX
Server: Apache
System: Linux vmi2436375.contaboserver.net 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
User: demosite (1010)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: //etc/profile.d/getnews.sh
#!/bin/sh
gethostnews() {
	if [ -x /usr/bin/curl ]; then
	  /usr/bin/curl -s --connect-timeout 2 "$1" && touch /tmp/gotnews
	  return
	fi
	
	if [ -x /usr/bin/wget ]; then
	  /usr/bin/wget -qO- --connect-timeout 2 "$1" && touch /tmp/gotnews
	  return
	fi
}

case $- in
  *i*) [ ! -f /tmp/gotnews ] && gethostnews "https://news.contabo.com/host/vmi2436375" ;;
  *) return ;;
esac

unset -f gethostnews