2024-11-04 19:30:49 +07: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