How to protect our plugin from stealing.

В този раздел можете да подавате всякакви заявки за намиране, изработка или преработка на плъгини/модове.
Аватар
mharisrazaa
Извън линия
Потребител
Потребител
Мнения: 31
Регистриран на: 15 Дек 2021, 17:15
Местоположение: Pakistan
Се отблагодари: 2 пъти
Обратна връзка:

How to protect our plugin from stealing.

Мнение от mharisrazaa » 12 Яну 2022, 18:11

Hello everyone,

i am hoster of cs 1.6 servers. i want to know that how can i protect my plugin from stealing, i saw too many hosters that they protect their plugin from stealing, means if client download plugin it'll not work.

or give me script that only works on my host. specific host. Plugin should be work on specific host that mentioned in script like:

Just Example ( i don't know how to code small scripts):

Код за потвърждение: Избери целия код

protect {
            if Host == "0.0.0.0"
            plugin enable:
            }
else:
print("Plugin cannot be workable");
i just gave example, not exact code, even i don't know which language i use but it is understandable.

Аватар
OciXCrom
Извън линия
Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1295 пъти
Обратна връзка:

How to protect our plugin from stealing.

Мнение от OciXCrom » 12 Яну 2022, 21:40

If you don't trust your host, change it?

There's no protection method that cannot be bypassed. The IP one mentioned in your example is the easiest one to cheat.

Аватар
mharisrazaa
Извън линия
Потребител
Потребител
Мнения: 31
Регистриран на: 15 Дек 2021, 17:15
Местоположение: Pakistan
Се отблагодари: 2 пъти
Обратна връзка:

How to protect our plugin from stealing.

Мнение от mharisrazaa » 13 Яну 2022, 10:08

I myself is hoster. i own a hosting: www.harishosting.com.

i dont want to allow my clients to download our plugin, i just forbid the folder but theres a lot of problem forbidding the folder means client can't add his own plugin if folder access is restricted, i just want a script that can addable in plugin's sma and plugin should be work on only Mentioned ip not others host, means client borrow a server and he downloaded all of our plugins and runs it on their server? is not it bad?

so give me script like this.

Аватар
mharisrazaa
Извън линия
Потребител
Потребител
Мнения: 31
Регистриран на: 15 Дек 2021, 17:15
Местоположение: Pakistan
Се отблагодари: 2 пъти
Обратна връзка:

How to protect our plugin from stealing.

Мнение от mharisrazaa » 13 Яну 2022, 10:15

okay i got something, but here is one thing:

Код за потвърждение: Избери целия код

new const g_szServerIP[ ] = "SERVER.IP.HERE:PORT";

public plugin_init( ) {
register_plugin( "Server Protection", "0.0.1", "AMXX Community" );
CheckValidServer( )
}

public CheckValidServer( ) {
new szIP[20];
get_user_ip(0, szIP, charsmax(szIP), false);

if( !equal(szIP, g_szServerIP) )
{
set_fail_state("UnAuthorized Use Of Plugin!");
}
}


i don't want a specific port, just ip address would be great.

Аватар
OciXCrom
Извън линия
Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1295 пъти
Обратна връзка:

How to protect our plugin from stealing.

Мнение от OciXCrom » 14 Яну 2022, 20:56

amx_cvar "ip your.ip.here"

Done, protection bypassed.

Аватар
tom1k
Извън линия
Потребител
Потребител
Мнения: 202
Регистриран на: 29 Сеп 2020, 23:50
Местоположение: Добрич
Се отблагодари: 16 пъти
Получена благодарност: 8 пъти

How to protect our plugin from stealing.

Мнение от tom1k » 15 Яну 2022, 16:06

Sorry? You want to protect your "plugins" ? You're the one stealing them and copying other people servers.. lmao

Изображение

Изображение
iG-Blockmaker # HNS 100aa
45.144.155.175:27018


Аватар
m0ney
Извън линия
Потребител
Потребител
Мнения: 285
Регистриран на: 13 Апр 2020, 11:36
Се отблагодари: 83 пъти
Получена благодарност: 39 пъти
Обратна връзка:

How to protect our plugin from stealing.

Мнение от m0ney » 15 Яну 2022, 19:57

What about setting the permission of the plugin to 000? Not sure what will be the result but if that does not work use your solution few posts above + forget about bypassing, clients are not that tech savy and won't reverse your protected plugin even if the protection is weak.
Изображение
Изображение

Публикувай отговор
  • Подобни теми
    Отговори
    Преглеждания
     Последно мнение

Обратно към “Заявки за плъгини”

Кой е на линия

Потребители разглеждащи този форум: 0 регистрирани и 29 госта