拡張子と中身が違うファイルに気をつけるポイント
この記事のポイント
- 不一致の表示を確認する
- 送り元を確認する
- 安全が不明なら開かない
ファイルの種類を判定する で不一致が出たときは、ファイルの扱いに注意してください。
手順
- 「不一致」の表示を見る
- ファイルの送り元が、信頼できるか確認する
- 送り元が不明なら、開かない
危険かどうかは、このツールでは判定できません。
ファイルの種類を判定する(拡張子と中身の確認)を使う(無料)
あわせて使えるツール
- ファイルのハッシュ値を調べる(SHA-256):ファイルのハッシュ値を調べて、照合します。
- ZIPを開く(解凍):ZIPの中身を見て、ほしいファイルだけ取り出します。
- 文字コードを変換する(文字化けを直す):Shift_JIS・UTF-8・EUC-JPなどの文字コードを変換し、文字化けを直します。
同じツールの、ほかの解説
What to Watch for When an Extension and Contents Differ
Key points
- Check the mismatch mark
- Check the sender
- Do not open it if safety is unclear
If Check a File's Real Type shows a mismatch, handle the file with care.
Steps
- Look for the "Mismatch" mark
- Check that the sender is trustworthy
- If the sender is unknown, do not open it
This tool cannot tell whether a file is dangerous.
Use "Check a File's Real Type (Extension vs Contents)" (free)
Tools that go well with this
- Check a File's Hash (SHA-256): Calculate a file's hash and compare it.
- Open a ZIP File (Unzip): See what is inside a ZIP and extract the files you need.
- Convert Text Encoding (Fix Garbled Text): Convert text files between Shift_JIS, UTF-8, EUC-JP and more to fix garbled text.