forensics

package
v0.0.0-...-283c566 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum

func Checksum(file string)

func CreateSteganographicFromArchive

func CreateSteganographicFromArchive(v bool, dst, src, jpg string)

CreateSteganographicFromArchive creates an image file that behave both as an image and archive. dst is the path for the new image archive and src is the path to the archive. jpg is an optional path to an image file

func DetectArchiveFromImage

func DetectArchiveFromImage(v bool, src string) bool

func Enumerate

func Enumerate(v bool, sortBy, sortAlg string, desc bool, paths ...string) Tree

Enumerate recursively walks through directories and sorts the discovered files before returning the list. sortBy must be one of ("dir" | "mod" | "name" | "size") sortAlg must be one of ("" | "bubble" | "insertion" | "merge" | "quick" | "selection") the empty string defaults to quicksort. desc defines whether the contents are sorted in descending order or ascending order paths is a variadic list of paths to enumerate

func ExtractCopy

func ExtractCopy(v bool, dst string, src ...string)

ExtractCopy extracts the files at src and creates a new file dest with the concatenated contents.

func Extractor

func Extractor(v bool, dst io.Writer, src ...string)

Extractor extracts the files at src and concatenates the contents into the writer.

func VerifyChecksum

func VerifyChecksum(file string, sum string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL