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.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: wtool_utils-1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6bed94b3d5b99ebac2ad21ea36ad7ad078fd69977bd30c081d969bd67acca690
MD5 d26f4d157656f9c9948db8a016a8fdb1
BLAKE2b-256 d4b60f1e20ae787cbcddd1cceb7b33e12b671d463bc9523bd3d563bbb4537773

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