Comments (1)
This only happens if the user manually edits data.sql
right?
The creds
, server.ini
and data.sql
are already backed up on the host, since they are inside the 3 volumes?
Or am I missing something, if so please correct me.
Although I do agree that we should prevent this from happening, never underestimate users etc...
-
We could compare
creds
,server.ini
anddata.sql
and if there is a difference just regenerate new creds using the existing script. -
Also I noticed that the server stores the game servers inside the
public.teams
and thepublic.users
tables. While this isn't a big issue, it isn't entirely clean either as the db will grow bigger. We probably should remove all the ones that are not in the currentcreds
/server.ini.
One could argue to just do complete removal of all creds in data.sql
and recreation of new creds at every boot of the server? That way we don't have to make annoying parsing and compare code which is bound to fail anyhow if users interact with the files. By doing so we hit two birds with one stone so to speak.
I got this solution ready if you think this is the way to go. I'm not entirely sure of the implications as I still need to test it this weekend, but I think it should be fine. I'll make a pull request once it's tested :)
from pwnadventure3.
Related Issues (20)
- failed to build: Unknown flag: chown HOT 1
- How to backup game progress HOT 2
- Proxy missing parser sample code HOT 1
- Failed to load master server certificate HOT 3
- bash: /opt/pwn3/server/creds: Permission denied HOT 5
- Linux client not working HOT 5
- error while loading shared libraries: libssl.so.1.0.0 and libcrypto.so.1.0.0 HOT 6
- OSError: [Errno 28] No space left on device
- Many errors
- master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error
- May This Repo Active Again HOT 1
- Error while using docker HOT 1
- Game client stuck in checking updates HOT 1
- `ERROR: for pwnadventure3_master_1` when doing docker-compose up HOT 3
- Error. Docker compose up. HOT 2
- Proxy can't connect to the client
- stat /opt/pwn3/setup/masterserver.sh: no such file or directory: unknown HOT 1
- filname error
- error when docker compose HOT 1
- Incorrect openssl Dependancies for Ubuntu and Archlinux. Unable to run Private Server (No Docker Method)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwnadventure3.