首页 > 编程知识 正文

foremost使用方法,foremost命令

时间:2023-05-04 13:51:01 阅读:257375 作者:3711

foremost 的安装及使用说明 介绍 Foremost Package Description

Foremost is a forensic program to recover lost files based on their headers, footers, and internal data structures. Foremost can work on image files, such as those generated by dd, Safeback, Encase, etc, or directly on a drive. The headers and footers can be specified by a configuration file or you can use command line switches to specify built-in file types. These built-in types look at the data structures of a given file format allowing for a more reliable and faster recovery.

安装

foremost一般在kali系统中预装了
可以使用apt下载安装

sudo apt-get updatesudo apt-get install foremost 参数说明

-V - 显示版权信息并退出-t - 指定文件类型. (-t jpeg,pdf ...) -d -打开间接块检测 (针对UNIX文件系统) -i - 指定输入文件 (默认为标准输入) -a - 写入所有的文件头部, 不执行错误检测(损坏文件) -w - 向磁盘写入审计文件,不写入任何检测到的文件-o - 设置输出目录 (默认为为输出)-c - 设置配置文件 (默认为 foremost.conf)-q - 启用快速模式. 在512字节边界执行搜索.-Q - 启用安静模式. 禁用输出消息. -v - 详细模式. 向屏幕上记录所有消息。 Usage Example

Search for a selection of file types (-t doc,jpg,pdf,xls) in the given image file (-i image.dd):

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。