KanakSasak / EXIF-Hunter-V1.0

EXIF Hunter is a script written from golang and perl to Inject images with data, grab and map geo location, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

                                    _______ _     _ _____ _______     _     _ _     _ __   _ _______ _______  ______
                                    |______  \___/    |   |______ ___ |_____| |     | | \  |    |    |______ |_____/
                                    |______ _/   \_ __|__ |           |     | |_____| |  \_|    |    |______ |    \_
                                    Image injection and Forensics Command Line Software for PNG and JPG image/file formats 
                                    -------------------------------------------------------------------------------------

What is this program?

This is a simple program written and based off the black hat go module for image injection accept turned into more options and a bit more improoved / tidied up for a information based module, EXIF hunter can do all of the following


Inject PNG images

Grab EXIF data from all image formats

Grab Offset's, chunks, crc, chunk types, etc from PNG images

encode injection payloads for PNG image formats

decode injected data and payloads for PNG image formats

hex dump files and images

specify chunks to inject PNG images with

Inject ZIP files into JPG/JPEG image formats

Extract hidden ZIP files inside of JPG/JPEG image formats

Grab and map the GEO location of a JPG/JPEG image

Walk Filepaths for all files matching image names ( jpg, jpeg, png, gif etc )

Discover unknown file types

Scrape and dump all EXIF data of every image or file inside of a directory that matches titles of JPG, PNG, JPEG etc

and some more if you dig into it and get used to the program itself

Example HELP menu to activate this run the file with no args


                         _______ ___ ___ _______ _______                  _______               __              
                        |    ___|   |   |_     _|    ___|     ______     |   |   |.--.--.-----.|  |_.-----.----.
                        |    ___|-     -|_|   |_|    ___|    |______|    |       ||  |  |     ||   _|  -__|   _|
                        |_______|___|___|_______|___|                    |___|___||_____|__|__||____|_____|__|
                        Image injection and Forensics Command Line Software for PNG and JPG image/file formats 
                        -------------------------------------------------------------------------------------
                        Author -> ArkAngeL43
                        Github -> https://github.com/ArkAngeL43
                        ------
                             |> Help menu

                        ------
                             |> Flags
                                   |
                                   |++>
                                   ____________________________________________________________________________________________________CSTAT__
                                    -o or --output  | Specify the output image after injection                                       | Active | 
                                    -i or --input   | Specify the input image for injection, metadata, etc                           | Active | 
                                    --inject        | Inject data into a PNG image                                                   | Active | 
                                    --offset        | Usable with --inject, this is the offset to inject data into                   | Active | 
                                    --meta          | Grab meta data of the image such as EXIF and OFFSET locations                  | Active | 
                                    --JPGINJECT     | Inject ZIP files or files into JPG/JPEG Images formats                         | Active | 
                                    --JPGEXTRACT    | Extract ZIP files from JPEG/JPG Image formats                                  | Active |
                                    --help or -h    | Run this help menu                                                             | Active | 
                                    --encode        | XOR Encode the payload to inject into PNG images                               | Active | 
                                    --decode        | XOR Decode the payload to inject into PNG images                               | Active | 
                                    --key           | The encryption key for the payload                                             | Active | 
                                    --suppress      | Suppress the chunk hex data which can be large                                 | Active | 
                                    --hexd          | Hex dump an image or file                                                      | Active | 
                                    --geo           | Trace the GEO-GPS Tags to a location in JPG image formats                      | Active | 
                                    --filepath      | Specify the ZIP to inject into JPG/JPEG image formats                          | Active | 
                                    --walkf         | Fast scan linux root filesystems for JPEG images that possibly have ZIP files  | Active |
                                    --discover      | Discover what filetype a file is that is seen as `unknown`                     | Active |
                                    --type          | Type is the name of the Chunk header to inject (DEFUALT: rNDm)                 | Active |  
                                   ------------------------------------------------------------------------------------------------------------
                              |> Example Usages
                                        |
                                        |+++>|
                                        _______________________________________________________________________________________________________
                                        | go run main.go -i img/main.png --meta                                           | Grabs the metadata on the image
                                        | go run main.go -i img/main.png -o j.png --inject --offset 0x85258 --data 13234  | Injects data into an image
                                        | go run main.go -i img/example.jpg --geo                                         | Gets GEO Location of image
                                        | go run main.go -i unknown_filename --discover                                   | Will try to identify files without extensions
                                        | go run main.go --filepath / --walkf                                             | Walk the filepath for image files
                                        | go run main.go -i bety.jpg --hexd                                               | Hex dump an image or file
                                        | go run main.go -i bety.jpg -o bety_injected.jpg --JPGINJECT --filepath main.zip | Inject a ZIP file into a JPG image 
                                        | go run main.go -i img/injected_zip.jpg --JPGEXTRACT                             | Scan and extract ZIP files from JPG images
                                        | >>>>++++                                                                        ]
                                        | go run main.go -i in.png -o encode.png --inject --offset 0x85258 --payload 1234 | Will inject a PNG image with a encoded payload
                                        | --encode --key secret                                                           | WITH secret keys                                   
                                        | >>>>++++                                                                        ]
                                        | go run main.go -i encode.png -o decode.png --offset 0x85258                     | Will decode a messgae or injected data set
                                        | --decode --key secret                                                           | With a certian key to decode
                                        |                                                                                 |
                                        | go run main.go --filepath / --walk                                              | Will dump ALL EXIF DATA ON EVERY FILEPATH 
                                        | AND FILE LABELED JPEG, JPG, PNG, PG, GIF, ETC within a specified filepath       |
                                        |
                                        | 
                    
                                                                                                            

