Skip to content

Instantly share code, notes, and snippets.

@atpons
Created April 17, 2017 06:48
Show Gist options
  • Select an option

  • Save atpons/133cead9104d22e752d5af5151ffbdc8 to your computer and use it in GitHub Desktop.

Select an option

Save atpons/133cead9104d22e752d5af5151ffbdc8 to your computer and use it in GitHub Desktop.
from scapy.all import *
target = "192.168.0"
for i in range(2,254):
dst = target + "." + str(i)
print "FROM %s" % (dst)
print getmacbyip(dst)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment