I'm trying to use StegCracker for a school assignment, however I got a /bin/stegcracker: line 1: 404:: command not found
error message.
I tried to install and run StegCracker with the following commands:
sudo apt-get install steghide -y
curl https://raw.githubusercontent.com/Paradoxis/StegCracker/master/stegcracker > /bin/stegcracker
chmod +x /bin/stegcracker
stegcracker 000001.jpg passwordlist.txt
Stegseek is a lightning fast steghide cracker that can be used to extract hidden data from files. It is built as a fork of the original steghide project and, as a result, it is thousands of times faster than other crackers and can run through the entirety of rockyou.txt (a well-known password list with over 14 million passwords) in under 2 seconds.
StegCracker is a steganography brute force utility to uncover hidden data inside files.
StegCracker requires Python 3.6 or later and the steghide binary to be installed. Python 3.6 or later is installed by default in Ubuntu 18.04 and later.
To install the program, run the following command:
To update the program, simply pass
-U
to the installation command.Sorry for the late reply (I only found this after Googling my own project) but as @ByteCommander and @karel stated, the real instructions are on the GitHub repo itself and should be more future-proof, I recommend you check that out instead for the most up-to-date documentation, and if you have issues installing stuff or find bugs, use that bug tracker instead. I reply to all issues.
Why did I get a 404 error?
The reason you get a 404 is due to the fact that 'stegcracker' is now a directory containing Python source code, which you obviously can't download with one http request so GitHub returns a 404 html page instead which bash tried to run as code and failed miserably to.
Why did you change it?
I had to rewrite the entire codebase as the project was initially written as a bash script for myself in the 1.0 version and was terribly slow (full details are in this issue and this blog post). TL;DR, small hobby project got out of hand, it had no threading and every password attempt had to wait for steghide to test if it worked and wait for the terminal to output the current attempt, rewrite was 2960% faster (a lot).
Regarding the school assignment though, what kind of assignment did you get?
Never knew my projects got used in schools, quite cool to see :)