Scenexe Socket Fiddler

Scenexe socket fiddler. Modify incoming and outgoing packets by writing functions for incoming and outgoing.

Устаревшая версия за 07.01.2023. Перейдите к последней версии.

Этот скрипт недоступен для установки пользователем. Он является библиотекой, которая подключается к другим скриптам мета-ключом // @require https://update.greasyfork.org/scripts/457775/1135824/Scenexe%20Socket%20Fiddler.js

Автор
discordtehe
Версия
0.1
Создано
07.01.2023
Обновлено
07.01.2023
Размер
1,7 КБ
Лицензия
нет данных

Scenexe Socket Fiddler

Allows you to modify and log incoming and outgoing packets by writing functions for window.incoming and window.outgoing.

A simple function you can write is a simple socket logger:

window.incoming = (data) => {
    console.log('incoming:', data);
}
window.outgoing = (data) => {
    console.log('outgoing:', data);
}

The incoming data is an array where the 1st item is an opcode and the 2nd item contains the packet data.

If you need to modify incoming and outgoing packets, just return the modified data:

window.incoming = (data) => {
    data[1] = ...edit some stuff...;
    return data;
}
window.outgoing = (data) => {
    data[1] = ...edit some stuff...;
    return data;
}