Skip to content

ellie-playground/file-magic-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

How to start

Compile

mkdir program
gcc ./src/file_magic_code_read.c -o ./program/file_magic_code_read
gcc ./src/magic.c -o ./program/magic -lmagic
  • Before start, you need install libmagic in server

Run

./program/file_magic_code_read
./program/magic

About

extracts magic codes from a file to analyze the file extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages