Skip to content

Command line tool to find crypto constants (and crypto functions) into binaries.

Notifications You must be signed in to change notification settings

TRIKKSS/findcrypt-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FINDCRYPT - CLI

Installation

git clone https://github.com/TRIKKSS/findcrypt-cli.git
cd findcrypt-cli
python3 -m pip install -r requirements.txt

Usage

python3 findcrypt.py [options] <file>
positional arguments:
  file            file to parse

options:
  -h, --help      show this help message and exit
  -o, --offsets   print offsets of values found.
  -f, --function  search for cryptographic functions (only ELF)

Examples

python3 findcrypt.py -o ../Downloads/firmware.bin        2 ↵
[~] parsing ../Downloads/firmware.bin
[+] CRC32_poly_Constant found
offsets : { 0x15174 }
[+] SHA256_Constants found
offsets : { 0x3c60, 0x3c6c, 0x3c78, 0x3c80, 0x3c88, 0x3c90, 0x3c64, 0x3c98 }
[+] SHA512_Constants found
offsets : { 0x14544, 0x1454c, 0x14554, 0x1455c, 0x14540 }
python3 findcrypt.py -fo ../ctf/elf.bin
[~] parsing ../ctf/elf.bin
[~] searching for cryptographic functions ...
  MD5_Final
  MD5_Update
  MD5_Init

About

Command line tool to find crypto constants (and crypto functions) into binaries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages