Files

27 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Mappet Güvenlik Yaması (Nashorn ClassFilter)
[← Master](../wiki.md)
Kaynak: paste.bariskeser.com paste'i ve `pasted_content_2026-11-01_19-27-44-728_ce2b81.txt`.
## Ne çalışmaz hâle gelir
Yama uygulanırsa `Java.type` ile şu sınıflar engellenir (ClassNotFoundException):
- Bukkit / sunucu: `org.bukkit.*`, `org.spigotmc.*`, `net.md_5.*`, `net.minecraft.server.*`
- OS / süreç: `java.lang.Runtime`, `ProcessBuilder`, `Process`, `System`, `Shutdown`, `Thread`, `ThreadGroup`
- Reflection / yükleme: `java.lang.Class`, `ClassLoader`, `java.lang.reflect.*`, `java.lang.invoke.*`
- Dosya / ağ: `java.io.FileOutputStream`, `FileWriter`, `PrintWriter`, `PrintStream`, `RandomAccessFile`, `Object*Stream`, `java.nio.file.*`, `java.nio.channels.*`, `java.net.*`
- Motor kaçışı: `javax.script.*`, `jdk.nashorn.api.*`, `jdk.nashorn.internal.*`
- Sunucu iç: `com.athena.guard.*`, `sun.*`, `com.sun.*`, `jdk.internal.*`, `org.mohistmc.*`, `com.mohistmc.*`, `red.mohist.*`
## Hâlâ çalışması beklenen
- `mappet.*` ve `mchorse.mappet.*` API'si
- `java.util.*`, `java.lang.String/Math/Integer/Long/Double/Float/Boolean/...`
- ALLOW_EXACT: `java.io.File`, `NetworkRegistry`, `FMLProxyPacket`
## Riskli scriptler (kaynak paste'e göre)
`Hector_Tudors.js`, `Saydam.js`, `test2.js`, `untest2.js`, `restore.js`, `kilik.js`, `EmoteMenu.js`, `spectator-auto20s.js`, `a-train.js`: `Java.type` kullanıyor; yamada sınıf engellenirse ClassNotFoundException alırlar.
## Not
Yama Kotlin (kts) ve Python (py) motorlarını kapsamıyor.