Scapy, creating response for GET request. - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: Scapy, creating response for GET request. (/thread-14620.html) |
Scapy, creating response for GET request. - SyRex1013 - Dec-09-2018 Hello, I built code to sniff GET requests. When I detect GET request I drop it (using other tool I stop it from reaching the router) and then I want to create fake response with html code of webpage. How can I do that? I tried but after GET I need to send ACK before sending the code and I don't know how to send ACK. RE: Scapy, creating response for GET request. - wavic - Dec-10-2018 You are asking us to help you in creating man in the middle tool? RE: Scapy, creating response for GET request. - SyRex1013 - Dec-10-2018 No, I have the code already. I just don't know how to responds to GET request using scapy. RE: Scapy, creating response for GET request. - wavic - Dec-11-2018 I think here is one example. RE: Scapy, creating response for GET request. - SyRex1013 - Dec-11-2018 This is what I was lookig for. Thanks for help. |