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 hashes)

Uploaded Source

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