Last active
March 6, 2018 13:58
-
-
Save jjsantanna/c637ac27f60cc13d9133e1970ae6c072 to your computer and use it in GitHub Desktop.
Spoofed NTP request with scapy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scapy.all import * | |
spoofedIPsrc="" | |
NTPserver="59.188.133.225" | |
ntpRequest = IP(src=spoofedIPsrc,dst=aNTPserver) / UDP(dport=123,sport=50000)/("\x1b\x00\x00\x00"+"\x00"*11*4) | |
sr1(ntpRequest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment