removido
(usa Nenhuma)
Enviado em 05/01/2018 - 09:56h
# wget -c
http://foremost.sourceforge.net/pkg/foremost-1.5.7.tar.gz">
http://foremost.sourceforge.net/pkg/foremost-1.5.7.tar.gz
--2018-01-05 09:30:57--
http://foremost.sourceforge.net/pkg/foremost-1.5.7.tar.gz">
http://foremost.sourceforge.net/pkg/foremost-1.5.7.tar.gz
Resolvendo foremost.sourceforge.net... 216.34.181.96
Conectando-se a foremost.sourceforge.net|216.34.181.96|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 52352 (51K) [application/x-gzip]
Salvando em: “foremost-1.5.7.tar.gz”
foremost-1.5.7.tar.gz 100%[=====================================================================================>] 51,12K 219KB/s em 0,2s
2018-01-05 09:31:02 (219 KB/s) - “foremost-1.5.7.tar.gz” salvo [52352/52352]
# wget -c
https://slackbuilds.org/slackbuilds/14.2/system/foremost.tar.gz
--2018-01-05 09:31:16--
https://slackbuilds.org/slackbuilds/14.2/system/foremost.tar.gz
Resolvendo slackbuilds.org... 208.94.237.149
Conectando-se a slackbuilds.org|208.94.237.149|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 2369 (2,3K) [application/x-gzip]
Salvando em: “foremost.tar.gz”
foremost.tar.gz 100%[=====================================================================================>] 2,31K --.-KB/s em 0s
2018-01-05 09:31:18 (72,3 MB/s) - “foremost.tar.gz” salvo [2369/2369]
# tar -vzxf foremost.tar.gz
foremost/
foremost/foremost.SlackBuild
foremost/doinst.sh
foremost/README
foremost/foremost-broken-jpeg.patch
foremost/slack-desc
foremost/foremost.info
# cp foremost-1.5.7.tar.gz foremost/
cd foremost/
# chmod +x foremost.SlackBuild
# ./foremost.SlackBuild
foremost-1.5.7/
foremost-1.5.7/engine.c
foremost-1.5.7/main.h
foremost-1.5.7/main.c
foremost-1.5.7/helpers.c
foremost-1.5.7/config.c
foremost-1.5.7/README
foremost-1.5.7/foremost.conf
foremost-1.5.7/foremost.8.gz
foremost-1.5.7/extract.c
foremost-1.5.7/ole.h
foremost-1.5.7/CHANGES
foremost-1.5.7/cli.c
foremost-1.5.7/dir.c
foremost-1.5.7/extract.h
foremost-1.5.7/api.c
foremost-1.5.7/state.c
foremost-1.5.7/Makefile
patching file extract.c
Hunk #1 succeeded at 1868 (offset 74 lines).
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c main.c
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c state.c
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c helpers.c
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c config.c
config.c: In function ‘translate’:
config.c:27:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
config.c:32:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
config.c:37:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
config.c:42:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
config.c:47:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
config.c:52:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
config.c:57:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c cli.c
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c engine.c
engine.c: In function ‘search_chunk’:
engine.c:319:17: warning: variable ‘current_pos’ set but not used [-Wunused-but-set-variable]
unsigned char *current_pos = NULL;
^
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c dir.c
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c extract.c
extract.c: In function ‘extract_htm’:
extract.c:556:17: warning: variable ‘currentpos’ set but not used [-Wunused-but-set-variable]
unsigned char *currentpos = NULL;
^
extract.c: In function ‘extract_wmv’:
extract.c:1157:14: warning: variable ‘fileObjHeaderSize’ set but not used [-Wunused-but-set-variable]
u_int64_t fileObjHeaderSize = 0;
^
extract.c:1150:17: warning: variable ‘currentpos’ set but not used [-Wunused-but-set-variable]
unsigned char *currentpos = NULL;
^
extract.c: In function ‘extract_gif’:
extract.c:1404:17: warning: variable ‘currentpos’ set but not used [-Wunused-but-set-variable]
unsigned char *currentpos = foundat;
^
extract.c: In function ‘extract_jpeg’:
extract.c:1824:17: warning: variable ‘currentpos’ set but not used [-Wunused-but-set-variable]
unsigned char *currentpos = NULL;
^
extract.c: In function ‘extract_exe’:
extract.c:2114:15: warning: variable ‘align’ set but not used [-Wunused-but-set-variable]
unsigned int align = 0;
^
extract.c:2110:15: warning: variable ‘size_of_headers’ set but not used [-Wunused-but-set-variable]
unsigned int size_of_headers = 0;
^
extract.c:2108:15: warning: variable ‘sizeofimage’ set but not used [-Wunused-but-set-variable]
unsigned int sizeofimage = 0;
^
extract.c:2105:15: warning: variable ‘rva’ set but not used [-Wunused-but-set-variable]
unsigned int rva = 0;
^
extract.c:2104:15: warning: variable ‘SizeOfUninitializedData’ set but not used [-Wunused-but-set-variable]
unsigned int SizeOfUninitializedData = 0;
^
extract.c:2103:15: warning: variable ‘SizeOfInitializedData’ set but not used [-Wunused-but-set-variable]
unsigned int SizeOfInitializedData = 0;
^
extract.c:2102:15: warning: variable ‘SizeOfCode’ set but not used [-Wunused-but-set-variable]
unsigned int SizeOfCode = 0;
^
extract.c: In function ‘extract_rar’:
extract.c:2277:13: warning: variable ‘file_size’ set but not used [-Wunused-but-set-variable]
u_int64_t file_size = 0;
^
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c api.c
api.c: In function ‘dump_dirent’:
api.c:481:10: warning: variable ‘unknown’ set but not used [-Wunused-but-set-variable]
short unknown;
^
gcc -Wall -O2 -fPIC -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 main.o state.o helpers.o config.o cli.o engine.o dir.o extract.o api.o -o foremost
install -m 755 foremost /tmp/SBo/package-foremost/usr/bin
install -m 444 foremost.8.gz /tmp/SBo/package-foremost/usr/man/man8
install -m 444 foremost.conf /tmp/SBo/package-foremost/etc
Slackware package maker, version 3.141593.
Searching for symbolic links:
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /tmp/foremost-1.5.7-x86_64-1_SBo.tgz
./
etc/
etc/foremost.conf.new
install/
install/doinst.sh
install/slack-desc
usr/
usr/man/
usr/man/man8/
usr/man/man8/foremost.8.gz
usr/bin/
usr/bin/foremost
usr/doc/
usr/doc/foremost-1.5.7/
usr/doc/foremost-1.5.7/README
usr/doc/foremost-1.5.7/foremost.SlackBuild
usr/doc/foremost-1.5.7/CHANGES
Slackware package /tmp/foremost-1.5.7-x86_64-1_SBo.tgz created.
# installpkg /tmp/foremost-1.5.7-x86_64-1_SBo.tgz
Verifying package foremost-1.5.7-x86_64-1_SBo.tgz.
Installing package foremost-1.5.7-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# foremost (recover files based on their headers and footers)
#
# Foremost is a Linux program to recover files based on their headers
# and footers. Foremost can work on image files, such as those
# generated by dd, Safeback, Encase, etc, or directly on a drive. The
# headers and footers are specified by a configuration file, so you can
# pick and choose which headers you want to look for.
#
# Homepage:
http://foremost.sourceforge.net/
#
Executing install script for foremost-1.5.7-x86_64-1_SBo.tgz.
Package foremost-1.5.7-x86_64-1_SBo.tgz installed.
# foremost -h
foremost version 1.5.7 by Jesse Kornblum, Kris Kendall, and Nick Mikus.
$ foremost [-v|-V|-h|-T|-Q|-q|-a|-w-d] [-t <type>] [-s <blocks>] [-k <size>]
[-b <size>] [-c <file>] [-o <dir>] [-i <file]
-V - display copyright information and exit
-t - specify file type. (-t jpeg,pdf ...)
-d - turn on indirect block detection (for UNIX file-systems)
-i - specify input file (default is stdin)
-a - Write all headers, perform no error detection (corrupted files)
-w - Only write the audit file, do not write any detected files to the disk
-o - set output directory (defaults to output)
-c - set configuration file to use (defaults to foremost.conf)
-q - enables quick mode. Search are performed on 512 byte boundaries.
-Q - enables quiet mode. Suppress output messages.
-v - verbose mode. Logs all messages to screen
# foremost -V
1.5.7
This program is a work of the US Government. In accordance with 17 USC 105,
copyright protection is not available for any work of the US Government.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.