java winhex_会使用winhex的“按类型恢复文件”功能的请进!

将以下内容存为TXT文本文档,放在WINHEX路径下,文件名为:File Type Signatures.txt

Description        Extensions        Header        Offset        Footer        Default in KB

JPEG        jpg;jpeg        \xFF\xD8\xFF[\xDB\xE0\xE1\xEB\xEE\xFE\xC4]        0

PNG        png        \x89PNG\x0D\x0A\x1A\x0A        0        \x49\x45\x4E\x44\xAE\x42\x60\x82

GIF        gif        GIF8[79]a        0

TIFF        tif;tiff        (\x49\x49\x2A\x00)|(\x4D\x4D\x00\x2A)        0

MSO Document Image        mdi        EP\*\x00        0

Bitmap        bmp        BM....\x00\x00\x00\x00....\x28        0

AOL ART        art        \x4A\x47[\x03\x04]\x0E\x00\x00\x00        0

PC Paintbrush        pcx        \x0A\x05\x01\x08        0

Paint Shop Pro        psp        (Paint Shop Pro I)|(~BK\x00)        0

High Dynamic Range        hdr        \#\?RADIANCE        0

Adobe Photoshop        psd        8BPS\x00\x01\x00\x00\x00\x00\x00\x00        0

Graphics Metafile        wmf        (\xD7\xCD\xC6\x9A)|([\x01\x02]\x00\x09\x00)        0

Enhanced Metafile        emf         EMF\x00\x00\x01\x00        40

Corel Photopaint        cpt        CPTFILE        0

Corel Photopaint        cpt        CPT7FILE        0

Corel Draw        cdr        CDR        8

Corel Binary Meta File        cmx        CMX1        8

CAD        dwg        AC10        0

