71 lines
1.7 KiB
Markdown
71 lines
1.7 KiB
Markdown
# snaferrous
|
|
|
|
snafflerish but rusty!
|
|
|
|
|
|
|
|
Currently it just looks for some hardcoded keywords to determine if a file has sensitive infomation, but it works!
|
|
|
|
|
|
|
|
# USAGE:
|
|
|
|
snaferrous [OPTIONS]
|
|
|
|
|
|
|
|
Options:
|
|
|
|
-o, --outfile <OUTFILE> path to save output file Defaults to not saving output.
|
|
|
|
--threads <THREADS> number of threads to use, default to 10.
|
|
|
|
-t, --targets <TARGETS> specific targets. should be comma separated.
|
|
|
|
-f, --filter_targets <targets> specific targets that should be ingored. Comma separated.
|
|
|
|
-l, --local scan the current hot's file system (defaults to false)
|
|
|
|
-d --disable_network disable network file discovery
|
|
|
|
-v, --verbose echo all found files to the console, regardless of keyword matching. (all files will still be saved to the log file)
|
|
|
|
-h, --help Print help (see more with '--help')
|
|
|
|
-V, --version Print version
|
|
|
|
|
|
|
|
# Compiling:
|
|
|
|
`git clone https://github.com/Pyro57000/snaferrous.git`
|
|
|
|
`cd snafferous`
|
|
|
|
`cargo build --target x86_64-pc-windows-gnu --release`
|
|
|
|
then your .exe will be in the targets/x86_64-pc-windows-gnu/release folder!
|
|
|
|
|
|
|
|
# Tool Output.
|
|
|
|
By default the tool will only print the found shares and files with keyword matches to the console.
|
|
|
|
If you give it the -v flag then it will print all files it finds to the console.
|
|
|
|
By default it only gives output to the console, but if you give it an outfile with the -o flag it will save findings to that file.
|
|
|
|
If it can't open the output file or write to it for any reason it will ask you if you want to continue without saving anyway.
|
|
|
|
|
|
|
|
Findings will be structured like the following:
|
|
|
|
shares - share found! {path to the share}
|
|
|
|
keyword matchs - keyword match at {path to the file}
|
|
|
|
file - file found at {path to the file}
|
|
|