17 Oct 2013

General Information About Cracking.....

Cracking:-

Software cracking is the modification of software to remove or disable features which are considered undesirable by the person cracking the software.


 usually related to protection methods:
  • copy protection,
  • protection against the manipulation of software
  • trial/demo version,
  • serial number,
  • hardware key,
  • date checks,
  • CD check

                          The distribution and use of cracked copies is illegal in most countries. There have been varities over cracking software.The most common software crack is the modification of an application's binary to cause or prevent a specific key branch in the program's execution.
                       This is accomplished by reverse engineering the compiled program code using a debugger such as SoftICE, OllyDbg, GDB, or MacsBug until the software cracker reaches the subroutine that contains the primary method of protecting the software or by disassembling an executable file with a program such as IDA.
                          The binary is then modified using the debugger or a hex editor or monitor in a manner that replaces a prior branching opcode(operation Code) with its complement or a NOP opcode so the key branch will either always execute a specific subroutine or skip over it.
                            Almost all common software cracks are a variation of this type. Proprietary software developers are constantly developing techniques such as code obfuscation, encryption, and self-modifying code to make this modification increasingly difficult.
                                     Even with these measures being taken, developers struggle to combat software cracking. This is because it is very common for a professional to publicly release a simple cracked EXE or Retrium Installer for public download, eliminating the need for inexperienced users to crack the software themselves.
                                A specific example of this technique is a crack that removes the expiration period from a time-limited trial of an application. These cracks are usually programs that patch the program executable and sometimes the .dll or .so linked to the application.
                           Similar cracks are available for software that requires a hardware dongle. A company can also break the copy protection of programs that they have legally purchased but that are licensed to particular hardware, so that there is no risk of downtime due to hardware failure.
Another method is the use of special software such as CloneCD to scan for the use of a commercial copy protection application. After discovering the software used to protect the application, another tool may be used to remove the copy protection from the software on the CD or DVD.
This may enable another program such as
  • Alcohol 120%,
  • CloneDVD,
  • Game Jackal,
  •  Daemon Tools to copy the protected software to a user's hard disk.
                           Popular commercial copy protection applications which may be scanned for include SafeDisc and StarForce.In other cases, it might be possible to decompile a program in order to get access to the original source code or code on a level higher than machine code. This is often possible with scripting languages and languages utilizing JIT compilation.
                                      An example is cracking (or debugging) on the .NET platform where one might consider manipulating CIL to achieve one's needs. Java's bytecode also works in a similar fashion in which there is an intermediate language before the program is compiled to run on the platform dependent machine code.
                                          Advanced reverse engineering for protections such as SecuROM, SafeDisc or StarForce requires a cracker, or many crackers to spend much time studying the protection, eventually finding every flaw within the protection code, and then coding their own tools to "unwrap" the protection automatically from executable (.EXE) and library (.DLL) files.
                                          There are a number of sites on the Internet that let users download cracks for popular games and applications. Although these cracks are used by legal buyers of software, they can also be used by people who have downloaded or otherwise obtained pirated software.

17 Sept 2013

how to create executable jar file of java...

Step 1: Locate the Jar utility in the JDK folder
  • Before you do anything else, make sure that you have jdk installed on your computer. You also will need to know the directory to the jdk. Specifically, you will need the path to the Jar utility that is inside your jdk folder. My path to jar is:
·          C:\"Program Files"\Java\jdk1.6.0_02\bin\jar
    • As you can probably tell, I'm using Java 1.6 and within the 'bin' folder is jar which is the program that you will use to make jar files. Basically typing that line up above tells the command prompt that we're going to run the jar utility which is located in the folder C:\"Program Files"\Java\jdk1.6.0_02\bin
    • On your own computer, the path to the jar utility will probably look similar, it depends on where you installed the jdk to.
Step 2: Create themanifest file
Since you could potentially be compiling many files into one jar file, Java needs to know which one will have the main method. Our example is a bit more trivial since we're just compiling one class into a Jar. Nonetheless, the way that Java knows which of classes has the main method is from a single line in what's known as a manifest file. A manifest file can be a text file made with notepad. I called my manifest file manifest.txt, my manifest file says:
Main-Class: JarDemo


Use the command prompt to navigate to where the JarDemo.class and manifest.txt file are saved and type :


C:\>  C:\Path\to\jdk\bin\jar cvfm jarDemoCompiled.jar manifest.txt JarDemo.class
If you don't like always typing out the generally long path to the jdk. You can set the path as follows

    c:> path c:\path\to\jdk\bin;%path%

Doing so would allow you to type

C:\>  jar cvfm jarDemoCompiled.jar manifest.txt JarDemo.class

When I don't usde the shortcut on my computer, I must type:

C:\>  C:\"Program Files"\Java\jdk1.6.0_02\bin\jar cvfm jarDemoCompiled.jar manifest.txt JarDemo.class

cvfm means "create a jar; show verbose output; specify the output jar file name (jarDemoCompiled.jar); specify the manifest file name(manifest.txt) and use the file JarDemo.class to create the jar
  

Comments

© 2013-2016 ITTechnocrates. All rights resevered. Developed by Bhavya Mehta