Skip to content

Latest commit

 

History

History
76 lines (54 loc) · 1.75 KB

README.md

File metadata and controls

76 lines (54 loc) · 1.75 KB

Tracert logo

Tracert

Description

This package implements a traceroute tool faster than traceroute/tracert executable but less accurate for response and without hostname resolution.

Requirements

This package require :

  • python3
  • python3 Standard Library
  • Scapy
  • PythonToolsKit

Installation

pip install Tracert

Usages

Command lines

python3 -m Tracert 8.8.8.8
python3 Tracert.pyz dns.google.com
Tracert 8.8.4.4
Tracert --help
Tracert -h
Tracert -6 -t 2 -r 5 -s 64 dns.google.com

Python3

from Tracert import tracert

tracert("8.8.8.8")
tracert("dns.google.com", 6, 64, 2, 5)

Links

Help

usage: traceroute.py [-h] [-4 | -6] [--timeout TIMEOUT] [--retry RETRY] [--max-steps MAX_STEPS] destination

Fast tracert tool.

positional arguments:
  destination           IP or hostname you want to trace.

options:
  -h, --help            show this help message and exit
  -4                    Force IPv4.
  -6                    Force IPv6.
  --timeout TIMEOUT, -t TIMEOUT
                        Timeout for each ping.
  --retry RETRY, -r RETRY
                        Number of retry for each steps.
  --max-steps MAX_STEPS, -s MAX_STEPS
                        Maximum steps to trace.

Licence

Licensed under the GPL, version 3.