some simple examples with scapy

This commit is contained in:
Mari Wahl 2014-12-23 17:59:03 -05:00
parent a1bbf061c1
commit ffb92e0614
5 changed files with 72 additions and 15 deletions

View file

@ -0,0 +1,15 @@
#!/usr/bin/env python
__author__ = "bt3"
from scapy.all import *
print conf.route
conf.route.add(host='192.168.118.2', gw='192.168.1.114')
print conf.route
conf.route.resync()
print conf.route