Sign in to follow this  
Followers 0
CoePSX

Register UDF

7 posts in this topic

It's been almost a year since I started playing with AutoIT.

I recently developed a very controversal program. There's an online community(like a forum) called Orkut

that's very famous here in Brazil. And, in orkut we have lots of friends... When we want to send a "Nice weekend" message to them, we have to copy and paste at every single one's page.

So... i developed this program and called it Magic Orkut. It sends a message to everybody in your friend list.

Unfortunately, the owners of this community don't like programs like these. There was another one like mine once called Flood Tudo, and it became a fever in only a few days. In less than a week, they changed the pages in a way that the program didn't worked anymore.

I liked that idea, I worked really hard and after +1600 lines of AutoIt code, I did a great job. The only

thing that was left was to impeach the fever. I thought about making a Name/Serial code pair, but then somebody would get one, and pass on... everyody would still use it. I then developed a register system tha only registers ONE computer. And ONE user.

Now... part of my system is based on the AutoIT UDF RC4 _StringEncrypt function. It actually use it as a part of the calculations.

Basically, it gets 4 case-sensitive strings, and calculates 2 numbers, both on a NNNNN-NNNNN-NNNNN-NNNNN format. It works this way: Jack downloads the program. The program checks on the registry if the program is registered. If it's not, it doesn't work and tells Jack he must registre the program by email. Jack opens a little window with 2 tabs. The first tab is the "Order" tab. The order tab contains 3 fields: Name, e-mail and Verification number. Jack types his name, his email and presses the OK button. Then a number appears on the 3rd field. Jack is instructed to email a certain address with those 3 strings. The verification number is calculated using the name, the email, the user name, and the computer name.

The program manufacter has a little keygen based on the same system, and calculates a 2nd number(the final register number). This 2nd number is calculated using the name, the email and the 1st number. Then the 2nd number is sent to Jack.

Jack goes to the same little window, but goes to the "Enter code" tab. There he finds 3 fields again: Name, Email and Register number. He enters the data and Bingo! The product is now registered. Every time the program starts, it checks if the information writen on the registry is valid, by doing the number calculations and comparing to the read in the registry. Just like the 1st time.

OBS: When using this system, do not remove the hifens, the hifens are a part of the number!

Enjoy! :D

Register.au3

Register_example.au3


[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Share this post


Link to post
Share on other sites



It's been almost a year since I started playing with AutoIT.

I recently developed a very controversal program. There's an online community(like a forum) called Orkut

that's very famous here in Brazil. And, in orkut we have lots of friends... When we want to send a "Nice weekend" message to them, we have to copy and paste at every single one's page.

So... i developed this program and called it Magic Orkut. It sends a message to everybody in your friend list.

Unfortunately, the owners of this community don't like programs like these. There was another one like mine once called Flood Tudo, and it became a fever in only a few days. In less than a week, they changed the pages in a way that the program didn't worked anymore.

I liked that idea, I worked really hard and after +1600 lines of AutoIt code, I did a great job. The only

thing that was left was to impeach the fever. I thought about making a Name/Serial code pair, but then somebody would get one, and pass on... everyody would still use it. I then developed a register system tha only registers ONE computer. And ONE user.

Now... part of my system is based on the AutoIT UDF RC4 _StringEncrypt function. It actually use it as a part of the calculations.

Basically, it gets 4 case-sensitive strings, and calculates 2 numbers, both on a NNNNN-NNNNN-NNNNN-NNNNN format. It works this way: Jack downloads the program. The program checks on the registry if the program is registered. If it's not, it doesn't work and tells Jack he must registre the program by email. Jack opens a little window with 2 tabs. The first tab is the "Order" tab. The order tab contains 3 fields: Name, e-mail and Verification number. Jack types his name, his email and presses the OK button. Then a number appears on the 3rd field. Jack is instructed to email a certain address with those 3 strings. The verification number is calculated using the name, the email, the user name, and the computer name.

The program manufacter has a little keygen based on the same system, and calculates a 2nd number(the final register number). This 2nd number is calculated using the name, the email and the 1st number. Then the 2nd number is sent to Jack.

Jack goes to the same little window, but goes to the "Enter code" tab. There he finds 3 fields again: Name, Email and Register number. He enters the data and Bingo! The product is now registered. Every time the program starts, it checks if the information writen on the registry is valid, by doing the number calculations and comparing to the read in the registry. Just like the 1st time.

OBS: When using this system, do not remove the hifens, the hifens are a part of the number!

Enjoy! :wacko:

Simple idea but useful..

Cheers.. :D

Share this post


Link to post
Share on other sites

This is really great! Thanks CoePSX!

Share this post


Link to post
Share on other sites

Good idea, but it seems to me that someone could just pass on the second serial with the name, email, etc. that they used. I probebly just didnt follow you right though. =]


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

No that will not work, I tried it. He uses the computer name to help generate the Activation code.

Share this post


Link to post
Share on other sites

Hmm, Too bad i haven't read this topic before.

I am wondering, is there a (easy) way to create a larger code? like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX or also non-computer bound keys (something ike VLK)?

Also, is there a way to secure the key a bit more, if i use this specific code, and someone else would use your example, can't they register the program with that "keygen" you provided?

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0