forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


question about a code idea
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Mar 25, 2003 3:57 am    Post subject: question about a code idea Reply with quote

hello all

I have search for this info but haven't found it yet....I have seen s/w that will let you only run it on one computer...when you first run it it makes a key then you have to send that key in to get other key.....can a vds program do this to? so it will only run on one computer and if you try to run it on other computer you need to get a differnt key?

hard to explain


thanks

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Mar 25, 2003 4:11 am    Post subject: Reply with quote

I think I know what you are talking about. The only way I can think to do
that is to get the drive serial number of that computer using @volinfo().
like this %%setial = @volinfo(c:,z). Then generate a key based on that.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Mar 25, 2003 4:19 am    Post subject: Reply with quote

Another possibility would be to use the MAC address of the user's network card since those get replaced a lot less often (I've replaced my NIC only once as opposed to numerous hard drives). Or manipulate a combination of the two to create a machine key, have them send it to you and then manipulate that key to create a user key which you would send back to them. The weakness in that method is the need to have a way for the program to validate the user key you send back. In the end it always comes down to...
Code:
IF %%good_key
  GOTO continue
ELSE
  GOTO close
END

and that is easy to patch, even if creating a keygen is not.
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Mar 25, 2003 4:24 am    Post subject: Reply with quote

hummmm

volinfo...hummmm i thought they did it a diff way.....ahhhh i see now what you are getting at:

This function returns information about the specified volume.

Z - returns the hard disk serial number.

hummm so take that number and have then enter that number into a keygen...to make a key that will let it run...BUT the question is how to make vds check that vol key agaist then one you maded.....

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Mar 25, 2003 4:25 am    Post subject: Reply with quote

Hortalonus - good idea BUT how to have vds read the mac address???
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Mar 25, 2003 4:49 am    Post subject: Reply with quote

My basic idea of how to do this:
Your program would need to get the drive serial(should probably encrypt it a little), have them send you that serial, you would have a program to take their name and drive serial and create a serial number based on them.
Send them their serial and have them put in their info and the serial number.
The users program would save the name but check the drive serial each time the program is ran. If all info matches then the program runs, if not it tells them they need to get a new serial.

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Mar 25, 2003 4:54 am    Post subject: Reply with quote

Try this...
Code:
OPTION FIELDSEP,":"
RUNH ipconfig.exe /all > c:\ipconfig.txt
LIST CREATE,1
LIST LOADFILE,1,c:\ipconfig.txt
IF @GREATER(@COUNT(1),0)
  %i = 0
  REPEAT
    LIST SEEK,1,%i
    PARSE "%%field;%%value",@ITEM(1)
   IF @GREATER(@POS("Physical Address",%%field),0)
     INFO MAC Address: %%value
   END
   %i = @SUCC(%i)
  UNTIL @GREATER(@SUCC(%i),@COUNT(1))
ELSE
  WARN There was an error getting your IP configuration!
END
:close
FILE DELETE,c:\ipconfig.txt
LIST CLOSE,1
EXIT
Back to top
View user's profile Send private message Send e-mail
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Mar 25, 2003 4:55 am    Post subject: Reply with quote

Would that require a network card? If so it might not be the best way to go.
Some people still don't have em Smile

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Mar 25, 2003 4:58 am    Post subject: Reply with quote

@Sheep: Not necessarily... even your standard dialup adapter has a MAC address. And hey, if Mac has one, I'd bet everyone has one! Wink
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Mar 25, 2003 5:00 am    Post subject: Reply with quote

SnarlingSheep - that is true...wow this is harder then i thought...


Hortalonus - are you saying a phone modem has a mac address???

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Mar 25, 2003 5:01 am    Post subject: Reply with quote

Actaully, we are assuming they get this program off the internet in the first place and then send and receive info for their serial. So they should have some kind of connection.
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Mar 25, 2003 5:03 am    Post subject: Reply with quote

SnarlingSheep - good piont we are assuming that....hummmmm
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Mar 25, 2003 5:07 am    Post subject: Reply with quote

I believe any computer with internet access would have to have a MAC address. Could be wrong though.
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Mar 25, 2003 5:11 am    Post subject: Reply with quote

but i was just thinking that if a user wants to run the program on a "bare" machine that don't have a phone modem or a network card...then using the mac address idea would cause a problem.....
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Mar 25, 2003 5:13 am    Post subject: Reply with quote

You could have your program use one or the other.
If MAC isn't available, use harddrive.

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group