Bulk CTF File Scanner

Scan many CTF files or a ZIP in your browser. Find extension mismatches, flag patterns, trailing data, entropy and duplicates, then rank files to open first. Export as CSV or JSON.

Many files
Ranked triage
CSV and JSON export
Bulk CTF file scanner

Drop a pile of challenge files (or one ZIP) and this tool scans them one after another, then ranks them so you know which to open first: a mismatched extension, bytes after the end, a flag-shaped string, random-looking data. It is a triage list, not a verdict. For one file in depth use the File Type Detector.

Drop files here, or

Up to 500 files and 500 MB in total · a file over 50 MB gets type, extension, size and file-name checks (plus entropy in CTF mode) only · read in your browser, never uploaded · this browser cannot choose a folder: select the files or a ZIP instead

Try a sample

How to triage a pile of files (5 steps)

  1. Add the files: Drop files, choose files, or choose a folder (where your browser allows it). A ZIP can be scanned as one file, or you can scan the files inside it instead. Intake limits: on a typical computer up to 500 files and 500 MB in total per scan. A file past the count or the total is listed as skipped with the reason (the first 500 skipped files are listed; beyond that they are counted in a note). Analysis limit: a loose file over 50 MB is not loaded wholly into memory, so its SHA-256, strings, flag scan, trailing-data and metadata checks say “not checked”; its type, extension, size and file-name checks still run, and in CTF mode so does its whole-file entropy (counted in 4 MB pieces). Entropy can be counted piece by piece because it only needs a running tally of byte values; SHA-256 as an algorithm can also be computed piece by piece, but the browser’s built-in digest used here takes the whole file at once, so hashing is skipped over the limit. Basic mode never computes entropy. A ZIP entry over the limit is skipped, not partly scanned. On phones and on devices that report little memory or few processor cores the limits are lower (200 files, 200 MB in total, 25 MB per file), and the page shows the limits in force before you start. One file that takes longer than 15 seconds is stopped and marked timed out.
  2. Choose a mode and start: CTF mode runs all the checks; Basic mode runs a smaller set (type, extension, size, SHA-256 and the file-name check). Press Start scan. The files are scanned strictly one after another in the order you added them.
  3. Watch it run: Results appear in the table while the scan runs. Skip and Cancel all take effect at once; Pause stops the file being scanned at its next safe point (between read slices and between checks) and keeps its progress. Finished results stay. Failed and timed-out files can be retried.
  4. Read the ranked table: Each file gets a priority from fixed, visible signals. Open any row to see exactly which signals fired and why, the result of every check, and the first 64 bytes. Filter by flag found, trailing data, mismatch, outlier, unknown type, duplicates or failed.
  5. Act on it: Open one file in the Hex Viewer, Strings Analyzer, PNG Chunk Analyzer, EXIF Viewer, Trailing Data Checker or Entropy Analyzer, or export the table as CSV or JSON.

What the Bulk CTF File Scanner Does

A CTF often hands you a folder of files and no hint about which one matters. Running `file`, `strings` and `exiftool` on every one by hand, or writing a shell loop each time, is the slow first step. This tool does that first pass for you: it scans every file you add, one at a time, and ranks them so you can see which to open first and why.

It is a triage tool. It does not extract anything, carve embedded files, unpack archives recursively or decode what it finds. When a file looks interesting, one click sends that single file to the tool that goes deeper.

The Checks It Runs on Each File

CTF mode runs the full set of checks below on each file. Basic mode runs a smaller set: type, extension, size, SHA-256 and the file-name check; entropy, strings, the flag scan, the trailing-data check and the metadata check say “not checked (Basic mode)”. In either mode a check can also answer “not checked” with a reason, for example a file over the per-file limit or a type with no structural end to verify. A “not checked” result is never counted as clean.

Type identification uses the same signature table as the File Type Detector, from the first 512 bytes. Extension mismatch compares the declared extension with the detected type (a file with no extension, an unknown type, or a generic extension such as .bin is not called a mismatch; a .docx that is a ZIP container is not either). SHA-256 groups identical files. Entropy is one whole-file Shannon figure in bits per byte (CTF mode only). Strings are printable ASCII runs (0x20 to 0x7E) of 4 or more characters. The flag scan looks for flag{…}, ctf{…}, htb{…}, picoctf{…} and your own prefixes, case-insensitively, up to 200 characters long. The trailing-data check uses the Trailing Data Checker's engine for PNG, JPEG, GIF, ZIP, BMP, WAV/AVI, PDF, TAR and MP3. The file-name check looks for double extensions, Unicode direction-control characters, zero-width characters, control characters and paths that try to leave their folder. The metadata check only notes whether a JPEG or PNG carries a metadata block: in a JPEG an EXIF, XMP, IPTC (Photoshop) or comment segment before the image data, in a PNG a tEXt, zTXt, iTXt or eXIf chunk. No field is read; that is the EXIF Viewer’s job.

