source,crackpatch,template,made,team,fill,cus
Quick Search for:  in language:    
source,crackpatch,template,made,team,fill,cus
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
C/ C++ Stats

 Code: 451,578 lines
 Jobs: 558 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for C/ C++.
Url Test
By Richard Creary on 8/27


Nice Console Calc
By Andrew Carter on 8/26


Visual Pi Hex 2
By jo122321323 on 8/26


Cascade Clone v1.0
By Paulo Jorente - aka JungleBoy on 8/26


Bubble Sort Algo
By d1rtyw0rm on 8/26


Copy File I/O
By Olivier Bastien on 8/25


Visual Pi Hex
By jo122321323 on 8/25


Click here to see a screenshot of this code!ShortCutSample
By Massimiliano Tomassetti on 8/25

(Screen Shot)

AnPMoneyManager beta
By Anthony Tristan on 8/24


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Easy Crack / Patch template

Print
Email
 
VB icon
Submitted on: 10/23/2000 10:43:51 AM
By: Andrew Heinlein (Mouse)  
Level: Beginner
User Rating: By 3 Users
Compatibility:Microsoft Visual C++

Users have accessed this code 15204 times.
 

(About the author)
 
     This is the source to a crack/patch template i made for my team... all you have to do is fill in the "customize data" section and compile... This does not in any way promote illegal solutions to buying software;) This is basically a quick way to do offset patching and learn file i/o
 

INCLUDE files:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

//**************************************
//     
//INCLUDE files for :Easy Crack / Patch 
//     template
//**************************************
//     
all at the bottom
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

//**************************************
//     
// Name: Easy Crack / Patch template
// Description:This is the source to a c
//     rack/patch template i made for my team..
//     . all you have to do is fill in the "cus
//     tomize data" section and compile... This
//     does not in any way promote illegal solu
//     tions to buying software;) This is basic
//     ally a quick way to do offset patching a
//     nd learn file i/o
// By: Andrew Heinlein (Mouse)
//
//This code is copyrighted and has// limited warranties.Please see http://
//     www.Planet-Source-Code.com/xq/ASP/txtCod
//     eId.812/lngWId.3/qx/vb/scripts/ShowCode.
//     htm//for details.//**************************************
//     

