1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Cracking PKCS12 file

Discussion in 'Ethical hacking' started by sansatan, Mar 2, 2011.

  1. sansatan

    sansatan New Member

    Joined:
    Feb 28, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I just want to present a little multithreading program to crack PKCS12 files (i.e. p12 and pfx extensions files) using a dictionary attack (no dictionary file is included). It requires ssl development library and POSIX threads to compile.

    It's releases under GPLv3 license so source code is available.

    You can download it from sourceforge.net. Search "crackpkcs12" project.

    Usage is very simple:

    Code:
    Usage: crackpkcs12 -d <dictionary_file> [ -t <number_of_threads> ] [ -v ] [ -s <message_interval> ] ] <file_to_crack>
    
      -d <dictionary_file>     Specify dictionary file path
      -t <number_of_threads>   Specify number of threads (by default number of CPU's)
      -v                       Verbose mode
      -s <message_inteval>     Number of attemps between messages (implied -v)
    Have fun,

    sansatan
     
  2. sansatan

    sansatan New Member

    Joined:
    Feb 28, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    New version of crackpkcs12 including brute force attack capabilities.

    Code:
    Usage:
    
    crackpkcs12 { -d <dictionary_file> |  -b <max_psw_length> [ -c <base_char_sets> ] } [ -t <num_of_threads> ] [ -v ] [ -s <message_interval> ] <file_to_crack>
    
      -b <max_password_length> Use brute force attack and specify maximum length of password
      -c <base_char_sets>      Specify characters sets (one or more than one) and order to conform passwords (requires -b)
                               a = letters (abcdefghijklmnopqrstuvwxyz)
                               A = capital letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)
                               n = digits (0123456789)
                               s = special characters (!\"#$%%&'()*+,-./:;<=>?@[\\]^_`{|}~)
                               x = all previous sets\n
      -d <dictionary_file>     Use dictionary attack and specify dictionary file path\n
      -t <number_of_threads>   Specify number of threads (by default number of CPU's)\n
      -v                       Verbose mode\n
      -s <message_inteval>     Number of attempts between messages (implied -v) (default 100000)
    Dowload it from Sourceforge.

    Have fun,

    sansatan
     

Share This Page