Python Forum
Scapy, creating response for GET request.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scapy, creating response for GET request.
#1
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.
Reply
#2
You are asking us to help you in creating man in the middle tool?
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
No, I have the code already. I just don't know how to responds to GET request using scapy.
Reply
#4
I think here is one example.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#5
This is what I was lookig for. Thanks for help.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Scapy Basics Shivi 0 945 Sep-25-2023, 07:37 AM
Last Post: Shivi
  How to send a HTTP response packet using scapy JeffreyStoner 0 2,667 Apr-18-2022, 05:23 AM
Last Post: JeffreyStoner
  How to get every IP found by a Scapy traceroute? jao 0 2,460 Feb-06-2022, 01:00 AM
Last Post: jao
  scapy wifi scan to get payload \ data korenron 0 2,150 Nov-16-2021, 01:47 PM
Last Post: korenron
  can I set scan interval for scapy? korenron 0 2,330 Dec-31-2020, 01:43 PM
Last Post: korenron
  scapy trazom 1 2,634 Aug-30-2020, 04:17 PM
Last Post: micseydel
  network and scapy trazom 0 2,067 Aug-16-2020, 03:54 PM
Last Post: trazom
  Need Help with creating an IP packet with timestamp field using Scapy RTD 0 3,485 Jun-15-2019, 08:21 PM
Last Post: RTD
  GET Request and JSON response montyonthebonty 9 7,573 Sep-27-2018, 07:28 AM
Last Post: buran
  sniffing real time with pyshark or scapy jeanapala 2 7,463 Nov-16-2017, 09:07 PM
Last Post: jeanapala

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020