Skip to main content

Various CLIs created from dt-tools packages

Project description

dt-cli-tools

CLI tools using the dt suite of helpers (dt-misc, dt-console, dt-net)

For detailed usage information, supply -h or --help to command line.

ex:  ip-helper -h

ip-helper

Retrieve IP information on Local and Internet IP addresses.

This utility interfaces with the free ipinfo.io site. The ipinfo.io site requires a user token which is free.

Features:

- IP Cache for to increase perfomance and and limit calls to ipinfo.io
- Command line interface, or console prompt menu.
- Commands to manage cache (list, clean, search,...)
- Cached IP entry will auto-refresh if it is more than 48 hours old.

lan-clients

Create report of all identified clients on local network.

Entries are identified thru Address Resolution Protocal (ARP) cache or broadcast. Default approach is ARP cache, however Broadcast (-b parameter) is more thorough, but takes more time.

Features:

  • Identifies LAN Clients and displays associated details:

    • IP Address
    • Hostname
    • MAC Address
    • MAC Vendor
  • Uses ARP Cache or ARP Broadcast to identify clients

  • Can output results into a pipe '|' delimited file

port-check

This module checks for open[/closed] ports on target host(s).

Features:

- Check a port, a list of ports, range of ports or common ports
- Limit output to only show open ports
- Check multiple hosts via an input file of hostnames(and ports)
- Threaded to improve performance for large number of ports

set-iphelper-token

This module creates the token file and stores the token used for interface with ipinfo.io.

To get your token, go to https:/ipinfo.io/missingauth

speak

Speak text from command-line or text file.

Features:

- Input from command line or file
- Selectable accents (see --list option for values)
- Control cadence/speed of voice

wol-cli

Send Wake-on-LAN (WOL) packet to device.

WOL is a standard for Ethernet and Token-Ring which allows a computer to be turned on or awakened from sleep-mode via a network message.

A 'magic' packet is sent to the MAC address of the target device, which if enabled, will signal the device to wake-up.

This module allows the user to send WOL to hostnames and IPs in addition to the MAC address. This is accomplished by leveraging a cache that this program maintains which relates the MAC to IP and hostname.

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

dt_cli_tools-0.1.9.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

dt_cli_tools-0.1.9-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file dt_cli_tools-0.1.9.tar.gz.

File metadata

  • Download URL: dt_cli_tools-0.1.9.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.6 Windows/10

File hashes

Hashes for dt_cli_tools-0.1.9.tar.gz
Algorithm Hash digest
SHA256 2ad46d870cf1104c0faf8eb1d74d20a3b9383a3384037f7ce955d5efd4478060
MD5 130a7d3c5606d26af28b37ffd34b49e8
BLAKE2b-256 fe4ea13239ce1bda185eb6b2176e9cf1524af86cc0a8ca313ecbb20be8453ee4

See more details on using hashes here.

File details

Details for the file dt_cli_tools-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: dt_cli_tools-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.6 Windows/10

File hashes

Hashes for dt_cli_tools-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 181a141cdc14194118fda0e4bd78ffa9843350a20b5ebe550764d1a74567f58b
MD5 30ffbc7f75722716880e782f923e53be
BLAKE2b-256 f3bf7bf15172f8a945b5e9c1dcc199163ef44e2a29fa511c6c952f29c0c656cc

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