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 


I have other idea...only run so many times
Goto page Previous  1, 2, 3, 4, 5  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: Fri Mar 28, 2003 5:13 am    Post subject: hummm Reply with quote

it looks like its "padding" 2 bytes for some resaon...hummm

first time you run it it works fine the second time you run it it starts to paded bytes....

_________________
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: Fri Mar 28, 2003 5:17 am    Post subject: Reply with quote

Padding 2 bytes would mean it was adding 2 bytes before or after the text. In this case it's overwriting 2 characters.
_________________
-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: Fri Mar 28, 2003 5:31 am    Post subject: Reply with quote

ahhhh kk i see what you mean....yea no its not over writting ALL the characters... that is to bad to Sad i like how this worked...back to plan a hehheheeh
_________________
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: Fri Mar 28, 2003 5:32 am    Post subject: Reply with quote

would some type of offset cuase this 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: Fri Mar 28, 2003 5:35 am    Post subject: Reply with quote

I'm not real sure, it seems like it should start writing right at the end of the file, but it's righting 2 characters before the end.
_________________
-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: Fri Mar 28, 2003 5:36 am    Post subject: Reply with quote

yea on the second run that is Sad first run it works fine
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Mar 28, 2003 7:12 am    Post subject: Reply with quote

In my opinion writing to EXE files is really not the way to proceed. Especially on networks
ordinary users may not have rights to do this etc.

AND the main concern would be antivirus programs. Many of those will keep checksums or MD5
values of EXEs and will pop up every time you change anything in the EXE. AV progs will
generally not like programs which write to other EXE files! Users will have red lights flashing all over
their screen and you will be flooded with mails and stuff from users who are convinced that you
have installed a malicious program on their PC.

Greetz

Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
LOBO
Valued Contributor
Valued Contributor


Joined: 14 Mar 2002
Posts: 241
Location: Wilmington, Delaware, USA

PostPosted: Fri Mar 28, 2003 12:38 pm    Post subject: Reply with quote

Dr. Dread wrote:
AV progs will
generally not like programs which write to other EXE files! Users will have red lights flashing all over
their screen and you will be flooded with mails and stuff from users who are convinced that you
have installed a malicious program on their PC.


I have to agree with Dread on this AV's are know for checking program size, checksums, & MD5. They will see this change and flag it everytime.

Just my two cents,
Mark
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Fri Mar 28, 2003 2:10 pm    Post subject: Reply with quote

yea you guys do have a i point..I don't make s/w for users..I'am just playing with a few ideas..but like you guys say this won't be a good one to do Sad I will go back to plan A using a ini file of some type..I wish i knew why the exe don't work 100% tho Smile


BTW the finally code that i post will be a type of ini file instead of the exe one cause like you say this won't be a good thing for public useage Smile

thanks for all the feedback Smile

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Fri Mar 28, 2003 2:44 pm    Post subject: Reply with quote

For one of my programs i used the following method ! And so far it still works greate Very Happy

Save your data into the registry !

The program creates a random registry entry using an encrypted hard drive serial number (making it hard to find).

Then ecnrypt your Days/Trys/Runs Left etc and save it to the above registry.

Make sure not to tie the registry to your program in any way. eg.

Don't call it: mycompany\vars etc etc

Get your program to randomly generat a registry key Very Happy

In my programs i use several methods eg.

The above, i also use a key file, included in the key file is:

Users Name,Email,Serial No,License,MD5 etc
I then get the program to verify the data in the key file, (it is ecnrypted, using Blowfish (which I think is very secure)).

I also use the date the program was installed again encrypted and saved into the registry so that you can't uninstall and re-install.

I use about 4 to 6 different methods to make it harder for the wannabe cracker Twisted Evil .

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Fri Mar 28, 2003 2:47 pm    Post subject: Reply with quote

Hi Guys,
You can also use encrypted serial # along with @datetime to limit the
length of time the application will be allowed to run, like a demo period
for instance.

I also agree with Dread on the EXE issue, but the key would have to be
written somewhere where it would be difficult to track or find. Here are
some thoughts:

Write to the registry but change the regkey name and delete the old one
each time the app is run so it will be harder to figure out whats going on.

Rewrite the encrypted serial # using variable encryption, in other words
change the passcocde so the encrypted data changes each time and will
be more difficult to to decode.

Move the location of the encrypted string(registrykey or file) each time
the app is run. Encrypt the location encrypt the location and place in the
registry or ini file.

If you do go ahead with the EXE idea I would append it not write directly
to it. This way you have less concern about corrupting the EXE.


As far as I'm concerned, there will always be way around anything you
do for someone determined to beat the system. Therefore, I usually just
try to be prudent and provide some level of protection. My apps are all
for bussiness customers and not the general public so i don't see as
many problems as some of you guys.

Well that's my 2 cents Smile .

moke
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: Fri Mar 28, 2003 3:02 pm    Post subject: Reply with quote

moke - I like some of thoses ideas hummmm yea the exe i have stopped working on cause I don't know why it don't work right Sad ...BUT your ideas sound very good.....


thanks

_________________
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: Fri Mar 28, 2003 3:07 pm    Post subject: Reply with quote

Rubes_sw - hummm that sound to be neat...do you have an explames you can share? I would like to see some of your ideas


thanks

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
ACE
Valued Newbie


Joined: 05 Sep 2002
Posts: 34

PostPosted: Fri Mar 28, 2003 11:07 pm    Post subject: Reply with quote

keep in mind that no matter what encryption algo you use, a cracker can see your regcode or serial.

A cracker (a real one) can see the code at run time like you see the code when you debug your script, line by line, so no matter how you hide or crypt your serial, there will be a point in the code where a simple @equal(supposed in this case) fuction will arrive, and the result will be send the execution to registered version code or notreg, so a simple change can be done and cracked. And in this point the serial will be decrypted by your own sofware, so a simple copy an paste and you have a decryptor for your codes.

So, the way to go is to confuse the cracker with long loops and long useless code that dont do nothing than make him uninterested, along with good protection techniques of course, its a mix of software tech and behavior tech.

Lioric
Back to top
View user's profile Send private message
ACE
Valued Newbie


Joined: 05 Sep 2002
Posts: 34

PostPosted: Fri Mar 28, 2003 11:11 pm    Post subject: Reply with quote

and check for the info in different parts of the program, at start, when using a tool of the menu, saving a file, randomly

Lioric
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
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