資源簡介
用于分離出文件中隱藏的文件,可用
@echo off
cd D:\OtherApp\CTFTool\foremost -->這行需要你換成你的安裝目錄,即foremost.exe所在目錄
set path=%~dp1
start foremost -i %1 -o %path%\outfile
echo foremost解密成功
pause
來自動分離。
代碼片段和文件信息
/*
Modified?API?from?http://chicago.sourceforge.net/devel/docs/ole/
Basically?the?same?API?added?error?checking?and?the?ability
to?check?buffers?for?docs?not?just?files.
*/
#include?“main.h“
#include?“ole.h“
/*Some?ugly?globals
*?This?API?should?be?re-written
*?in?a?modular?fashion*/
unsigned?char buffer[OUR_BLK_SIZE];
char *extract_name;
int extract?=?0;
int dir_count?=?0;
int *FAT;
int verbose?=?TRUE;
int FATblk;
int currFATblk;
int highblk?=?0;
int block_list[OUR_BLK_SIZE?/?sizeof(int)];
/*Inititialize?those?globals?used?by?extract_ole*/
void?init_ole()
{
int?i?=?0;
extract?=?0;
dir_count?=?0;
FAT?=?NULL;
highblk?=?0;
FATblk?=?0;
currFATblk?=?-1;
dirlist?=?NULL;
dl?=?NULL;
for?(i?=?0;?i? {
block_list[i]?=?0
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-02-05?03:13??foremost-master\
?????文件?????????117??2016-02-05?03:13??foremost-master\.gitignore
?????文件????????7386??2016-02-05?03:13??foremost-master\CHANGES
?????文件????????5216??2016-02-05?03:13??foremost-master\Makefile
?????文件????????4877??2016-02-05?03:13??foremost-master\README
?????文件???????13910??2016-02-05?03:13??foremost-master\api.c
?????目錄???????????0??2016-02-05?03:13??foremost-master\binary\
?????文件???????70097??2016-02-05?03:13??foremost-master\binary\foremost-linux
?????文件???????62912??2016-02-05?03:13??foremost-master\binary\foremost-mac
?????文件????????9141??2016-02-05?03:13??foremost-master\binary\foremost.conf
?????文件???????90112??2016-02-05?03:13??foremost-master\binary\foremost.exe
?????文件?????????510??2016-02-05?03:13??foremost-master\cli.c
?????文件????????6907??2016-02-05?03:13??foremost-master\config.c
?????文件????????9107??2016-02-05?03:13??foremost-master\dir.c
?????文件???????16300??2016-02-05?03:13??foremost-master\engine.c
?????文件???????63371??2016-02-05?03:13??foremost-master\extract.c
?????文件????????4098??2016-02-05?03:13??foremost-master\extract.h
?????文件????????3551??2016-02-05?03:13??foremost-master\foremost.8.gz
?????文件????????9141??2016-02-05?03:13??foremost-master\foremost.conf
?????文件???????12100??2016-02-05?03:13??foremost-master\helpers.c
?????目錄???????????0??2016-02-05?03:13??foremost-master\library\
?????文件?????1079376??2016-02-05?03:13??foremost-master\library\libiberty.a
?????文件????????6909??2016-02-05?03:13??foremost-master\main.c
?????文件???????12562??2016-02-05?03:13??foremost-master\main.h
?????文件????????3106??2016-02-05?03:13??foremost-master\ole.h
?????文件???????17802??2016-02-05?03:13??foremost-master\state.c
- 上一篇:將avi文件轉為bmp圖片
- 下一篇:PWM脈沖寬度調制控制技術
評論
共有 條評論