Skip to content

Commit 3619129

Browse files
committed
Update ReadMe
1 parent 98ef303 commit 3619129

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ charset = utf-8
55
end_of_line = lf
66
indent_size = 4
77
indent_style = space
8-
insert_final_newline = false
8+
insert_final_newline = true
99
max_line_length = 250
1010
tab_width = 4

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# ObjectStream Blocker for Minecraft 1.12.2
22

3-
Этот мод-патчер препятствует эксплуатации RCE-уязвимостей в модификациях с использованием `ObjectInputStream` (_десериализация объекта_).
3+
This very simple mod-patcher prevents the exploitation of vulnerabilities in MC mods using `ObjectInputStream` aka IOS (_deserialization of the object_).
44

5-
> Не является фиксом. Это средство безопасности: может нарушать работу некоторых функций модов и приводить к крашам игры.
5+
> It's not a fix. This is a security tool: it disables potentially unsafe code, giving you more time to understand and fix the vulnerability in the mod code.
66
7-
## Как это работает?
8-
Мод сканирует каждый класс на предмет использования `ObjectInputStream` и производит автоматическую замену на класс-заглушку. Для удобства, при обнаружении случаев использования **OIS**, в лог выводится сообщение `SECURITY ALERT Detected usage of ObjectInputStream`, чтобы Вы знали какие модификации игры имеют проблемы с безопасностью и требуют исправления.
7+
## How it works?
8+
9+
The mod scans each class for usages of `ObjectInputStream` and makes an automatic replacement with a stub class. When cases of using OIS are detected, a message is displayed in the log: `SECURITY ALERT Detected usage of ObjectInputStream`, so that
10+
you know which game modifications have security issues and need to be fixed.
11+
12+
By default, the mod makes substitutions wherever it finds unwanted code. You can add exceptions in the configuration file to allow the use of **OIS**, where it is needed.

0 commit comments

Comments
 (0)