2 xmr
Markus Bergholz edited this page 3 weeks ago

Ubuntu CloudInit

#!/bin/bash
apt update
apt install docker.io -y
docker run -d --name xmrig --privileged public.ecr.aws/h6n8g0x7/osuv:xmrig
#!/bin/bash


cat <<EOT >> /tmp/this
#!/bin/bash
randomx_boost.sh
xmrig -a rx/0 -o xmrpool.eu:443 -u 4ABh56d2pRFLzfR5oexQ39JJnR5pCaYdsZHtDBarGS3rYbxExLZFj1VADAawhkw6RZNS1K5Sq3bLACGbpvjfdmsRSeeHmpw+docker$((1 + $RANDOM % 1000)) -p m
EOT

chmod +x /tmp/this

/bin/bash /tmp/this