batibot 0 Posted November 8, 2014 Report Share Posted November 8, 2014 How do you go about putting protection to your Ubot program so that the user can only use it for a certain amount of time and when that time comes, the bot simple does not work anymore? Quote Link to post Share on other sites
Edward_2 85 Posted November 8, 2014 Report Share Posted November 8, 2014 On first run get your bot to write the date to a text file somewhere, read the file every time the bot loads. if its great than 2 days set the UI elements to display:none; Thats probably the simplest way to do it. Heres an onload javascript in case you need it. ui stat monitor("<script type=\"text/javascript\"> window.setTimeout(function() \{ ubot.runScript(\'onload()\') \}, 500)</script>", "")define onload { navigate("google.com", "Wait")} Quote Link to post Share on other sites
batibot 0 Posted November 8, 2014 Author Report Share Posted November 8, 2014 nice trick! just hope the user doesn't know the exact location of the text file so he/she cannot manipulate it to extend the trial period Quote Link to post Share on other sites
runsoftware 14 Posted November 8, 2014 Report Share Posted November 8, 2014 or you can encrypt the file so the user doesnt have any idea of whats inside, im pretty sure somebody has a plugin here about encryption. then the bot justs decrypts the file with the key you provided in your code and see the real values. Quote Link to post Share on other sites
Edward_2 85 Posted November 8, 2014 Report Share Posted November 8, 2014 Heres a simple simple liscens key validator. If you know php a little. It requires a mysql database and has a simple web GUI. http://www46.zippyshare.com/v/67336426/file.html Peace Quote Link to post Share on other sites
luis carlos 94 Posted November 8, 2014 Report Share Posted November 8, 2014 I use meter's system, and delete the license manually. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.