The FTimes Project The HashDig Project The WebJob Project The PaD Project
Location: / Home / FTimes / Man Pages / hashdig-weed
Man Pages
FTimes
Home


NAME

hashdig-weed.pl - Delete hashes from a HashDig database


SYNOPSIS

hashdig-weed.pl [-q] [-a hash-type] -d db -f {file|-}


DESCRIPTION

This utility deletes specified hashes from a HashDig database that has been created with hashdig-make(1). Input is expected to be plain text with one hash per line. For MD5 hash DBs, each line must match the following regular expression:

    ^[0-9a-fA-F]{32}$

For SHA1 hash DBs, each line must match the following regular expression:

    ^[0-9a-fA-F]{40}$

For SHA256 hash DBs, each line must match the following regular expression:

    ^[0-9a-fA-F]{64}$

Input that does not match the required expression will cause the program to generate an error message.


OPTIONS

-a hash-type

Specifies the type of hashes that are to be deleted. Currently, the following hash types (or algorithms) are supported: 'MD5', 'SHA1', and 'SHA256'. The default hash type is that specified by the HASH_TYPE environment variable or 'MD5' if HASH_TYPE is not set. The value for this option is not case sensitive.

-d db

Specifies the name of the database to weed.

-f {file|-}

Specifies the name of the input file. A value of '-' will cause the program to read from stdin.

-q

Don't report errors (i.e., be quiet) while processing input.


AUTHOR

Klayton Monroe


SEE ALSO

hashdig-dump(1), hashdig-make(1)


LICENSE

All documentation and code are distributed under same terms and conditions as FTimes.

Copyright 2000-2014 The FTimes Project, All Rights Reserved.
The FreeBSD Project SourceForge Logo KoreLogic, Inc.