This tool performs NTP-Amplification tests using the server pools specified in config.json to locate public NTP servers. These servers can reflect packets toward a specified target. You may also provide your own list of NTP servers. Only run this tool against systems you are authorized to test.
LEGAL NOTICE: This tool is intended strictly for educational purposes and authorized defensive testing. Unauthorized use against systems you do not own or lack explicit written permission for may be illegal and subject to civil or criminal penalties. The author accepts no responsibility for misuse.
Scapy needs root privileges to send packets, therefore this script requires root privileges.
System
sudo apt update &&
sudo apt install python3-scapy ntp -yPyPi
sudo pip install ntp-amplification
sudo ntp-amplificationFrom source
pip install -r requirements.txt
sudo python3 ntp_amplification.py _   _ _____ ____         _    __  __ ____  _     ___ _____ ___ _____ ____
| \ | |_   _|  _ \       / \  |  \/  |  _ \| |   |_ _|  ___|_ _| ____|  _ \
|  \| | | | | |_) |____ / _ \ | |\/| | |_) | |    | || |_   | ||  _| | |_) |
| |\  | | | |  __/_____/ ___ \| |  | |  __/| |___ | ||  _|  | || |___|  _ <
|_| \_| |_| |_|       /_/   \_\_|  |_|_|   |_____|___|_|   |___|_____|_| \_\
NTP-Amplification Attack Tool v1.7.2
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
lint
pre-commit run --all-filestest
sudo coverage run -m unittest ntp_amplification_test.py
coverage report -m --include=ntp_amplification.pypublish
python3 setup.py sdist bdist_wheel
python3 -m twine upload --verbose dist/*