mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Updates to usage notes.
This commit is contained in:
parent
4d3fa28f92
commit
1278663380
@ -1261,35 +1261,30 @@ def required_input_file(name):
|
|||||||
|
|
||||||
# Returns the args of the test script
|
# Returns the args of the test script
|
||||||
def usage():
|
def usage():
|
||||||
usage = "\
|
return """
|
||||||
Usage: ./regression.py [-f FILE] [OPTIONS] \n\n\
|
Usage: ./regression.py [-f FILE] [OPTIONS]
|
||||||
Run the RegressionTest.java file, and compare the result with a gold standard \n\n\
|
|
||||||
When the -f flag is set, this script only tests the image given by FILE.\n\
|
Run RegressionTest.java, and compare the result with a gold standard.
|
||||||
By default, it tests every image in ./input/\n\n\
|
By default, the script tests every image in ./input
|
||||||
An indexed NSRL database is expected at ./input/nsrl.txt-md5.idx,\n\
|
When the -f flag is set, this script only tests a single given image.
|
||||||
and an indexed notable hash database at ./input/notablehashes.txt-md5.idx\n\
|
When the -l flag is set, the script looks for a configuration file,
|
||||||
In addition, any keywords to search for must be in ./input/notablekeywords.xml\n\n\
|
which may outsource to a new input directory and to individual images.
|
||||||
When the -l flag is set, the script looks for a config.xml file of the given name\n\
|
|
||||||
where images are stored. The above input files may be outsources to a different folder\n\
|
Expected files:
|
||||||
via the config file. For usage notes please see the example \"config.xml\" in\n\
|
An NSRL database at: ./input/nsrl.txt-md5.idx
|
||||||
the /script folder.\
|
A notable hash database at: ./input/notablehashes.txt-md5.idx
|
||||||
Options:\n\n\
|
A notible keyword file at: ./input/notablekeywords.xml
|
||||||
-r/--rebuild\n\
|
|
||||||
Rebuild the gold standards from the test results for each image.\n\n\
|
Options:
|
||||||
-i/--ignore\n\
|
-r Rebuild the gold standards for the image(s) tested.
|
||||||
Ignores the ./input directory when searching for files. Only use in combinatin with a config file.\n\n\
|
-i Ignores the ./input directory and all files within it.
|
||||||
-u/--unallocated\n\
|
-u Tells Autopsy not to ingest unallocated space.
|
||||||
Ignores unallocated space when ingesting. Faster, but yields less accurate results.\n\n\
|
-k Keeps each image's Solr index instead of deleting it.
|
||||||
-k/--keep\n\
|
-v Verbose mode; prints all errors to the screen.
|
||||||
Keeps each image's Solr index instead of deleting it.\n\n\
|
-e ex Prints out all errors containing ex.
|
||||||
-v/--verbose\n\
|
-l cfg Runs from configuration file cfg.
|
||||||
Prints all Warnings and Exceptions after each ingest.\n\n\
|
"""
|
||||||
-e/--exception [exception]\n\
|
|
||||||
When followed by a string, will print out all exceptions that occured that contain the string. Case sensitive.\n\n\
|
|
||||||
-l/--list [configuration file]\n\
|
|
||||||
Runs from a configuration file, which is given as a path to the file after the argument."
|
|
||||||
|
|
||||||
return usage
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user