【安全工具】Stegdetect:自动化数字图像隐写分析工具

Stegdetect 是一款自动化数字图像隐写分析工具,
源码在 Github 上有,需要你自己手动编译。

在这里插入图片描述

./configure && make && sudo make install

报错信息

[email protected]:~/Downloads/stegdetect-master$ sudo make install
Making install in jpeg-6b
make[1]: Entering directory '/home/z/Downloads/stegdetect-master/jpeg-6b'
/usr/bin/install -c cjpeg /usr/local/bin/cjpeg
/usr/bin/install -c djpeg /usr/local/bin/djpeg
/usr/bin/install -c jpegtran /usr/local/bin/jpegtran
/usr/bin/install -c rdjpgcom /usr/local/bin/rdjpgcom
/usr/bin/install -c wrjpgcom /usr/local/bin/wrjpgcom
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
/usr/bin/install: cannot create regular file '/usr/local/man/man1/cjpeg.1': No such file or directory
Makefile:197: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/home/z/Downloads/stegdetect-master/jpeg-6b'
Makefile:631: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

对此,需要你手动新建一个文件夹

mkdir /usr/local/man/man1

问题解决,源码编译完成。

[email protected]:~/Downloads/stegdetect-master$ sudo make install
Making install in jpeg-6b
make[1]: Entering directory '/home/z/Downloads/stegdetect-master/jpeg-6b'
/usr/bin/install -c cjpeg /usr/local/bin/cjpeg
/usr/bin/install -c djpeg /usr/local/bin/djpeg
/usr/bin/install -c jpegtran /usr/local/bin/jpegtran
/usr/bin/install -c rdjpgcom /usr/local/bin/rdjpgcom
/usr/bin/install -c wrjpgcom /usr/local/bin/wrjpgcom
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
/usr/bin/install -c -m 644 ./djpeg.1 /usr/local/man/man1/djpeg.1
/usr/bin/install -c -m 644 ./jpegtran.1 /usr/local/man/man1/jpegtran.1
/usr/bin/install -c -m 644 ./rdjpgcom.1 /usr/local/man/man1/rdjpgcom.1
/usr/bin/install -c -m 644 ./wrjpgcom.1 /usr/local/man/man1/wrjpgcom.1
make[1]: Leaving directory '/home/z/Downloads/stegdetect-master/jpeg-6b'
Making install in file
make[1]: Entering directory '/home/z/Downloads/stegdetect-master/file'
make[2]: Entering directory '/home/z/Downloads/stegdetect-master/file'
make[2]: Nothing to be done for 'install-exec-am'.
make  install-man1 install-man4 install-man5
make[3]: Entering directory '/home/z/Downloads/stegdetect-master/file'
/bin/bash ./mkinstalldirs /usr/local/man/man1
 /usr/bin/install -c -m 644 ./file.1 /usr/local/man/man1/file.1
/bin/bash ./mkinstalldirs /usr/local/man/man4
mkdir /usr/local/man/man4
 /usr/bin/install -c -m 644 ./magic.4 /usr/local/man/man4/magic.4
/bin/bash ./mkinstalldirs /usr/local/man/man5
mkdir /usr/local/man/man5
make[3]: Leaving directory '/home/z/Downloads/stegdetect-master/file'
/bin/bash ./mkinstalldirs /usr/local/share
 /usr/bin/install -c -m 644 ./magic /usr/local/share/magic
 /usr/bin/install -c -m 644 ./magic.mime /usr/local/share/magic.mime
 /usr/bin/install -c -m 644 ./magic.inc /usr/local/share/magic.inc
make[2]: Leaving directory '/home/z/Downloads/stegdetect-master/file'
make[1]: Leaving directory '/home/z/Downloads/stegdetect-master/file'
make[1]: Entering directory '/home/z/Downloads/stegdetect-master'
make[2]: Entering directory '/home/z/Downloads/stegdetect-master'
 /bin/mkdir -p '/usr/local/bin'
  /usr/bin/install -c stegdetect stegbreak stegcompare stegdeimage '/usr/local/bin'
 /bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 stegdetect.1 stegbreak.1 '/usr/local/share/man/man1'
make[2]: Leaving directory '/home/z/Downloads/stegdetect-master'
make[1]: Leaving directory '/home/z/Downloads/stegdetect-master'