abeluck / stegdetect

UNMAINTAINED. USE AT OWN RISK. Stegdetect is an automated tool for detecting steganographic content in images.

Home Page:https://web.archive.org/web/20150415213536/http://www.outguess.org/detection.php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to build on ubuntu14.04

winkar opened this issue · comments

while making
"make[2]: *** No rule to make target Magdir/varied.out', needed bymagic'. Stop."
what happened?

commented

Having the same problem while making in kali linux, would like some help, thank you in advance.

It appears as though a file is missing that is required for the build.
I was able to copy the file /etc/file/magic/varied.out (Slackware 14.0) to the directory in the zip or git pull source
file/Magdir
and it built without issue.

commented

@decula03 I used a different source and installed stegdetect with apt-get, thx anyway.
btw,for these who may have the same problem in the future,hope u can see this.
the source is
deb http://archive.debian.org/debian-archive/debian etch main

@fyth thank uuuuuuuuuuuu

@fyth Thanks a lot!! I've been trying to get stegdetect to work for days without success due to dependency issues and whatnot. Your suggestion worked and stegdetect is now installed. However, now I have an issue with stegbreak, saying that /usr/share/stegbreak/rules.ini doesn't exist. Did you run into the same issue? I downloaded a rules.ini file ( from the bottom of this thread https://bugs.launchpad.net/ubuntu/+source/stegdetect/+bug/55363) but now I get a segmentation fault. Any suggestions?

commented

@SirGerbs Sorry pal, Haven't seen that before. :(
If u do work it out somehow, pls leave a comment here.
Goodluck. :)

This works:

git clone https://github.com/abeluck/stegdetect
cd stegdetect
wget -O file/Magdir/varied.out https://raw.githubusercontent.com/file/file/master/magic/Magdir/varied.out
linux32 ./configure
linux32 make
commented

@eugenekolo
THX,It is very useful !!!

@abeluck This issue happens 'cause the line

*.out

(line 16) appears in .gitignore. An exception must be put there for file/Magdir/varied.out.

that's quite simple, you can just make a file named varied.out in the path stegdetect-master/file/Magdir,and then use the command linux32 make ,everything will be ok

Thanks to @redNixon the build is working again.