Paradoxis / StegCracker

Steganography brute-force utility to uncover hidden data inside files
https://blog.paradoxis.nl/stegcracker-2-released-f03771ba855b
MIT License
551 stars 106 forks source link

Writting to the console on every loop is horribly inefficient #6

Closed pluggles closed 5 years ago

pluggles commented 5 years ago

Hello,

Writing to the command line for every loop really slows down a program like this, especially when using large dictionaries like rockyou.txt

I would recommend only writing the percent completed of the word list, and only writing that when ever the value changes,

and perhaps have an argument/flag to output attempt for debugging.

Paradoxis commented 5 years ago

Hey, thanks for the feedback! You're absolutely right, it's why I've been considering re-writing the whole thing in Python and even adding multithreading to it.

I initially just wrote it as a useful tool for myself to use in CTF's as ended up becoming more popular than expected. I'm currently quite busy so I don't have the time to do this yet, but if you're up for adding that flag for now I'm happy to accept a pull request that comes my way :)

Paradoxis commented 5 years ago

Small update: I've started working on a full rewrite, can't say exactly when it will be done but it's on it's way :)

Paradoxis commented 5 years ago

Good news: I've just released the Python rewrite, new features include:

See the README for further details, if you run into any issues, please let me know! :)