Example output of uding the --meta tag with a PNG file


=== EXIF Table ===
┌─────────────╥───────────────────┬─────────────────────────┐
│ Data Number ║ Data              │After DATA EXIF          │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║Filter             │        Adaptive         │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║FileInodeChangeDate│2022:02:09 17:17:57-05:00│
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║FileTypeExtension  │           png           │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║ImageSize          │        3840x1920        │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║FileType           │           PNG           │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║MIMEType           │        image/png        │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║BitDepth           │            8            │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║ExifToolVersion    │          12.30          │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║SignificantBits    │          8 8 8          │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║FileName           │        term.png         │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║ImageHeight        │          1920           │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║Compression        │     Deflate/Inflate     │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║FileSize           │         534 KiB         │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║Interlace          │      Noninterlaced      │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║Megapixels         │           7.4           │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║FileAccessDate     │2022:02:09 17:17:57-05:00│
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║FilePermissions    │       -rw-r--r--        │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║ColorType          │           RGB           │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║FileModifyDate     │2022:02:09 17:17:55-05:00│
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║Software           │     mate-screenshot     │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║ImageWidth         │          3840           │
├─────────────╫───────────────────┼─────────────────────────┤
│1            ║Directory          │ /home/reaper/Downloads  │
└─────────────╨───────────────────┴─────────────────────────┘
=== END of EXIF Table === 


 [INFO]   13:03:12   ->  [80 78 71]  Came back as a VALID HEADER
Would you like to locate just the IEND chunk? and injectable offset <y/n > 
 
[!] If you wanted to you can type -> chunk_finish to get all data chunks in the image as well
y

 Found IEND chunk -> 
 +---------------+-------------------------------+--------------------------------------+
|    Chunk Type |    Location Injectable OFFSET |    Injectable OFFSET HEX Translation |
+===============+===============================+======================================+
|          IEND |                        546910 |                              0x8585e |
+---------------+-------------------------------+--------------------------------------+

 [INFO]   13:03:33   -> This data seems to be the actuall injectable point, would you like to hex dump the file to be sure this IEND tag is at the direct OFFSET of  ->  546910
 [INFO]   13:03:33 Yes/NO > 

tracing JPEG GPS location in the images while creating a map image of the cordinants and example output


