-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a6543cd
Showing
6 changed files
with
6,118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# 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 | ||
``` |
Oops, something went wrong.