Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.99 KB

README.md

File metadata and controls

64 lines (42 loc) · 1.99 KB

Python Network Tools

This tool is intended to be a modularized set of scripts to perform network functions in Python3. I found myself having to repeatedly look up how to perform certain Python functions related to networking so I put them in one place as a reference and functional tool

Note: Tools inside of the scripts folder are stand alone scripts

Python 3.7 Docker PEP8 License Twitter

Install

python3 -m pip install -r requirements.txt

Running with Docker (Local build)

docker build -t pnt3

Build Docker image (locally)

docker run -it -v ${PWD}/targets.txt:/targets/targets.txt pnt3 --dnsresolve --target /targets/targets.txt

Run Docker container with target file

docker run -it --entrypoint sh pnt3

Run Docker container and drop into bash shell to use scripts

Running with Docker (From Github Container Registry)

docker run -it -v ${PWD}/targets.txt:/targets/targets.txt ghcr.io/sneakerhax/pnt3:latest --dnsresolve --target /targets/targets.txt

Run Docker container with target file

docker run -it --entrypoint sh ghcr.io/sneakerhax/pnt3:latest

Run Docker container and drop into bash shell to use scripts

Running with Docker (Docker Hub)

docker run -it -v ${PWD}/targets.txt:/targets/targets.txt sneakerhax/pnt3:latest --dnsresolve --target /targets/targets.txt

Run Docker container with target file

docker run -it --entrypoint sh sneakerhax/pnt3:latest

Run Docker container and drop into bash shell to use scripts