How the Ranking Works

Each signal adds a fixed weight and the weights are shown below. A file scoring 60 or more is “worth a look first”, 25–59 is “worth a look”, 1–24 is minor and 0 is “nothing flagged”. Ties keep the order the files were added. The same files and settings always give the same order.

The weights and the 7.5 bits-per-byte entropy default are engineering placeholders, not research-backed constants. A high tier means a place to start looking. A file with nothing flagged is not proven clean, and nothing here says a file is malicious.

The “unknown type, high entropy” signal needs three things: CTF mode (Basic mode does not compute entropy), a type the signature table does not recognise, and a whole-file entropy at or above the threshold (the comparison is “greater than or equal”; the default is 7.5 and the Settings slider runs from 6.00 to 8.00 bits per byte). Compressed and encrypted data normally sit near 8, so the signal means “looks random”, not “hides something”. “End not confirmed” (+10) is deliberately much lower than “data after the end” (+40): it only says the file’s end could not be confirmed, for example because the file is damaged or the format has no full check, and claims nothing about extra bytes. A metadata block (+5) is normal in photographs; the signal only records that it is there.

Duplicates and Outliers Across Files

Files with the same SHA-256 have identical bytes and are grouped; a duplicate scores nothing on its own. A file with no SHA-256 (over the per-file limit, failed or timed out) cannot be grouped as a duplicate. Grouping does not remove other signals: holiday.jpg is listed as a duplicate of logo.png and still scores its extension mismatch.

An outlier is a file whose size, or in CTF mode its entropy, is far from the others of the same detected type. The rule needs at least 5 files of that type: a value is an outlier when |value − median| > 3 × MAD, where MAD is the median absolute deviation (strictly greater than). If MAD is 0 (all alike), a size is an outlier when it differs from the median at all, and an entropy when it differs by more than 0.05 bits per byte. Size is checked in both modes; entropy only in CTF mode, and only among the files whose entropy was computed. With fewer files the tool says there are too few to compare.

The Ranking Signals and Their Weights

Fixed and visible. A file's score is the sum of the signals that fired; the weights are engineering placeholders, not research-backed constants.

SignalWeightWhat it means
Flag pattern found+100A string such as flag{...}, ctf{...}, htb{...}, picoctf{...} or one of your own prefixes appears in the file's printable ASCII text. It may still be a decoy.
Data after the end+40The file's own format says it ends at a validated point and more bytes follow. Normal for some files, a common hiding place in challenges.
End not confirmed+10The format was recognised but its end could not be confirmed (malformed or unvalidated), so nothing is claimed about extra data.
Extension does not match+30The file's first bytes say one type and its extension says another.
Differs from similar files+25Among at least 5 files of the same detected type, this one's size (or, in CTF mode, entropy) is far from the rest.
Tricky file name+20The name has a double extension, a Unicode direction-control character, a zero-width or control character, or a path that leaves its folder.
Unknown type, high entropy+15No known type matched and the bytes look random. Compressed and encrypted data both look like this.
Metadata block present+5A JPEG or PNG carries EXIF, XMP, IPTC, a comment or a text chunk. Only its presence is noted here.

Examples

Input: Try the example collection: 11 small files (a flag in a text file, a PNG with 31 bytes added after its end, a PNG (logo.png) and two files with bytes identical to it, logo-copy.png and holiday.jpg (a PNG with the wrong extension), random data, a file named invoice.pdf.exe, an empty file, a ZIP and two plain files).

Result: banner.png scores 140 (flag 100 + bytes after the end 40), notes.txt 100 (flag), archive.zip 100 (flag, found because the ZIP stores its text uncompressed), holiday.jpg 30 (extension does not match: the bytes are a PNG), invoice.pdf.exe 20 (double extension), payload.bin 15 (unknown type with entropy 7.97). logo-copy.png and holiday.jpg are listed as duplicates of logo.png.

Meaning: Three files are “worth a look first” because a flag-shaped string appears in them. holiday.jpg is Medium because its extension does not match its detected PNG content, and the empty file, readme.txt and unknown.xyz have no signal. This is a triage order, not a list of findings.

Input: One PNG file followed by the 25 bytes `flag{trailing_data_found}`.

Result: Trailing data: the PNG's end is validated and 25 bytes follow it. Flag pattern: flag{trailing_data_found} at an offset after the PNG's own end. Score 140.

