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.
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.
Since this script uses scapy, it needs to have root privileges, if you install it with pip, you need to install it with sudo.
System
sudo apt update &&
sudo apt install python3-scapy ntp -y
PyPi
sudo pip install ntp-amplification
sudo ntp-amplification
From source
pip install -r requirements.txt
sudo python3 ntp_amplification.py
_ _ _____ ____ _ __ __ ____ _ ___ _____ ___ _____ ____
| \ | |_ _| _ \ / \ | \/ | _ \| | |_ _| ___|_ _| ____| _ \
| \| | | | | |_) |____ / _ \ | |\/| | |_) | | | || |_ | || _| | |_) |
| |\ | | | | __/_____/ ___ \| | | | __/| |___ | || _| | || |___| _ <
|_| \_| |_| |_| /_/ \_\_| |_|_| |_____|___|_| |___|_____|_| \_\
NTP-Amplification Attack Tool v1.5.4
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-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/*