Skip to content

Instantly share code, notes, and snippets.

@Yi-Tseng
Created July 26, 2016 06:42
Show Gist options
  • Select an option

  • Save Yi-Tseng/8861c6d5ea9c5b440050ca03c3379887 to your computer and use it in GitHub Desktop.

Select an option

Save Yi-Tseng/8861c6d5ea9c5b440050ca03c3379887 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
from scapy.all import sendp
from time import sleep
def main():
count = 1
while(1):
p = "\xc0\xff\xee\xffHello%d" % (count, )
count += 1
sendp(p, iface = "eth0")
sleep(1)
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment