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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
“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.