Skip to content

A python script to find the file extension and details of an unknown file by comparing the magic numbers of the unknown file to the existing database

Notifications You must be signed in to change notification settings

canaryGrapher/checkFiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

checkFiler

Let's say you have a file without any extension and you want to open it. What would you do? Well, the easy way would be to use this python script. Its as easy as running the python script and typing in the file name and selecting the relevant option.

Logo Designs (1)



What are magic numbers?

Magic numbers are the first few bytes of a file which are unique to a particular file type. These unique bits are referred to as magic numbers, also sometimes referred to as a file signature.


How to use this script?

Step 1

Copy the python script into the same folder where your unknown file is stored.
Now run the terminal or command prompt and type:
python hexer.py

How to run the script

Step 2

Now enter the file name that you want to test.

How to enter the name

Step 3

Choose the option that you want. In the current version, the second option is not working.

How to select the option

Step 4

The file's magic numbers will be checked and then the details of the extension of that file will be displayed.

About

A python script to find the file extension and details of an unknown file by comparing the magic numbers of the unknown file to the existing database

Topics

Resources

Stars

Watchers

Forks

Languages