2024-10-15 10:21:53 +09:00

16 lines
202 B
Python

#!/usr/bin/env python
__author__ = "bt3gl"
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