Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/08/2012 in all areas

  1. G'day All At the moment this is a a place holder for the code that will follow. Purpose: A Central function _MultiSiteDownload that will download programs/updates/etc from multiple file sites. Behind this funciton will be a UDF for each site (eg "_PortableApp_Download", "_FileHippoDownload") that can be split off if your project only needs to download from one of these sites.) Use: Add to your projects that use 3rd party tools so they can be downloaded when needed. Existing code links FileHippo Portableapps /page__st__20#entry1008033 SourceForge /page__st__20#entry918460 Download.com /page__st__20#entry918356 The only one I can vouch for at the moment is teh filehippo and portableapps downloader. The rest I'll have to test to make sure they are still working. When I have I'll move then to this tread. If you have any code to add to the collection please post and I'll add it. Onward and upward John Morrison
    1 point
  2. Melba23

    show/hide treview item

    ledigeine, Not quite. In a For...Next loop, the loop variable ($i in this case) is set to the values assigned in the For line: For $i = 0 To 3 1st pass $i = 0 2nd pass $i = 1 3rd pass $i = 2 4th pass $i = 3 NextThe 4th time we reach Next, $i will = 4. This is above the top limit set initially and so the loop ends. The next time we start a loop, $i resets to whatever start value is set - in the case of the script above, it resets to 0. All clear so far? M23
    1 point
  3. This thread is similar to yours:
    1 point
  4. Arise from the dead once more my minion.
    1 point
  5. Melba23

    PixelSearch

    nullschritt, While I agree with trancexx that the thread is entirely legal, your post linking to threads which are in contravention of the current rules is not. If the OP is not clever enough to find these threads themselves they should not be pointed to them. This is not open to discussion so do not try. M23
    1 point
  6. 13ktuz, you have a number of people attempting to help, but so far all we've seen from you is a list of what you want it to do. Why don't you take some of the suggestions you've received and try writing some code yourself? Then, if you get stuck, you can post it here and we can try to help
    1 point
  7. You could just use a SSL certificate on your web server and do _inetgetsource('https://server.org/auth.php...') Look up _inetgetsource() in the help file. I'm not sure exactly what you are asking other than that.....
    1 point
  8. Guys, it looks like he wants to ADD HWID verification to his program. To do this you would have to generate the HWID (_WinAPI_UniqueHardwareID) Then in your server side verification script (in PHP or simmilar) you would have to store the HWID along with the product key when they purchase the key. Then each time they launch the app check the key against your database, and the HWID, and if the HWID has changed, deactivate the key, or if it has changed say more than 3 times. This way you could auto-disable the key if it is being shared. I made a similar system once, that used IP address and HWID to verify with the key, and if there were multiple changes, it would deactivate the key, so the application would no longer work, then give anyone who used that key an error, saying pirated was detected, please contact support. However, you must know that there are certain reasons that make this kind of protection useless to anyone with the ability to use google, if they know you wrote the application in autoit. (there are also ways to help prevent this, but I am not sure to exactly what extent I am allowed to discuss this, as I am not sure if executable encrypters or alternative packers break autoit TOS.) You need to Store Product Key In Database - > Program sends product key, along with HWID to server - > server verifies HWID + IP + KEY - > programs runs or closes (here is a demo/instructions on how to use php and mysql to retrieve and store data in a database: http://www.w3schools.com/php/php_mysql_intro.asp ) [php is much like autoit in syntax] To do this you will need to use PHP/MYSQL on your server, and use _inetgetsource('www.server.org/auth.php?KEY=key_here&HWID=hwid_here') to send the details to the server, and receive it's response. If you don't know PHP, or still don't fully understand how to do this, just ask and I will be able to help more. Also, you can use Alternative Data Streams to create partially tangible keys with iniwrite. iniwrite(@scriptfullpath&":some_data_stream", "auth", "key", "blarhg-some-key") "some_data_stream" can be anything you want, it basically stores the data inside the exe, in a filespace that is accessible even when the file is being run, that cannot be seen using normal windows explorer, also Alternative Data Streams are lost when the file is copied off the computer (over the internet, or usb/cd) so they would have to re-enter the key if they moved it to another pc, which is good for security too. then to read from the ADS(Alternative Data Stream) you would do the same thing iniread(@scriptfullpath&":some_data_stream", "auth", "key", "null") fileread(@scriptfullpath&":some_data_stream")
    1 point
  9. IniWrite IniRead check the help file for those
    1 point
  10. Your original post is a description of a project you're working on. Your edit is a broad request... This little part however: is a question that can be asked to obtain help on a precise part of your project... which is what you want to do. And the answer is... by the way you want to perform the authentication (authenticating to a server), your autoit program isn't what's going to build your authentication key. That will come from the server. The user will send a request/purchase the key, you generate the key on the server, store it in the server database, send the code to the user, they enter the code, the program sends that code to your server to authenticate, and then you activate the program. there's a bunch of details in the middle (how will the algorithm work? how do I keep the users from distributing the one key?) that you'll have to ask or discover yourself. Do you tie it to system hardware information? (i.e. MAC address?) sure you can. But you'll have pissed of users if they buy a new computer and can't use your software now.
    1 point
  11. WinAPIEx UDF <- example scripts _WinAPI_UniqueHardwareID
    1 point
  12. Just a friendly suggestion, try asking that again in shorter form. I'm not really getting the question. Seems others are having the same issue
    1 point
  13. what's the doubt? I don't see a question anywhere in there. Believe me... I CTRL+F and typed '?' and it came back with nothing
    1 point
×
×
  • Create New...