22-12-19-Basecrack

The guidance to install the basecrack.

INSTALL

https://github.com/mufeedvh/basecrack/

python2 may get error

Support

Recently:

  • Base16
  • Base32
  • Base36
  • Base58
  • Base62
  • Base64
  • Base64Url
  • Base85
  • Ascii85
  • Base91
  • Base92
  • Base100

USAGE

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
usage: basecrack.py [-h] [-b BASE] [-f FILE] [-m] [-i IMAGE] [-c] [-e] [-o OUTPUT]

options:
-h, --help show this help message and exit
-b BASE, --base BASE Decode a single encoded base from argument.
-f FILE, --file FILE Decode multiple encoded bases from a file.
-m, --magic Decode multi-encoded bases in one shot.
-i IMAGE, --image IMAGE
Decode base encodings from image with OCR detection or EXIF data.
-c, --ocr OCR detection mode.
-e, --exif EXIF data detection mode. (default)
-o OUTPUT, --output OUTPUT
Generate a wordlist/output with the decoded bases, enter filename
as the value.

EXAMPLE

base

The base.txt is a muti-base, which use base32->base64->base64->base32->base92->base100.

The basecrack now supports the base100. And we can use the command to solve the problem.

1
2
3
python3 basecrack.py -f "xxx/base.txt" -m
# if is just a ciphertext
# python3 basecrack.py -b "ciphertext"

The main output:

1
2
3
4
5
6
7
8
[-] Iteration: 6                                                                             
[-] Heuristic Found Encoding To Be: Base32
[-] Decoding as Base32: This_is_So_S1mple
{{<<======================================================================>>}}
[-] Total Iterations: 6
[-] Encoding Pattern: Base100 -> Base92 -> Base32 -> Base64 -> Base64 -> Base32
[-] Magic Decode Finished With Result: This_is_So_S1mple
[-] Finished in 0.0019 seconds
-------------THE END-------------