NTP-Amplification Attack Tool
Project description
NTP-Amplification
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ntp_amplification-1.7.1.tar.gz
.
File metadata
- Download URL: ntp_amplification-1.7.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0rc2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a92fb3fc70dbf87db8b640815832af79e73f9a75f6fd196c8e1faf4646df3c2b |
|
MD5 | 124ed2fcffb39934f5c0bbd52c9a6c6c |
|
BLAKE2b-256 | fc186ed6cfc57be62eab19af58af537aa46b4f73a23d3a56debdd929b011a1e1 |
File details
Details for the file ntp_amplification-1.7.1-py3-none-any.whl
.
File metadata
- Download URL: ntp_amplification-1.7.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0rc2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 524e577fa81de8c6702c888e02d6eb9635b89352bb068cedb2114e7455862a37 |
|
MD5 | 1b0d019de3a48e4355628a10ffa7263b |
|
BLAKE2b-256 | 4e804d16e3bfe3dd5bff0868324ab67c87cad6432037ef70fec6ceb37d4e6aec |