=== EXIF Table ===
┌─────────────╥────────────────────────┬────────────────────────────────────────────────────────┐
│ Data Number ║ Data                   │After DATA EXIF                                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║SensingMethod           │                   One-chip color area                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Model                   │                 Canon PowerShot A710 IS                │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FlashpixVersion         │                          0100                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ColorComponents         │                            3                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileType                │                          JPEG                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ZoomTargetWidth         │                          3072                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileNumber              │                        119-1760                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Warning                 │[minor] Canon maker note footer may be invalid (ignored)│
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalType               │                          Zoom                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║SelfTimer2              │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║SlowShutter             │                           Off                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║JFIFVersion             │                          1.01                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║YCbCrSubSampling        │                    YCbCr4:4:4 (1 1)                    │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFImageWidth            │                          1536                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExposureCompensation    │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MeteringMode (1)        │                      Multi-segment                     │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║SequenceNumber          │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ShutterSpeedValue       │                          1/403                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Keywords                │                   romania, sighisoara                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MeteringMode            │                       Evaluative                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MinFocalLength          │                         5.8 mm                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ThumbnailOffset         │                          3502                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ImageHeight             │                           534                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CanonImageType          │               IMG:PowerShot A710 IS JPEG               │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║SpotMeteringMode        │                         Center                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║OpticalZoomCode         │                            5                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ResolutionUnit          │                         inches                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFAreaHeights           │               41 41 41 41 41 41 41 41 41               │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AESetting               │                        Normal AE                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Categories              │                         (none)                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CanonFirmwareVersion    │                  Firmware Version 1.00                 │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║EncodingProcess         │              Baseline DCT, Huffman coding              │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileInodeChangeDate     │                2022:02:12 01:52:17-05:00               │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║DriveMode               │                  Single-frame Shooting                 │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Lens                    │                      5.8 - 34.8 mm                     │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ColorSpace              │                      Uncalibrated                      │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FirmwareRevision        │                      1.00 rev 1.00                     │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Quality                 │                        Superfine                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocusRange              │                          Auto                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExposureTime (1)        │                          1/421                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Flash                   │                    Off, Did not fire                   │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MaxFocalLength          │                         34.8 mm                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║LensType                │                           n/a                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExposureTime            │                          1/400                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExposureTime (2)        │                          1/424                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSPosition             │        46 deg 14' 28.70" N, 24 deg 50' 59.55" E        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CameraISO               │                          Auto                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Contrast                │                         Normal                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ThumbnailLength         │                          4536                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║SceneCaptureType        │                        Landscape                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ValidAFPoints           │                            9                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ModifyDate              │                   2007:09:26 05:46:21                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║RecordMode              │                          JPEG                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalLength (1)         │                        9.954 mm                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CanonImageWidth         │                          3072                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║OwnerName               │                     Vlad Georgescu                     │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalLength             │                         10.0 mm                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MaxAperture             │                           3.2                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║WhiteBalance (1)        │                          Auto                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FNumber (2)             │                            4                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CircleOfConfusion       │                        0.005 mm                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocusDistanceUpper      │                         19.55 m                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileAccessDate          │                2022:02:12 01:52:17-05:00               │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║WhiteBalance            │                          Auto                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ShutterSpeed            │                          1/400                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalLength35efl        │           10.0 mm (35 mm equivalent: 60.3 mm)          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FilePermissions         │                       -rw-r--r--                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FNumber                 │                           4.0                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CustomRendered          │                         Normal                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CameraType              │                         Compact                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║EasyMode                │                        Landscape                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AutoExposureBracketing  │                           Off                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileModifyDate          │                2022:02:12 01:52:17-05:00               │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ResolutionUnit (2)      │                         inches                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Sharpness               │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║LightValue              │                          13.1                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ImageWidth              │                           800                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║LensID                  │                     Unknown 5-34mm                     │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MinAperture             │                            8                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MeasuredEV              │                          14.47                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocusMode               │                         Single                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║RelatedImageWidth       │                           800                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CreateDate              │                   2007:09:26 05:46:21                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║BitsPerSample           │                            8                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Compression             │                    JPEG (old-style)                    │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExposureMode            │                          Auto                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║DigitalZoomRatio        │                            1                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExifImageHeight         │                           534                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║PrimaryAFPoint          │                            4                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║XResolution (2)         │                           72                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FlashGuideNumber        │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Lens35efl               │    5.8 - 34.8 mm (35 mm equivalent: 35.1 - 210.7 mm)   │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FOV                     │                        33.3 deg                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileName                │                       example.jpg                      │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║SelfTimer               │                           Off                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Megapixels              │                          0.427                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ImageUniqueID (1)       │            4ed58cae7dcbbe46c44c5f930bcacd48            │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Orientation             │                       Unknown (0)                      │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║XResolution (1)         │                           96                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║DateTimeOriginal        │                   2007:09:26 05:46:21                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExifVersion             │                          0220                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║BulbDuration            │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ControlMode             │                  Camera Local Control                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalPlaneResolutionUnit│                         inches                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║XResolution             │                           180                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║NumAFPoints             │                            9                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║HyperfocalDistance      │                         4.99 m                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║YCbCrPositioning        │                        Centered                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSLongitudeRef         │                          East                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileSize                │                         138 KiB                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ISO (1)                 │                           75                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ZoomSourceWidth         │                          3072                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalPlaneYSize         │                         4.39 mm                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MaxApertureValue        │                           3.2                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFImageHeight           │                           230                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CanonExposureMode       │                          Easy                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MacroMode               │                         Normal                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ResolutionUnit (1)      │                         inches                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FNumber (1)             │                            4                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExifImageWidth          │                           800                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFAreaWidths            │           276 276 276 276 276 276 276 276 276          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSAltitude             │                   0 m Above Sea Level                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║TargetExposureTime      │                          1/403                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ScaleFactor35efl        │                           6.1                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ManualFlashOutput       │                           n/a                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSAltitude (1)         │                           0 m                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║UserComment             │                                                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║BaseISO                 │                           100                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSAltitudeRef          │                     Above Sea Level                    │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalPlaneYResolution   │                       13633.13609                      │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║RelatedImageHeight      │                           534                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Saturation              │                         Normal                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSLatitudeRef          │                          North                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocusContinuous         │                         Single                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExifByteOrder           │                Little-endian (Intel, II)               │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileTypeExtension       │                           jpg                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSLatitude             │                   46 deg 14' 28.70" N                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSVersionID            │                         0.0.2.2                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AutoRotate              │                          None                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║InteropIndex            │               R98 - DCF basic file (sRGB)              │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║NDFilter                │                           Off                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ShootingMode            │                        Landscape                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSLatitude (1)         │                    46 deg 14' 28.70"                   │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AutoISO                 │                           75                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ThumbnailImageValidArea │                         0 0 0 0                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExposureCompensation (1)│                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║DOF                     │                   inf (3.31 m - inf)                   │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Make                    │                          Canon                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ContinuousDrive         │                         Single                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MyColorMode             │                           Off                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║MIMEType                │                       image/jpeg                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CurrentIPTCDigest       │            6b390b44eed2df233bf00ecb36a5dab3            │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║YResolution (1)         │                           96                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFAreaMode              │                          Auto                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFPointsInFocus         │                            4                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║DigitalZoom             │                          None                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ImageUniqueID           │            4e1bc6869060865395be4d3b588f012c            │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║YResolution             │                           180                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ThumbnailImage          │                 SCALAR(0x55ca1cdcda20)                 │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FlashExposureComp       │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Rotation                │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ApertureValue           │                           4.0                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CompressedBitsPerPixel  │                            5                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ISO                     │                           75                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CanonImageHeight        │                          2304                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CanonModelID            │                    PowerShot A710 IS                   │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║YResolution (2)         │                           72                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Aperture                │                           4.0                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║Software                │                       Picasa 3.0                       │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalPlaneXSize         │                         5.84 mm                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFPoint                 │                 Auto AF point selection                │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalUnits              │                         1000/mm                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FileSource              │                     Digital Camera                     │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSLongitude            │                   24 deg 50' 59.55" E                  │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ExifToolVersion         │                          12.30                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║InteropVersion          │                          0100                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFAreaYPositions        │               -42 -42 -42 0 0 0 42 42 42               │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CameraTemperature       │                          29 C                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║GPSLongitude (1)        │                    24 deg 50' 59.55"                   │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║TargetAperture          │                            4                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocusDistanceLower      │                           0 m                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ImageSize               │                         800x534                        │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AFAreaXPositions        │            -276 0 276 -276 0 276 -276 0 276            │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CanonFlashMode          │                           Off                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FlashOutput             │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║CanonImageSize          │                          Large                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║DateStampMode           │                           Off                          │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ImageStabilization      │                           On                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FocalPlaneXResolution   │                       13653.33333                      │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║AEBBracketValue         │                            0                           │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║FlashBits               │                         (none)                         │
├─────────────╫────────────────────────┼────────────────────────────────────────────────────────┤
│1            ║ComponentsConfiguration │                      Y, Cb, Cr, -                      │
└─────────────╨────────────────────────┴────────────────────────────────────────────────────────┘
=== END of EXIF Table === 


