Kyme Posted February 5, 2009 Share Posted February 5, 2009 hi all...here it's what i try to do... i have made some tool(for a game,like bot)and i want to make it privat...for example if i give it to someone to can use it only him and if he give it to other one to crash on run my solution was to find cpu id or some id of pc motherboard or some like that and then to compile for each one the unique tool and made it like this $id=" some id" if $id = not (read mutherboard id) then exit endif the problem it's because i don't know how to find that pc id or some unique id of the pc i can give to that person some exe and he to tell me id to add it on my tool can anyone help me to made this?or some solution similar with mine? Note:i want to do this to remove unwanted users thank you all Regards, Kyme Link to comment Share on other sites More sharing options...
avery Posted February 5, 2009 Share Posted February 5, 2009 (edited) hi all...here it's what i try to do... i have made some tool(for a game,like bot)and i want to make it privat...for example if i give it to someone to can use it only him and if he give it to other one to crash on run my solution was to find cpu id or some id of pc motherboard or some like that and then to compile for each one the unique tool and made it like this $id=" some id" if $id = not (read mutherboard id) then exit endif the problem it's because i don't know how to find that pc id or some unique id of the pc i can give to that person some exe and he to tell me id to add it on my tool can anyone help me to made this?or some solution similar with mine? Note:i want to do this to remove unwanted users thank you all Regards, Kyme Well if they want your source bad enough they'll get it. But if you want to try to lock it to a computer you can use the Serial number off the first hard-drive or the MAC of the NIC. I used : DriveGetDrive( "fixed" ) ...pick a drive... $id = DriveGetSerial( "path" ) $id=" some id" if $id = not (read .... id) then exit endif before but it's primitive at best Edited February 5, 2009 by avery www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org Link to comment Share on other sites More sharing options...
Kyme Posted February 6, 2009 Author Share Posted February 6, 2009 well they don't want my source...but i want be sure they don't give my tool to other person....all of you have friends and little more friends in a game and they leave in same city like you... i try DriveGetSerial() and work awesome...you know i add that on my source some like this $nr = DriveGetSerial( "c:\" ) $data="xxxxxxxxx" If $nr = $data Then Sleep(10) Else MsgBox(0,"","Code False") Exit EndIf if the if $nr are not same with $data then tool crash..and this can remove unwanted users of my tool the problem it's i must recompilate my tool for each one who want to use it...but it's ok tnx for the help man...you give me all what i need Kyme Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 6, 2009 Moderators Share Posted February 6, 2009 Search for "UUID" Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
avery Posted February 6, 2009 Share Posted February 6, 2009 well they don't want my source...but i want be sure they don't give my tool to other person....all of you have friends and little more friends in a game and they leave in same city like you... i try DriveGetSerial() and work awesome...you know i add that on my source some like this $nr = DriveGetSerial( "c:\" ) $data="xxxxxxxxx" If $nr = $data Then Sleep(10) Else MsgBox(0,"","Code False") Exit EndIf if the if $nr are not same with $data then tool crash..and this can remove unwanted users of my tool the problem it's i must recompilate my tool for each one who want to use it...but it's ok tnx for the help man...you give me all what i need Kyme I'm pretty sure either way you go you would have to re-compile for each person you wanted to give access to run it (via whatever unique identifier you choose). You could store it in a ini file / text file and/or encrypt it or reverse it or something to make it more convenient to maintain. hope this helps, avery www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org Link to comment Share on other sites More sharing options...
akfourtyseven Posted February 6, 2009 Share Posted February 6, 2009 Why don't you use Armadillo software passport, it locks your exes the professional way! There are 10 kinds of people, those who understand me and those who don't. 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