Meaning: The two signals agree: something was appended after the image. Send the file to the Trailing Data Checker to see the appended bytes and save them.

Input: Six PNG files of 100 to 105 bytes and one PNG of 50,000 bytes.

Result: The 50,000-byte file is a size outlier: its size is more than 3 times the median absolute deviation from the median of the seven sizes. It gains +25 on top of any other signal.

Meaning: “Which one of these is different” is a common shape of challenge. With only four PNGs the same file would not be assessed: the tool needs at least 5 files of one type.

Input: A file named `photo‮gpj.exe` (it contains the Unicode right-to-left override).

Result: The name check reports a Unicode direction-control character (+20). The table shows the name with the control character written out as \u202E so it cannot disguise itself.

Meaning: That character can make a name display backwards, so an .exe looks like a .jpg. The tool only tells you the name contains it.

How it works

Queue

The page keeps the list of files and the queue. Only one file is analysed at a time: the next starts when the previous one finished, failed, was skipped or timed out. A background worker does the reading and the checks, so the page stays usable.

Read

For each file the worker reads the bytes it needs. A file within 50 MB is read whole into memory for the duration of its checks and then released; only small results are kept, never file contents (the 64-byte hex preview aside). A ZIP entry is inflated by the worker with a running count of the real output bytes. The current file's progress (bytes read of the total) is shown while it is scanned.

Rank

When a file finishes, its signals are added up with the fixed weights, and the duplicate and outlier groups are recomputed across all finished files. The table keeps queue order while the scan runs and sorts by rank when it ends, or when you press Re-rank. It draws only the rows in view, so a list of 500 stays smooth.

Hand off

Opening a file in another tool re-reads that one file (a ZIP entry is inflated again with the same limits) and stores it in this browser's IndexedDB for up to 30 minutes. Only one file travels at a time; sending another replaces it. If the file is over this device's hand-off limit (20 MiB on phones and low-memory devices, 100 MiB otherwise), or the browser will not store it, nothing is sent and the page says why; load the file in the other tool yourself.

What the results mean

ResultWhat it meansWhat to do
Worth a look first (High)Score 60 or more: a flag-shaped string, or several other signals together.Open its row, read the reasons and send it to the tool that goes deeper.
Worth a look (Medium)Score 25 to 59: for example bytes after the end, an extension that does not match, or a size outlier.Check the reason; some are common and harmless.
Minor (Low)Score 1 to 24: a tricky file name, an unknown type with high entropy, a metadata block, or an end of file that could not be confirmed.Low weight, but a tricky name or random data can still be the whole challenge.
Nothing flagged (None)No signal fired. Some checks may be “not checked” for this file.Not proof that the file is clean. Open it in the Hex Viewer if it matters.
Not checkedA check did not run: the mode left it off, the file is over the per-file limit, or the type has no rule for that check.The row says which and why.
Skipped / Failed / Timed outThe file was over a limit, you skipped it, the scan was cancelled, a check crashed, or it took longer than 15 seconds.Retry failed files, or open them in a single-file tool.

Limitations

  • This is a quick first pass. During its analysis each file is read once (opening a file in another tool reads that one file again). It does not search every offset for embedded files (the Polyglot File Analyzer does) and does not extract, decode or decrypt anything.
  • Tiers are heuristics. A file with nothing flagged is not proven clean, and a flagged file is not proven to hide anything. The tool never calls a file malicious.
  • The flag scan reads printable ASCII text only. A flag that is encoded, split across non-text bytes, UTF-16 or longer than 200 characters is not found. Prefixes are plain text, not patterns.
  • Type identification covers the File Type Detector's signature table, which is much smaller than a trained classifier's. An unknown type is reported as unknown. In one run of the project's own test (`realfiles.test.mjs`) over 1,030 real files, compared with the `file` command (libmagic 5.41), the tool and libmagic both named a type for 929 files and all 929 agreed; the other 101 had a libmagic type the test does not map to a signature name (for example generic binary data, executables, plain text, or archive and audio families), and no file had a libmagic type the table covers while the tool said unknown or something else. The files are public test files of open-source projects (Pillow, pdf.js, exif-samples, python-docx, SciPy, mutagen, OpenCV extra, libzip and others) plus files written by real tools; this is agreement on those files, not a measured error rate for other files. Two things go beyond the table: an ID3 tag in front of another format is looked past (a FLAC with an ID3 tag is read as FLAC), and the last part of a split ZIP, which has no signature at its start, is recognised from its end record.
  • The trailing-data check covers PNG, JPEG, GIF, ZIP, BMP, WAV/AVI, PDF, TAR and MP3. Other types say “not checked”. A text file has no structural end to check.
  • ZIP files can be scanned one level deep: stored and deflate entries only. Encrypted entries, ZIP64 archives, split archives and other compression methods are listed as skipped with the reason; a ZIP inside a ZIP is scanned as an ordinary file and never unpacked. An entry that fails its CRC-32 check is reported as failed, not analysed.
  • Scans have intake limits (files, total size) and a per-file analysis limit; both are lower on phones and low-memory devices, and nothing is skipped silently. The exact numbers are under “Add the files” and in the FAQ “What are the limits?”.
  • Choosing a folder works where the browser supports it; dropping a folder onto the page is not supported (choose the folder instead). Skip and Cancel all take effect at once; Pause stops the current file at its next safe point and keeps its progress.
  • Not built, by the blueprint's own deferral: recursive unpacking, parallel scanning, user regular expressions, saving a scan across page reloads and comparing two scans. Closing or reloading the page clears all results.

