• XSS.stack #1 – первый литературный журнал от юзеров форума

software license help

Str0ng

(L3) cache
Забанен
Регистрация
28.04.2024
Сообщения
201
Реакции
46
Гарант сделки
4
Пожалуйста, обратите внимание, что пользователь заблокирован
Well this will be quick, I have been investigating, although I still don't know very well, how I can apply licenses to my software, for example if I wanted it to stop working after 1 month.
the question is does anyone know a good method to do this without depending on the system date or internet connection, if it is like this or not, even so leave your ideas or advice for whoever has done it before or knows how to do it, thanks to all ;)
 
you can't month is a date 30 days how can you can control the license end date without using a date on local system or even internet , you will need the date but i suggest you store data on web and when no connection prevent the user from using your software to prevent blocking domain and using the software for free ! Just an idea
 
Пожалуйста, обратите внимание, что пользователь заблокирован
you can't month is a date 30 days how can you control the license end date without using a date on local system or even internet , you will need the date but i suggest you store data on web and when no connection prevent the user from using your software to prevent blocking domain and using the software for free ! Just an idea
If you want to add a licensing system to your software that limits usage like a subscription or trial

You need to track first use: When the user runs the software for the first time, record that moment by generating a timestamp or using a system timer. Encrypt this information and store it somewhere secure, like a hidden file or in the app's internal data.

Measure Time: Instead of relying on the system clock (which can be tampered with), use a monotonic timer that only moves forward, even if the system time changes.

Check on Launch: Each time the software runs, compare the current time (from your internal timer) with the stored timestamp. If the trial or subscription period (eg, 30 days) has passed, lock the software or prompt the user to renew.

Make It Hard to Cheat Obfuscate where and how you store the data. You can spread it across multiple locations or hide it in a way that isn't obvious. Also, use encryption to ensure the data can't be easily altered.

Optional Extra Security to tie the license to the user's hardware (like their CPU or motherboard ID) so it won't work on another device if copied.

This gives you a secure way to manage licenses without needing an internet connection or relying on the system date. It's not foolproof, but combined methods make it harder for users to bypass.

And most importantly to set up the licensing through your database to ensure it can run automatically without you having to check dates and end the subscriptions yourself create a table for it in your backend db
 
Why reinvent the wheel when everything has already been researched and done; for protection use ready-made solutions + SDK: Enigma, VMProtect, ASProtect, Themida, e.t.c. There are no unhackable protections, even if it is custom. Any binding to time or hardware can be done with, for example, an inline patch with the interception (splice) of the necessary functions, this is usually implemented as a loader.
 
If you want to add a licensing system to your software that limits usage like a subscription or trial

You need to track first use: When the user runs the software for the first time, record that moment by generating a timestamp or using a system timer. Encrypt this information and store it somewhere secure, like a hidden file or in the app's internal data.

Measure Time: Instead of relying on the system clock (which can be tampered with), use a monotonic timer that only moves forward, even if the system time changes.

Check on Launch: Each time the software runs, compare the current time (from your internal timer) with the stored timestamp. If the trial or subscription period (eg, 30 days) has passed, lock the software or prompt the user to renew.

Make It Hard to Cheat Obfuscate where and how you store the data. You can spread it across multiple locations or hide it in a way that isn't obvious. Also, use encryption to ensure the data can't be easily altered.

Optional Extra Security to tie the license to the user's hardware (like their CPU or motherboard ID) so it won't work on another device if copied.

This gives you a secure way to manage licenses without needing an internet connection or relying on the system date. It's not foolproof, but combined methods make it harder for users to bypass.

And most importantly to set up the licensing through your database to ensure it can run automatically without you having to check dates and end the subscriptions yourself create a table for it in your backend db
Good job , yes but i was giving him a hints and titles , but this way is also works
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх