Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   self made protection -> read defect sector and run... (https://www.delphipraxis.net/26566-self-made-protection-read-defect-sector-run.html)

cdkiller 25. Jul 2004 15:52


self made protection -> read defect sector and run...
 
hello,

now i tried to made my own protection.

at this time i have a program which have a 255 char long string filled with "aaaaaaaaa"
after the creation of the bin file i have opened it in a hex editor and change the string to fffff which creates defect sectors.

ut also my program doesn't start after i load the image. i also can not copy it to the hdd or edit it with a hex editor.

so my idea is now, i write a modul which loads my programm and read the defect errors and correct its back into the aaaaaa form.

will it run or not or can i do it ?

the problem is also that i cannot change the ffff string in a hex editor into an aaatring because then he cannot read the file and breaks.

how can i read this ?

thanks

Luckie 25. Jul 2004 18:23

Re: self made protection -> read defect sector and run...
 
What kind of Hex-Editor do you use that physically damages sectors on a disk when changing a string? :shock:

rantanplan99 25. Jul 2004 18:43

Re: self made protection -> read defect sector and run...
 
Zitat:

Zitat von Luckie
What kind of Hex-Editor do you use that physically damages sectors on a disk when changing a string? :shock:

I think he made an ISO image of a CD with the Programm, and then he used a Hexeditor to manipulate the CD image

cdkiller 26. Jul 2004 03:46

Re: self made protection -> read defect sector and run...
 
i have a cue/bin image.

and in this i have change the string to fff which have the effects of errors.

Luckie 26. Jul 2004 03:49

Re: self made protection -> read defect sector and run...
 
Well, I think you just destroyed the Image an not any Sectors of the Image. Take a JPEG file, open it with a Hex-Editor, change some random Bytes of the Header and if you hit the right ones, picture viewers will be unable to open them because of unredable fileheaders.


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:19 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz