Jump to content

Software License Key and Keygen


ChrisL
 Share

Recommended Posts

  • 4 months later...
  • 1 month later...

ok i ran across it

check comments...

Check Code

;I only have one working code, i lost my long list... I'm sure you coulde create
;a code generator for it fairly eiasly
$code='1234-4353-2343-0000-1';This works
;$code='2349-4353-2343-0000-1';This doesnt work
...
If $qll[$i] = "0000" Then $err = 0
...
First of all, thanks for sharing your code, and I like the idea of the script.

However, "I only have one working code..." -> That's not much of a problem...

If $qll[$i] = "0000" Then $err = 0 -> means that any random key code works if you use either "0000-xxxx-xxxx-xxxx-x", or "xxxx-0000-xxxx-xxxx-x".

Unfortunately, even the best algorithm doens't help with an Interpreter Language like AutoIt.

Even compiled software gets hacked, but with AutoIt it's just a lot easier.

IMO, if you really can sell one of your AutoIt scripts, why bother and implement additional obstacles for the end user who bought your piece of software?!

You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time. Abraham Lincoln - http://www.ae911truth.org/ - http://www.freedocumentaries.org/
Link to comment
Share on other sites

  • 3 months later...

really nice program! i been looking for this!

just one thing, the code generator don´t works :P can you please expalin a bit more? i just get "incorrect serial code" or wel... not the normal program either

plz help!!!

Edited by join
Link to comment
Share on other sites

Hi,

I've been writing a similar system for a while now for myself and a friend whom requires a 30 use trial (i hate 30 day trails), Unfortunately i lost lots of the code when my USB key decided to go to USBKey heaven, but I've got older backups.

I too used encryption, registry entries and other methods to cross check various install parameters, and also looked into a mac address (hardware based) key generation with unique appid generation and got it working quite well.

I agree with the quote about keeping the app price low enough that it would be a waste of man hours to try and crack it.

and also agree that unless your name is Bill, and you use to own a operating system software house, then everyone could use a little extra pocket money imho :P

Regards

RichE

ps. do a search for getmac() udf (an older version but you'll get the idea)

RichE

[font="'Arial Narrow';"]Current projects[/font]

[font="'Arial Narrow';"]are on my site [/font]Sellostring

Link to comment
Share on other sites

  • 2 weeks later...
  • 8 months later...
  • 3 months later...

Hi, sorry if bumping old topic but I cannot find the TMy.dll anywhere? I was messing with the program and set the date backwards and now can't find the dll file to delete it and continue to use it. Please help.

If you using the script without changing it, it would be in your @windowsdir and you couldn't see it because it was set +HS attribute. Try working on your current directory and set it as @scriptdir and of course change the attribute to -HS, so you can see it while you working on it.

Anyway, I got some question here.

I saw 'Eric' word in CheckValidation() function. What does it mean? Should I change it?

Secondly, whenever i deleted the .dll file, I had to insert the key twice before It can read the main script. Yeah, I know i can skip/remove the validation function, just in case if it's a bug. Anyway, I changed $trialPeriod = -1.

3rdly, If MAC address can be multiple in each computer and can be changed, what method should I use?

Anyway, great script and I like the idea.

thanks

Link to comment
Share on other sites

  • 4 months later...

If _NowCalcDate() <> $LastRunDateCheck Then ;if the date is different to the last ran date then increase the days used by 1
            $CountCheck += 1
            Debug ("Increase the used count; Count is now " & $CountCheck)
            IniWrite ($myFakeDll,$dlliniSection,Encrypt ("Count"),Encrypt ($CountCheck))
            IniWrite ($myFakeDll,$dlliniSection,Encrypt ("LastRunDate"),Encrypt (_NowCalcDate()));log the new last run date
EndIf

For those who tried ChrisL's script. I just want to ask about the script.

Might I be wrong but if a user doesn't use his/her computer for days, and the $CountCheck wouldn't increase right? Yes, this script still work because we already declared $finalDateCheck as when will the program will be expired.

Link to comment
Share on other sites

  • 8 months later...
  • 4 months later...
  • 6 months later...

I guess some people still use this and "Patchworks" asked me for a display current registered details within the app.

This is obviously no use unless your using it within your application where you defined the encryption key!

So here you go...

Func _ShowRegistrationDetails()

Local $RecordedMac, $RecordedKey

$RecordedMac = Decrypt(IniRead ($myFakeDll,$dlliniSection,Encrypt ("GeneratedMac"),Encrypt ("NONE")))
$RecordedKey = Decrypt(IniRead ($myFakeDll,$dlliniSection,Encrypt ("DecodeKey"),Encrypt ("NONE")))

MsgBox(0 + 64 + 262144,$applicationName,"Registration details." & @CRLF & _
"Recorded MAC: " & $RecordedMac & @CRLF & _
"Recorded Unlock Key: " & $RecordedKey)

EndFunc
Link to comment
Share on other sites

  • 2 weeks later...

what part of the code i change to activate the application again ?

I get to this point where

Msgbox (262144,$applicationName,"Evaluation Expired")

Now what ? I dont want to exit, i want to enter activation code or something

i also unable to find

$aTrial_File[1] = @WindowsDir & "\" & $s_APPTRIAL_TITLE & ".sys"

$aTrial_File[2] = @SystemDir & "\" & $s_APPTRIAL_TITLE & ".sys"

$aTrial_File[3] = @UserProfileDir & "\Local Settings\Application Data\" & $s_APPTRIAL_TITLE & ".sys"

$aTrial_File[4] = @AppDataCommonDir & "\" & $s_APPTRIAL_TITLE & ".sys"

and

RegWrite("HKEY_CURRENT_USER\Software\" & $s_APPTRIAL_TITLE, "Product Key", "REG_SZ", $s_PRODUCT_KEY_VALUE)

Win7X64

Edited by dirty
Link to comment
Share on other sites

  • 2 months later...

Hi!

This is a great code and I love it very much!

But I have a question?

How can I do like that.

When you press "Cancel" ==> Run code with evaluate software. It will limit by day or time

When you enter right code ==> Run code without limit.

I hope you will help me with above solution :)

Link to comment
Share on other sites

  • 3 years later...

I made this a while ago as part of a one off application, I've stripped it out of my app and put it as a general reg key system.

 

You can have it as a license key system or a license keyed trial software or just a time limited trial.

 

All it does is encrypt the license data and store it in an ini file which is cunningly disguised as a dll file, if you were to open the dll in notepad it just looks like jibberish.

If using the trial software option and the user puts the date back then the software will expire the next time validation is ran.

 

It is an idea to periodically run the validation fuction during the day or before a specific function in your application, this also nags the user that it is evaluation software on trial.

 

Just thought it might be useful for someone.

 

Chris

 

Edit: New Version of the trial software attached.

Added the ability to make the reg code optional and have just a trial period

Previous downloads 435

KeyGen.au3

TrialSoftware.au3

Hi, Chris Lambert firstly my name is musa from turkey I little speak english  so sorry 

I use your project(code) but ı don't know used Do U have skype account ? if any Skype: bulutdc Return on waiting..

Mail: myildirim304@gmail.com

Skype : bulutdc

Thank you.

Link to comment
Share on other sites

  • 7 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...