Rich Text Format        rtf        \{\\rtf        0

HTML/XML        html;htm;php;php3;php4;phtml;shtml;xml;xsd        ([\x0D\x0A]{0,9}((

Unaligned eml fragmnt        eml;mht        From:        0

AOL PFC        pfc;org        AOLVM100        0

Mailbox        mbox;mbs        From         0

Outlook Express        dbx        \xCF\xAD\x12\xFE        0

Outlook        pst;ost        !BDN        0

OE addr. book        wab        \x9C\xCB\xCB\x8D\x13\x75\xD2\x11\x91\x58\x00\xC0\x4F\x79\x56\xA4        0

OE addr. book (Win95)        wab        \x81\x32\x84\xC1\x85\x05\xD0\x11\xB2\x90\x00\xAA\x00\x3C\xF6\x76        0

vCard        vcf        BEGIN:VCARD        0        END:VCARD        1

MS Office/OLE2        doc;xls;dot;ppt;xla;ppa;pps;pot;msi;sdw;db;vsd;msg        \xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1        0

MS Office 2007        docx;xlsx;pptx        _Types\]\.xml        38

MS Access        mdb;mda;mde;mdt;fdb        Standard J        4

MS Money        mny        \x00\x01\x00\x00MSISAM        0

WordPerfect        wpd;wp;wp5;wp6;wpp        \xFFWPC        0

MS Write        wri        \x31\xBE\x00\x00\x00\xAB\x00\x00\x00\x00\x00\x00        0

OpenOffice Writer        sxw;sxg        sun\.xml\.writer        54

OpenOffice Calc        sxc;stc        sun\.xml\.calc        54

OpenOffice Math        sxm        sun\.xml\.math        54

OpenOffice Impress        sxi        sun\.xml\.impress        54

OpenOffice Draw        sxd;std        sun\.xml\.draw        54

OpenOffice 2 Writer        ott        document\.text-templ        64

OpenOffice 2 Writer        odt        document\.text        64

OpenOffice 2 Calc        ots        document\.spreadsheet-templ        64

OpenOffice 2 Calc        ods        document\.spreads        64

OpenOffice 2 Base        odb        vnd\.sun\.xml\.base        50

OpenOffice 2 Draw        odg        document\.graphic        64

OpenOffice 2 Math        odf        document\.formula        64

OpenOffice 2 Impress        odp        document\.present        64

Quattro Pro Notebook 6.0        wb2        \x00\x00\x02\x00\x02\x10\xC9\x00\x02\x00\x00\x06        0

PostScript/Adobe        eps.or.ps;ps;eps;ai        %!PS-Adobe        0

Adobe FrameMaker        fm       

Adobe Acrobat        pdf        %PDF\x2D1\x2E        0

Quicken        qdf        \xAC\x9E\xBD\x8F        0

Quicken        qsd        QW Ver\.         0

QuickBooks Backup        qbb        \x45\x86\x00\x00\x06\x00        0

Sage        sly.or.srt.or.slt;sly;srt;slt        \x53\x52\x01\x00        0

Lotus WordPro v9        lwp        WordPro        0

Lotus Ami Pro        AMI        \[ver\]        0

Lotus 123 v9        123        \x00\x00\x1A\x00\x05\x10\x04        0

Lotus 123 v3-5        wk3;wk4;wk5        \x00\x00\x1A\x00[\x00\x02]\x10\x04\x00        0

Lotus 123 v1        wk1        \x20\x00\x60\x40\x60        0

Lotus Notes        nsf;ntf        \x1A\x00\x00[\x03\x04]\x00\x00        0

Zip Archive        zip;jar;xps        (PK\x03\x04)|(PK00)|(PK\x05\x06)        0

Jar Archive        jar        \x5F\x27\xA8\x89        0

RAR Archive        rar        Rar!\x1a\x07\x00        0

Tar/PAX Archive        tar;pax        ustar\x00        257

GZip Archive        gz;tgz        \x1F\x8B\x08[\x00\x08][\x00-\xDF]...[\x00\x02\x04][\x00-\x12\xFF]        0

BZip Archive        bz2        BZ[0h]#\x31\x41\x59\x26        0

ARJ Archive        arj        \x60\xEA......\x10\x00\x02        0

7-Zip Archive        7z        7z\xBC\xAF\x27        0

BinHex 4.0        hqx        must be converted with BinHex        11

MS Compressed        cab;cdm;dl_;ex_;sy_        MSCF\x00\x00\x00\x00        0

ZOO Compressed        zoo        ZOO         0

Red Hat Linux Archive        rpm        \xED\xAB\xEE\xDB        0

Ghost Image        gho;ghs        \xFE\xEF\x01        0

Nero CD Compilation        nri        \x0E\x4E\x65\x72\x6F\x49\x53\x4F\x30        0        \x00LFDU[^\x00]*

Wave        wav        WAVEfmt         8

MP3 ID3 v2/3/4        mp3        ID3[\x02-\x04]\x00\x00\x00        0

AVI        avi        AVI LIST        8                10000

Windows Media        asf;wmv;wma        \x30\x26\xB2\x75\x8E\x66\xCF\x11\xA6\xD9\x00\xAA\x00\x62\xCE\x6C        0                10000

MediaPlayer Playlist        wpl       

Real Audio        ram;ra        \.ra?0

Real Media        rm        \.RMF        0                10000

MPEG        mpg;mpeg        \x00\x00\x01[\xBA\xB3]        0                10000

QuickTime Movie        mov        moov        4                10000

QuickTime 3GP        3gp        ftypisom        4

QuickTime 3GP        3gp        ftyp3gp4        4

QuickTime 3GP        3gp        ftypmmp4        4

QuickTime M4A        m4a        ftypM4A\x20        4

QuickTime M4V        m4v        ftypM4V\x20        4

QuickTime MP4        mp4        ftypmp41        4

QuickTime MP4        mp4        ftypmp42        4

Matroska        mkv        matroska        8

Flash Video        flv        FLV\x01\x05        0                10000

Flash        swf;swc        [CF]WS[\x04-\x08]        0

Cursor        cur        \x00\x00\x02\x00\x01\x00\x20\x20        0                4

Animated cursor        ani        RIFF..\x00\x00ACON        0

Icon        ico        \x00\x00\x01\x00[\x01-\x12]\x00(\x10\x10|\x20\x20|\x30\x30|\x40\x40).\x00[\x00\x01]        0                24

MIDI        mid        MThd        0                250

Win9x Registry        registry        CREG        0

WinNT Registry        registry        regf        0

Windows Password        pwl        \xE3\x82\x85\x96        0

Windows Event Log        evt        \x30\x00\x00\x00LfLe        0

Vista Event Logs        evtx        ElfFile        0

EFS Private Key file        efs;;        \x02\x00\x00\x00\x00\x00\x00\x00[^\x00]\x00\x00\x00.\x00\x00\x00..\x00\x00..\x00\x00..\x00\x00\x14\x00        0                1

EFS Master Key file        efs;;        \x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00[0-9a-f]\x00[0-9a-f]\x00        0                1

Printer Spool 9x        shd        \x4B\x49\x00\x00..\x00\x00..\x00\x00..\x00\x00        0                1

Printer Spool NT        shd        \x66\x49\x00\x00......\x00\x00.\x00\x00\x00        0                1

Printer Spool W2K/XP        shd        \x67\x49\x00\x00.\x00\x00\x00......\x00\x00.\x00\x00\x00        0                4

Printer Spool 2003        shd        \x68\x49\x00\x00.\x00\x00\x00......\x00\x00.\x00\x00\x00        0                4

Printer Spool NT/2K/XP        spl        \x00\x00\x01\x00..\x00\x00\x10\x00\x00\x00..\x00\x00        0

Windows Pagedump        dmp        PAGEDUMP        0

Heap dump file        hdmp        MDMP        0

NTFS $LogFile        $LogFile;;        RSTR\x1E\x00\x09\x00        0                65536

Windows Prefetch        pf        [\x11\x17]\x00\x00\x00SCCA        0

Task Scheduler        job        ((\x47\x04)|(\x01\x05))\x01\x00................\x46\x00        0                1

Windows Shortcut        lnk        \x4C\x00\x00\x00\x01\x14\x02\x00\x00\x00\x00\x00\xC0\x00\x00\x00\x00\x00\x00\x46        0                3

Internet Shortcut        url        \[InternetShortcut\]        0                1

Internet Shortcut        url        \[DEFAULT\]\x0D\x0ABASEURL        0                1

Compiled HTML        chm        ITSF\x03\x00\x00\x00        0

Windows Help        hlp        (\x3F\x5F\x03\x00)|(\x4C\x4E\x02\x00)        0

MS Help 2.0        its;lit        ITOLITLS        0

Windows Exec.        exe;dll;drv;vxd;sys;ocx;vbx;com;fon        MZ.[\x00\x01].[\x00\x01]        0

ELF Object        o        \x7FELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01        0

ELF Executable        elf        \x7FELF\x01\x01\x01\x00.......\x00\x02        0

ELF Shared Object        so        \x7FELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03        0

Python        py        \#!/usr/bin/env python        0

Shell Script        sh;pl;cgi        (\#!/usr/bin/)|(\#!/bin/)        0                100

Perl Module        perl;pl        package         0                100

Java Script        js        document.write        0        \x00

Compiled Java        class        \xCA\xFE\xBA\xBE\x00        0

PGP pubring        pkr        \x99\x01\xA2\x04        0

PGP secring        skr        \x95\x01\xCF\x04        0

Steganos        sle        ACL2        0

True Type Font        ttf        \x00\x01\x00\x00\x00[\x0a-\x17][\x00\x01][\x00\x30\x80]\x00[\x03\x04]\x00[\x00\x10\x20\x30\x40\x50\x60\x70\xA0\xB0\xC0]        0

Open Font        otf        OTTO\x00[\x0a-\x16][\x00\x01][\x00\x30\x80]\x00[\x03\x04]\x00[\x00\x10\x20\x30\x40\x50\x60\x70\xB0\xC0]        0

Adobe Font        pfb        \x80\x01..\x00\x00%!PS-        0

Font        pfa;gsf        %!FontType1        0

PFM Font        pfm        \x00\x01.[\x02-\x16]\x00\x00[A-Z]        0

AFM Font        afm        StartFontMetrics         0

Adobe Font        pfb        \x80\x01..\x00\x00%!PS-AdobeFont-        0

X11 Pixmap        xpm        \x2F\x2A XPM \x2A\x2F\x0A        0

PCF Font        pcf        \x01fcp[^\x00]\x00\x00        0

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值