/home/reaper/goHackTools/geo-img/example.jpg
[+] Image ->  /tmp/go-build411707490/b001/exe/main
[+] lat:	46.24130500044563
[+] long:	24.84987600049927[+] Possible Location -> https://www.google.com/maps/@46.24130500044563,24.84987600049927----------------------------------------------------------------------------------------------
-> ++ > Generating MAP for geo location

MAP THAT OS GENERATED IN THE DIR AFTER GEO LOCATION TAG IS USED WITH A JPG/JPEG image

alt text

DEMO OUTPUT OF ZIP EXTRACTION

2022/02/21 13:13:59 Found zip signature at byte 135275.
Unzip it? (Y/N) > Y
OK

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs AMD Ryzen 7 3700X 8-Core Processor              (870F10),ASM,AES-NI)

Scanning the drive for archives:
1 file, 135447 bytes (133 KiB)

Extracting archive: img/stego_image.jpg
--
Path = img/stego_image.jpg
Type = zip
Offset = 135275
Physical Size = 172

    
Would you like to replace the existing file:
  Path:     ./passwords.txt
  Size:     12 bytes (1 KiB)
  Modified: 2018-10-21 08:37:36
with the file from archive:
  Path:     passwords.txt
  Size:     12 bytes (1 KiB)
  Modified: 2018-10-21 08:37:36
? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? Y

Everything is Ok    

Size:       12
Compressed: 135447

About

EXIF Hunter is a script written from golang and perl to Inject images with data, grab and map geo location, and more.

License:MIT License


Languages

Language:Go 95.2%Language:Perl 4.5%Language:Shell 0.4%