Skip to content

Instantly share code, notes, and snippets.

View Iron-Bound's full-sized avatar

Iron-Bound Iron-Bound

  • 127.0.0.1
View GitHub Profile
@Iron-Bound
Iron-Bound / renx-create-server.sh
Last active October 1, 2023 21:34
RenegadeX Linux Server
!#/bin/sh
version = 13580
wget --show-progress https://ta-downloads.totem-arts.workers.dev/RenX-${version}.zip -o renx-server.zip
unzip renx-server.zip -d ${PWD}/server
echo "Starting server"
docker run -d \
--port 27000:27000 \
--volume="${PWD}/sever:/server" \
{"keys":[{"alg":"RS256","e":"65537","kid":"4a2fc4a1-be14-497a-92aa-b95dcc1ee61e","kty":"RSA","n":"29444957469887986789142039014944867356751566392552466863338857290288237837430372963304924664590220431420109042683995893644301280635509884416194197058819800616289257038289103137844996015220388986422262018587245714919984021462482023343774894693525443689283843792613419133831283370297736992321346975233911532203501799895136655138966025257688465104892147282009138136193220710435131556059302868794608545157858557014717940502068229273145500563593331832665616385552896623562700509840359882937933289009535416427587340422243432153096732975123187391689261644694502579538582194097940463882539481861367183011459706341827943788733","use":"sig"}]}
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
// This is our type which matches the JSON object.