Privacy

Your files are read and scanned in your browser, in a background worker. This tool does not send them, their names or their hashes to our servers, and analytics events carry feature names and coarse counts only. This statement is about this tool's own code; it does not cover third-party scripts, and optional analytics and advertising scripts load only after you accept optional cookies. If you open one file in another tool, that single file (within the device limit) is stored in your browser's IndexedDB so the next page can read it; it is not sent to a server, the next page ignores it after 30 minutes, and Clear shared data on the Next steps tab removes it at once. Only your pinned tabs are remembered in localStorage, never a file or its contents.

Frequently Asked Questions

What does “queue-based, one file at a time” mean?

Your files are scanned strictly in order, one after another, never two at once. That keeps memory use to one file's analysis at a time, makes the order predictable, and lets you pause, skip or cancel between files. Results appear in the table as each file finishes.

How is this different from the File Type Detector?

The File Type Detector looks at one file in depth. This tool runs a short set of checks on many files and ranks them, so you can see which one to open first. It uses the same signature table, and each row can be sent to the File Type Detector or other single-file tools.

Does it find hidden data or flags?

It flags possible signals: bytes after a file's own end, an extension that does not match, a flag-shaped string such as flag{…} or ctf{…} or htb{…} or picoctf{…} in the file's text, random-looking data. It does not extract, decode or decrypt anything, and a flagged file may be a decoy.

If a file is marked “None”, is it safe?

No. “None” means none of these quick checks fired. Some checks may have said “not checked” for that file, and many ways of hiding data are outside what a first pass can see. Nothing here says a file is clean or malicious.

Are my files uploaded?

No. Files are read in your browser by a background worker. Nothing is sent to our servers by this tool. If you open a single file in another tool, it is held in your browser's IndexedDB for up to 30 minutes so the next page can read it.

What are the limits?

Intake limits: on a typical computer up to 500 files and 500 MB in total per scan. A file past the count or the total is listed as skipped with the reason (the first 500 skipped files are listed; beyond that they are counted in a note). Analysis limit: a loose file over 50 MB is not loaded wholly into memory, so its SHA-256, strings, flag scan, trailing-data and metadata checks say “not checked”; its type, extension, size and file-name checks still run, and in CTF mode so does its whole-file entropy (counted in 4 MB pieces). Entropy can be counted piece by piece because it only needs a running tally of byte values; SHA-256 as an algorithm can also be computed piece by piece, but the browser’s built-in digest used here takes the whole file at once, so hashing is skipped over the limit. Basic mode never computes entropy. A ZIP entry over the limit is skipped, not partly scanned. On phones and on devices that report little memory or few processor cores the limits are lower (200 files, 200 MB in total, 25 MB per file), and the page shows the limits in force before you start. One file that takes longer than 15 seconds is stopped and marked timed out.

Can it open a ZIP?

Yes, one level: you can scan the files inside a ZIP instead of the ZIP itself. Only stored and deflate entries are supported; encrypted entries, ZIP64 and split archives are listed as skipped with the reason. The size of what is inflated is counted while it is produced, so an archive that claims a small size but expands hugely is stopped. A ZIP inside a ZIP is scanned as a normal file.

What if the flag is encoded?

The flag scan only reads plain printable text. If a file's longest strings look like Base64, the row suggests the Encoding Auto-Decoder; otherwise open the file in the Strings Analyzer and decode what you find there.

Why is a file with a .docx extension not reported as a mismatch?

A .docx, .xlsx, .jar or .apk file is a ZIP container, so its bytes legitimately say “ZIP”. The tool knows a list of such extensions for ZIP, MP4-family, Office, TIFF-family, Ogg, Matroska, executable and a few other containers. Files with no extension, with a generic extension like .bin, or of an unknown type are never called a mismatch.