You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#The MagicNumber Scanner is a tool written using the Ruby language that identifies the file type based on its "magic number" and can generate a HTML report that contains links that points to a website to get detailed information about the identified file.#
#NOTE: signatures taken from the website of Gary C. Kessler - http://www.garykessler.net/
#If you find any bugs, let us know. Thanks. ]¬)
require './magic_num_scanner_lib'
mns=MagicNumScanner.new()
mns.action!(ARGV[0])
print mns.report+"\n\n"
mns.generate_html_report(ARGV[1]) if if !ARGV[1].nil?