Skip to main content

helper for the wtool app

Project description

wtool utils

features

  • get nic information
  • sniffing on interface
    • interpreting / dissecting packets

installation

sudo pip3 install wtool_utils
# or 
sudo pip3 install git+https://github.com/nbdy/wtool_utils
# or
cd /tmp/ ; git clone https://github.com/nbdy/wtool_utils ; cd wtool_utils
sudo pip3 install .

usage

$wtool_utils --help
usage: wtool_utils [-h] [-i] [-s] [-if INTERFACE] [-sf SNIFF_FILTERS] [-sc SNIFF_COUNT] [-sp] [-so SNIFF_OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -i, --interfaces      Return NIC information
  -s, --sniff           Sniff on interface. -i required
  -if INTERFACE, --interface INTERFACE
                        Specify NIC for -i & -s
  -sf SNIFF_FILTERS, --sniff-filters SNIFF_FILTERS
                        Specify BPF filters for the sniffer
  -sc SNIFF_COUNT, --sniff-count SNIFF_COUNT
                        Only capture this amount of packets
  -sp, --sniff-promisc  Enable promiscuous mode for sniffer
  -so SNIFF_OUTPUT, --sniff-output SNIFF_OUTPUT
                        Also write sniffed data to specified file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wtool_utils-1.2.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file wtool_utils-1.2.tar.gz.

File metadata

  • Download URL: wtool_utils-1.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for wtool_utils-1.2.tar.gz
Algorithm Hash digest
SHA256 c89deae1df1ae968f6f33550a8f3d809e6104bc0c342cb1254521067d66859de
MD5 ec742c3d8262e84c8ab5ac999c6d929d
BLAKE2b-256 c559bb54d954cfef52f07a2cda9fd5b640461b683f03d0fa78cea15dc6ffe221

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page