i posting question after doing lot of searching scapy, saw interesting tool craft packets , send them in wire. didnt found possibility use tool capture incoming packets , redirect them right destination based on information found in packet (http request). thank in advance
you can capture packets sniff()
function, modify them , send them sendp()
.
from scapy.all import * while true: pkts = sniff(count=1) # stuff on pkts[0] sendp(pkts[0])
Comments
Post a Comment