artosis

package module
v0.0.0-...-e52fcbd Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: MIT Imports: 12 Imported by: 0

README

Stella Artosis

Stella

Stella Artosis is a simple program used to quickly hash files on your filesystem for use in forensic analysis.

Usage:

go get github.com/abraithwaite/stella-artosis
go install github.com/abraithwaite/stella-artosis/cmd/artosis
export GOMAXPROCS=`sysctl -n hw.ncpu`
artosis -include /usr/lib

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Include sets the directories to be scanned recursively.
	Include map[string]bool
	// Ignored will construct a set of files to ignore within Include
	// it uses a simple prefix match on the fully qualified path.
	Ignored map[string]bool
	// Hash controls which hahsing algorithm is used.
	Hash string

	// FollowSymlinks if set indicates to follow symlinks
	FollowSymlinks bool
}

type File

type File struct {
	Stat os.FileInfo
	Path string
	Hash []byte
}

func Scan

func Scan(conf Config) []*File

Scan walks the filesystem rooted in Config.Include and pushes the file information into the hashing function.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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