mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
Blacklist haxe.Unserializer in scripts.
This commit is contained in:
parent
558ec53532
commit
729745899e
|
@ -251,6 +251,10 @@ class PolymodHandler
|
|||
// Lib.load() can load malicious DLLs
|
||||
Polymod.blacklistImport('cpp.Lib');
|
||||
|
||||
// `Unserializer`
|
||||
// Unserializerr.DEFAULT_RESOLVER.resolveClass() can access blacklisted packages
|
||||
Polymod.blacklistImport('Unserializer');
|
||||
|
||||
// `polymod.*`
|
||||
// You can probably unblacklist a module
|
||||
for (cls in ClassMacro.listClassesInPackage('polymod'))
|
||||
|
|
Loading…
Reference in a new issue