/********************************\
*Crack template for TBH crackers *
*by Mouse (andrew)*
*mouse@theblackhand.net *
*10-22-00*
\********************************/
#include <stdio.h>
#include <stdlib.h>
//CUSTOMIZE THIS DATA///////////////////
///////////////////////////////
const char* APPLICATION_NAME = "JComSoft Wave Mixer OCX (Version 1,0,0,1)";
const char* AUTHOR_NAME = "Mouse";
const unsigned long TARGET_FILE_SIZE = 77824;
const char* TARGET_FILE_EXE = "WavMixer.ocx";
const char* CRACK_DESCRIP = "Registers product with incorrect info";
////////////////////////////////////////
///////////////////////////////

    unsigned char MousesAsciiArt[174] = {
    	201,176,177,178,219,219,219,219,219,
    	176,177,178,219,219,219,219,219,176,
    	177,178,219,219,178,219,219,205,205,
    	187, 10,186, 32, 32,176,177,178,219,
    	 32, 32,176,177,178,219,219,178,219,
    	219,176,177,178,219,219,178,219,219,
    	 32, 32,186, 10,186, 32, 32,176,177,
    	178,219, 32, 32,176,177,178,219,219,
    	219,219,219,176,177,178,219,219,219,
    	219,219, 32, 32,186, 10,186, 32, 32,
    	176,177,178,219, 32, 32,176,177,178,
    	219,219,178,219,219,176,177,178,219,
    	219,178,219,219, 32, 32,186, 10,186,
    	 32, 32,176,177,178,219, 32, 32,176,
    	177,178,219,219,219,219,219,176,177,
    	178,219,219,178,219,219, 32, 32,186,
    	 10,200,205,205,205,205,205,205,205,
    	205,205,205,205,205,205,205,205,205,
    	205,205,205,205,205,205,205,205,205,
    	205,188, 10};
        void main(){
        	FILE *TARGET_FILE;
        	unsigned long FILE_SIZE = 0;
        	int CurChar = 0;
        	char FILE_GUTS[TARGET_FILE_SIZE - 1];
            	while(CurChar <= 173){
            		printf("%c",MousesAsciiArt[CurChar]);
            		CurChar++;}
            	printf("A crack by team: theblackhand\n");
            	printf("http://www.theblackhand.net\n");
            	printf("Author: %s\n",AUTHOR_NAME);
            	printf("Application: %s\n",APPLICATION_NAME);
            	printf("Target File: %s\n",TARGET_FILE_EXE);
            	printf("Description: %s\n\n",CRACK_DESCRIP);
            	TARGET_FILE = fopen(TARGET_FILE_EXE,"rb+");
                	if(!TARGET_FILE){
                		printf("\nCould not find or file is currently open: %s\n",TARGET_FILE_EXE);
                		printf("Make sure this program is in the target's directory!\n");
                		printf("Crack failed =(\n");
                		printf("\nPress Enter To Close this Program...");
                		scanf("seeya");
                		return;
                	}
                	printf("Target found!\n");
                	printf("Checking file size...\n");
                	while(fgetc(TARGET_FILE)!=EOF){FILE_SIZE++;}
                	fclose(TARGET_FILE);
                	TARGET_FILE = fopen(TARGET_FILE_EXE,"rb+");
                	printf("\nYour version: %i \nTarget version: %i\n",FILE_SIZE,TARGET_FILE_SIZE);
                    	if(FILE_SIZE != TARGET_FILE_SIZE){
                    		printf("\nFile is the wrong version\\size!\n");
                    		printf("Crack failed =(\n");
                    		fclose(TARGET_FILE);
                    		printf("\nPress Enter To Close this Program...");
                    		scanf("seeya");
                    		return;
                    	}
                    	printf("\nCorrect file! Installing crack...\n");
                    	FILE_SIZE = 0;
                        	while((CurChar=fgetc(TARGET_FILE))!=EOF){
                        		FILE_GUTS[FILE_SIZE] = CurChar;
                        		FILE_SIZE++;
                        	}
                        	fclose(TARGET_FILE);
                        	//PLACE OFFSET PATCHES HERE://///////////////////////////////////////
                        	//To change the value @ offset 00001ADB to hex 74 do the following:
                        	//HEX OFFSET PATCHES: FILE_GUTS[0x1ADB] = (char)0x74;
                        	//or:
                        	//DECIMAL OFFSET PATCHES: FILE_GUTS[6875] = (char)0x74;
                        	FILE_GUTS[0x04F48] = (char)0x85;
                        	FILE_GUTS[0x053E2] = (char)0x74;
                        	/////////////////////////////////////////////////////////////////////
                        	FILE_SIZE = 0;
                        	TARGET_FILE = fopen(TARGET_FILE_EXE,"rb+");
                            	while(FILE_SIZE <= TARGET_FILE_SIZE - 1){
                            		fputc((int)FILE_GUTS[FILE_SIZE],TARGET_FILE);
                            		FILE_SIZE++;
                            	}
                            	printf("\nCrack successfull!\nHave fun\n");
                            	printf("\nPress Enter To Close this Program...");
                            	scanf("seeya");
                            	return;
                        }


Other 6 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
10/23/2000 10:51:44 AM:Rax
lol. nice code.
although about 10 
lnes of it can be erased but it's still 
pretty smart :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/23/2000 12:06:21 PM:Mouse
I have just started learning C++ so 
yeah, this could have been done in half 
the code/time by a pro i bet.  This was 
posted for a beginner, by a beginner
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/24/2000 3:53:46 AM:Rax
na don't get me wrong it's good 
code.
Seeing as you only start VB in 
January '99. C is a different matter 
though.
Nice crack though ;)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/14/2000 10:32:48 PM:Jeff_tm@hotmail.com
I am a beginner, and i don't understand 
what it is that you crack.  Is it a 
hexidecimal value in the .exe?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/19/2000 12:28:43 PM:Rax
Basicly you can either crack a prog in 
many different ways. The easiest way is 
to open in up in a hex editor and 
either hex out the part that you don't 
want or you one of the ore advanced 
ways is to use SoftIce, but I won't get 
into all that now. Look around for some 
tutorials on it or something.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/20/2002 3:48:37 AM:di[MOV]ich
I'm glad someone actually shares his 
knowledges to others, and lot of people 
sould learn from you. We are actually a 
big team that coperates, and if someone 
is good at programming but other at 
math. then you can understand the 
result.
Best regards from 
di[MOV]ich. :) 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | C/ C++ Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.