wings/server
Dane Everitt 244640d0c1
[security] remove "SafeJoin" function
This function was not actually safe in theory. If an unknown stat source was passed in it would be possible for a symlinked file to not be detected as a symlink, thus skipping any safe path resolutions.

This would happen if the stat source was a regular os.Stat call and not an os.Lstat call, but since there is no way to differentiate between those two in the code, it is safer to just manually apply this logic in the positions where we _know_ for certain that we're working with the results of an Lstat call.
2020-10-01 21:28:38 -07:00
..
backup Dont attempt to get size within archive process, will return empty; ref pterodactyl/panel#2420 2020-09-27 11:16:38 -07:00
filesystem [security] remove "SafeJoin" function 2020-10-01 21:28:38 -07:00
archiver.go [security] remove "SafeJoin" function 2020-10-01 21:28:38 -07:00
backup.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
collection.go Add support for modifying daemon configuration on-the-fly 2020-04-11 16:17:46 -07:00
config_parser.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
configuration.go Use same values between panel and wings when calculating disk 2020-09-25 20:31:33 -07:00
console.go Add console throttling; closes pterodactyl/panel#2214 (#60) 2020-09-17 20:13:04 -07:00
crash.go Fix some typos and run gofmt on all .go files 2020-09-05 13:08:40 -06:00
errors.go Don't run pre-boot actions if the server is already running 2020-09-11 23:11:57 -07:00
events.go Refactor environment handling logic to separate a server from the environment handler itself 2020-08-10 21:38:42 -07:00
filesystem.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
install.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
listeners.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
loader.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
mounts.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
power.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
resources.go Replace logic with PublishJson 2020-09-12 20:13:48 -07:00
server.go Refactor filesystem to not be dependent on a server struct 2020-09-27 12:24:08 -07:00
state.go Speed up wings boot when restoring from cleared docker environment 2020-09-12 22:08:50 -07:00
update.go Safety logic check, don't try to stop a stopped server when suspending; closes #2318 2020-09-10 20:16:16 -07:00