acidman Posted May 14, 2012 Share Posted May 14, 2012 (edited) I've made this udf here for people who wants the clients who use their software package to enter a serial number for application validation... #cs Author: Ryno Labuschagne Forum: ac1dm4n Functions: _CreatetokenKey($Keyencode) Description: Set encoding value for the token to be generated. 1 - 4 The higher the value the more complex the encoding will be _ValidateTokenKey($SetprocID) Will validate the token key i.o.w will check if the ini file exists if true then the key from the ini will be read and be compared with the key in the registry if they're equal application will start else if the evaluation is false the application will be terminated if a token key has been modified in either the ini file or the registry the application will exit DeletetokenEntry() Will delete the ini file and the registry value, can be called manually when an application is uninstalled Details: You can modify this script by all means add stuff to make it more complex I thought it'd be a good idea to create a base for uniquely validating of an application on a machine every token is generated randomly and should be executed only once, then deleted so the user can't use your application on another machine... remember you must call a function on autoitstartregister to execute the validation Legend: _CreateTokenKey($Keyencode) $KeyEncode - Value 1 to 4 The higher the Value the more complex the encoding Will be _ValidateTokenkey $Procid - Processidentifier(PID) Scriptname by defualt it AutoIt3.exe Or compiled Name(must be compiled) #ce please see the attachmentTokenidentifier.rar Edited May 14, 2012 by ac1dm4n [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
spudw2k Posted May 15, 2012 Share Posted May 15, 2012 sounds interesting, but it doesn't seem to offer much security. i also don't see the value in comparing an ini with the registry (at least with this implementation). I'd consider adding some sort of encryption as it is very easy to convert string to binary and vice versa. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
acidman Posted December 16, 2012 Author Share Posted December 16, 2012 now i am downloading my own file to get familiarized with autoit again lol im out of practise, but i know how to create a good method of encryption [u]My dream is to have a dream...[/u] Link to comment Share on other sites More sharing options...
ldub Posted December 16, 2012 Share Posted December 16, 2012 _HWID() Protect Your Script. Require a Serial Bind Program To Computer Obfuscator (make your script hard to read) _GetUniqueHardwareID application security... ... Best of all, AutoIt continues to be FREE & OPEN ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now