fluidasserts.format.file module

This module allows to check common file vulnerabilities.

fluidasserts.format.file.has_compiled_binaries(path, mime_types=['application/java-archive', 'application/x-java-applet'], exclude=None)

Check if there are files in path that match a compiled binary mime type.

Check if the source code of the binaries found is available

It checks for fluidasserts.format.file.COMPILED_BINARY_MIMES mime types.

Parameters
Return type

fluidasserts.Result