# impacket
[impacket](https://github.com/fortra/impacket) "is a collection of Python classes for working with network protocols. Impacket is focused on providing low-level programmatic access to the packets and for some protocols (e.g. SMB1-3 and MSRPC) the protocol implementation itself. Packets can be constructed from scratch, as well as parsed from raw data, and the object-oriented API makes it simple to work with deep hierarchies of protocols. The library provides a set of tools as examples of what can be done within the context of this library."

Check out the BHIS [cheat sheet](https://www.blackhillsinfosec.com/impacket-cheatsheet/) on this topic.

## Basic install (pipx)
```
python3 -m pipx install impacket
```
*Note - the impacket files might get installed to `/usr/local/bin`.*

## Basic install (pip)
```
# make a venv if you want
python3 -m venv venv
source venv/bin/activate

# install
pip install impacket
```
