Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change a packet data with scapy?

Tags:

scapy

How can one change a packet data with scapy?

I tried to use sniff() and then send() the edited packet, but it won't work as the original packet has already reached it's destination.

like image 578
iTayb Avatar asked Sep 01 '25 18:09

iTayb


1 Answers

"but it won't work as the original packet has already reached it's destination."

So first you need to setup some MiTM solution so all the communications between both ends traverse though your device, and let you modifiy packet data.

Some wll known software pacakages for this functionality /attack are ettercap and cain/abel.

like image 137
user943523 Avatar answered Sep 06 '25 21:09

user943523