skelsec / pysnaffler

pysnaffler
85 stars 5 forks source link

Supported Python versions Twitter

:triangular_flag_on_post: Sponsors

If you like this project, consider sponsoring it on GitHub! Sponsors

pySnaffler

Snaffler, but in Python

Important info

This project is a Python version of the well-known Snaffler project. Not a full implementation of that project, only focusing on SMB share/dir/file enumeration and download and parse. Read: no LDAP etc.
It contains the default classifiers (referred to as ruleset in pySnaffler) baked-in already but this ruleset is a part of Snaffler project. Snaffler's author's Twitter: @mikeloss and @sh3r4_hax

Project info

The project is fully compatible with the TOML based rulesets from the original Snaffler project, the SMB connectivity is based on the aiosmb library. Note: the Snaffler's core config file is NOT compatible with this project.

Usage

Either install it via pip or just clone the project and install toml and aiosmb>=0.4.5.
If installed via pip you'll get two executables:

Use pysnaffler -h to see all parameters.

Example