EnglishFrenchSpanish

OnWorks favicon

tlsh_unittest - Online in the Cloud

Run tlsh_unittest in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command tlsh_unittest that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


tlsh_unittest - compute TLSH digest values and distance

SYNOPSIS


tlsh_unittest [-c <file|digest>] -f <file> [-T <threshold_value>] [-xlen]
[-details]

tlsh_unittest -c <file|digest> -d <digest> [-T <threshold_value>] [-xlen]
[-details]

tlsh_unittest [-c <file|digest> | -xref] -r <dir> [-T <threshold_value>] [-xlen]
[-details]

tlsh_unittest [-c <file|digest> | -xref] -l <listfile> [-T <threshold_value>] [-xlen]
[-details]

tlsh_unittest -version

DESCRIPTION


tlsh_unittest can be used to compute TLSH digest values or the distance between digest
values in the following ways:

1. To compute the TLSH digest value of a single file (-f file), or a directory of files
(-r dir). This output can be used to create the listfile required by the -l option
described below.

2. To compute the distance between a comparison file or TLSH digest (-c <file|digest>)
and the specified file (-f file), TLSH digest (-d digest), directory of files (-r
dir), or list (-l listfile).

3. To compute the distance between each element in a set of files (-r dir) or
files/digests in a list (-l listfile) with every other element in that set, using
the -xref flag

OPTIONS


-c <file|digest>
Specifies a filename or digest whose TLSH value will be compared to a specified
TLSH digest (-d) OR the TLSH value of a sepcified file (-f) OR the TLSH values of
files in a specified directory (-r) OR the TLSH values in a specified listfile (-l)

-xref Results in the calculation of distance between each element in the set. Used only
when a set of files (-r dir) or TLSH values (-l listfile) is specified.

-f file
Specifies a file whose TLSH values are to be computed, or used for comparison (-c
<file|digest>)

-d digest
Specifies a TLSH digest value that is to be compared to the specified comparison
file or digest (-c <file|digset>)

-r dir Specifies a recursive directory search for files whose TLSH values are to be
computed, or used for comparison (-c <file|digset> or -xref)

-l listfile
Used for comparison purposes only (-c <file|digset> or -xref). Each line in
listfile can contain either:

· a TLSH digest value (comparison output will display TLSH digests)

· a tab separated TLSH digest value and its corresponding filename (comparison
output will display filenames)

The tab separated listfile can be generated by running tlsh_unittest with either
the -f or -r flag

-xlen Determines if the lengths of the compared files is to be included in determining
the distance.

-details
Results in extra detailed output.

-T threshold_value
Used only during comparisons (-c <file|digset> or -xref). Specifies the maximun
distance that a comparison must generate before it is reported (defaults to 9999).

EXAMPLE


Calculate the distance between two files:
tlsh_unittest -c <file 1> -f <file 2>

Calculate the distance between two TLSH digest values:
tlsh_unittest -c <TLSH digest 1> -d <TLSH digest 2>

Calculate the TLSH digest values for every file in a directory. This creates input for the
-l option:
tlsh_unittest -r <dir>

Get the distance between a reference TLSH digest value, and a list of TLSH digest values
in a file:
tlsh_unittest -c <TLSH digest> -l <file>

Compare the TLSH value for every file in a directory, to every other file in that
directory:
tlsh_unittest -xref -r <dir>

NOTES


This man page has been adapted from tlsh_unittest usage output for the Debian project.

Use tlsh_unittest online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

Ad