Skip to content

Commit

Permalink
add files from original again, fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
davidak committed Jan 23, 2016
1 parent 7e63a96 commit 191f3b5
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Author: David Zoltan Kedves ([email protected])

Version 0.2
Added multiple cracking threads support
Added 7z, zip support
Archive file type auto-detection

Version 0.1
Inital version (rar cracking working)
57 changes: 57 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
RarCrack!

This program licensed under GPL 2.

If you forget your password for compressed archive (rar, 7z, zip), this program is the solution.
This program uses bruteforce algorithm to find correct password. You can specify wich characters will be used in password generations.
Warning: Please don't use this program for any illegal things!

Changelog:
--------------------------------------------------
Version 0.2 [this is the latest version]
* Added multiple cracking threads support
* Added 7z, zip support
* Archive file type auto-detection

Version 0.1
* Inital version (rar cracking working)
--------------------------------------------------

Software requirements:
* > glibc 2.4
* any POSIX compatible operating system [sorry Window$ isn't]
* pthreads
* libxml2
* and finally: 7zip, unrar, unzip

Building and installing:

Everything is very easy:
---------------------------------------------------
tar -xjf rarcrack-VERSION.tar.bz2
cd rarcrack-VERSION
#you need gcc or any C compiler (edit Makefile CC=YOUR_C_COMPILER)
make
#you must be root in next step:
make install
---------------------------------------------------


Using RarCrack:
---------------------------------------------------
rarcrack your_encrypted_archive.ext [--threads thread_num] [--type rar|zip|7z]
---------------------------------------------------
Everything in [] are optional, rarcrack default crack two threads and autodetect the archive type. If the detection wrong you can specify the correct file type with the type parameter. RarCrack currently crack maximum in 12 threads.

After the cracking started RarCrack will print the current status of cracking and save it's to a status file. If you want more specific password character set, you need to run RarCrack to create the XML status file (3 sec).
---------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<rarcrack>
<abc>0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</abc>
<current>uU</current>
<good_password></good_password>
</rarcrack>
---------------------------------------------------
This is a sample XML file, and you see there is a character set. If you want, you can modify this file and when you start RarCrack again the program will be use new variables.
Warning: Take care when you changing this file, make sure the current password don't have characters outside the abc[character set]!

175 changes: 175 additions & 0 deletions README.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="hu">
<head>

<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>RarCrack!</title>


<meta content="David Zoltan Kedves <[email protected]>" name="author">

</head>


<body style="direction: ltr;">

<div style="background-color: rgb(200, 100, 50); width: 100%; height: 50px; text-align: center; color: rgb(255, 255, 255);">
<h1>RarCrack!</h1>

</div>

<div style="background-color: rgb(255, 255, 200); text-align: left; color: rgb(0, 0, 0); font-weight: bold;">
<div style="border: 1px none ; text-align: center; float: right; width: 180px; height: 80px; background-color: rgb(204, 204, 34); font-weight: bold;"><br>

Download<br>

rarcrack-0.2</div>

<br>

<span style="font-weight: normal;">If you
forget your password for compressed archive (rar, 7z, zip), this
program is the solution.</span><br style="font-weight: normal;">

<span style="font-weight: normal;">
</span><span style="font-weight: normal;">This
program uses
bruteforce algorithm to find correct password. You can specify wich
characters will be used in password generations.<br>

<span style="font-weight: bold;">Warning:</span>
Please don't use this program for any illegal things!<br>

<br>

You can freely modify and redistribute this program under terms of
GPL-2.<br>

</span>
<div style="text-align: left;">
<div style="text-align: left;"><span style="font-weight: normal;"><br>

<div style="border: 1px solid rgb(0, 0, 0); width: 80%; text-align: left; background-color: rgb(255, 255, 255); font-weight: bold;"><span style="font-weight: bold;">Changelog:<br>

<br>

</span><span style="font-weight: normal;">Version
0.2 [this is the latest version]</span><br style="font-weight: normal;">

<ul>

<li><span style="font-weight: normal;">Added
multiple cracking threads support</span></li>

<li><span style="font-weight: normal;">Added 7z,
zip support</span></li>

<li><span style="font-weight: normal;">Archive
file type auto-detection</span></li>

</ul>

<br style="font-weight: normal;">

<span style="font-weight: normal;">Version 0.1</span><br style="font-weight: normal;">

<ul>

<li><span style="font-weight: normal;">Inital
version (rar cracking working)</span></li>

</ul>

<span style="font-weight: bold;"></span></div>

<br>

<div style="border: 1px solid rgb(0, 0, 0); width: 80%; text-align: left; background-color: rgb(255, 255, 255); font-weight: bold;"><span style="font-weight: bold;"></span>Software
requirements:<br style="font-weight: normal;">

<ul>

<li style="font-weight: normal;">&gt; glibc 2.4</li>

<li style="font-weight: normal;">any POSIX compatible
operating system [sorry Window$ isn't]</li>

<li style="font-weight: normal;">pthreads</li>

<li><span style="font-weight: normal;">libxml2</span></li>

<li><span style="font-weight: normal;">and
finally: 7zip, unrar, unzip<br>

</span></li>

</ul>

<span style="font-weight: bold;"><span style="font-weight: bold;"></span></span></div>

</span></div>

<br>

<span style="font-weight: normal;">
</span>
<div style="text-align: left;"><span style="font-weight: normal;">
<div style="border: 1px solid rgb(0, 0, 0); width: 80%; text-align: left; background-color: rgb(255, 255, 255); font-weight: bold;">Building
and installing:<br>

<br>

<span style="font-weight: normal;">Everything is very easy:</span><br>

<pre>tar -xjf rarcrack-VERSION.tar.bz2<br>cd rarcrack-VERSION<br>#you need gcc or any C compiler (edit Makefile CC=YOUR_C_COMPILER)<br>make<br>#you must be root in next step:<br>make install</pre>

<br>

</div>

<br>

<div style="border: 1px solid rgb(0, 0, 0); width: 80%; text-align: left; background-color: rgb(255, 255, 255); font-weight: bold;">Using
RarCrack:<br>

<br>

<pre>rarcrack your_encrypted_archive.ext [--threads thread_num] [--type rar|zip|7z]</pre>

<span style="font-weight: normal;">Everything in [] are
optional, rarcrack default crack two threads and autodetect the archive
type. If the detection wrong you can specify the correct file type with
the type parameter. RarCrack currently crack maximum in 12 threads.<br>

<br>

After the cracking started RarCrack will print the current status of
cracking and save it's to a status file. If you want more specific
password character set, you need to run RarCrack to create the XML
status file (3 sec).<br>

<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>&lt;rarcrack&gt;<br> &lt;abc&gt;0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ&lt;/abc&gt;<br> &lt;current&gt;uU&lt;/current&gt;<br> &lt;good_password&gt;&lt;/good_password&gt;<br>&lt;/rarcrack&gt;<br><br></pre>

This is a sample XML file, and you see there is a character set. If you
want, you can modify this file and when you start RarCrack again the
program will be use new variables.<br>

<span style="font-weight: bold;">Warning:</span>
Take care when you changing this file, make sure the current password
don't have characters outside the abc[character set]!<br>

</span><br>

</div>

</span></div>

</div>

<div style="text-align: right;"><small><span style="text-align: right;">Copyright 2007 David Zoltan
Kedves &lt;[email protected]&gt;</span></small></div>

</div>

</body>
</html>
12 changes: 12 additions & 0 deletions RELEASE_NOTES
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
This is an inital release.
You don't permitted to use program to illegal use.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Known bugs:
The progam isn't test unrar program available.


0 comments on commit 191f3b5

Please sign in to comment.