Skip to main content

NTP-Amplification Attack Tool

Project description

NTP-Amplification

license version build Debian Compatible

Tool for NTP-Amplification attack. It uses the pools specified in the config.json to scan for public ntp-servers, these servers will be used to attack the specified target. You can also pass in a list of ntp-servers yourself.

Disclaimer

This tool is designed for educational purposes only, i do not support the use for any illegal activities. Only use this on networks you own or have permission for.

Note

Scapy needs root privileges to send packets, so this script requires root privileges.

Requirements

System

sudo apt update &&
sudo apt install python3-scapy ntp -y

Installation

PyPi

sudo pip install ntp-amplification
sudo ntp-amplification

From source

pip install -r requirements.txt
sudo python3 ntp_amplification.py

Usage

 _   _ _____ ____         _    __  __ ____  _     ___ _____ ___ _____ ____
| \ | |_   _|  _ \       / \  |  \/  |  _ \| |   |_ _|  ___|_ _| ____|  _ \
|  \| | | | | |_) |____ / _ \ | |\/| | |_) | |    | || |_   | ||  _| | |_) |
| |\  | | | |  __/_____/ ___ \| |  | |  __/| |___ | ||  _|  | || |___|  _ <
|_| \_| |_| |_|       /_/   \_\_|  |_|_|   |_____|___|_|   |___|_____|_| \_\


NTP-Amplification Attack Tool v1.7.0

USAGE: ntp-amplification [options] <target ip>
OPTIONS:
 -h, --help: Show this help message and exit
 -s, --server: Specify ntp server list
 -c, --config: Specify config file
EXAMPLE: ntp-amplification -s example-servers.txt 192.168.2.1

Developer notes

lint

pre-commit run --all-files

test

sudo coverage run -m unittest ntp_amplification_test.py
coverage report -m --include=ntp_amplification.py

publish

python3 setup.py sdist bdist_wheel
python3 -m twine upload --verbose dist/*

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

ntp_amplification-1.7.1.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

ntp_amplification-1.7.1-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

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