Giter Site home page Giter Site logo

shur1k-n / rarninja-rar-password-cracking-utility Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 10.0 315 KB

A dictionary attack implementation, for the automated cracking of password-protected RAR files with the help of a supplied dictionary file. This project was created for experimental/observational purposes.

Home Page: https://TheComputerNoob.com

Python 100.00%
rar cracking hack dictionary attack file brute force

rarninja-rar-password-cracking-utility's Introduction

RARNinja: RAR Password Cracking Utility

Description & Usage

A high-speed & unique multithreaded dictionary attack implementation that attacks a password-protected RAR file with a "chunkified" user-defined dictionary file to find the correct password within the candidates.

Example Execution

Upon the discovery of the correct password, the supplied RAR is automatically unlocked and extracted into the "Extracted" folder in the current working directory; so RARNinja can easily be left to crack a RAR file in the background as well.

This project was created in Python, for experimental/observational purposes; and can also be aided with my own super fast number dictionary generator NumNinja (up to 2M+ lines per second) for numeric attacks.

Optimization

The high password-matching speed is owed to the approach of "chunkifying" the dictionary file (creating multiple "chunks" of the dictionary) and then operating on all those simplified chunks concurrently (multithreading) in different directions (forward and backward) for significantly higher overall balance, efficiency and performance.

Approaches: Regular Vs. Multithreaded

Dependencies to PIP-Install

  • rarfile (for working with RAR files)
  • colorama (for colors)
  • termcolor (for colors)

My website: https://TheComputerNoob.com

rarninja-rar-password-cracking-utility's People

Contributors

shur1k-n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rarninja-rar-password-cracking-utility's Issues

UnicodeEncodeError: 'charmap' codec can't encode characters in position 5-10: character maps to <undefined>

$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: rarfile in c:\users\alex\appdata\roaming\python\python39\site-packages (from -r requirements.txt (line 1)) (4.0)
Requirement already satisfied: colorama in c:\users\alex\appdata\roaming\python\python39\site-packages (from -r requirements.txt (line 2)) (0.4.4)
Requirement already satisfied: termcolor in c:\users\alex\appdata\roaming\python\python39\site-packages (from -r requirements.txt (line 3)) (1.1.0)

$ python RARNinja.py
Traceback (most recent call last):
  File "C:\Users\Alex\TempGitProjects\RARNinja-RAR-Password-Cracking-Utility\RARNinja.py", line 78, in <module>
    printBanner()
  File "C:\Users\Alex\TempGitProjects\RARNinja-RAR-Password-Cracking-Utility\RARNinja.py", line 27, in printBanner
    print(BANNER1), print(BANNER2), print(BANNER3), print(BANNER4)
  File "C:\Users\Alex\AppData\Roaming\Python\Python39\site-packages\colorama\ansitowin32.py", line 41, in write
    self.__convertor.write(text)
  File "C:\Users\Alex\AppData\Roaming\Python\Python39\site-packages\colorama\ansitowin32.py", line 162, in write
    self.write_and_convert(text)
  File "C:\Users\Alex\AppData\Roaming\Python\Python39\site-packages\colorama\ansitowin32.py", line 187, in write_and_convert
    self.write_plain_text(text, cursor, start)
  File "C:\Users\Alex\AppData\Roaming\Python\Python39\site-packages\colorama\ansitowin32.py", line 195, in write_plain_text
    self.wrapped.write(text[start:end])
  File "C:\Program Files\Python3.9\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 5-10: character maps to <undefined>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.