Diego, I have been using the website.org site to test the code injector. Obviously I’m not trying to inject code into the Firefox homepage. After I start the python script to capture packets from the website I then go to my browser and put in Website.org. The code I’m running doesn’t yet change any website HTML it only modifies the load, so I can get the HTML elements in my terminal in plain text. The request show up in my terminal as the page tries to load. It continues to send out request after request but with no response received in my browser or terminal. I know this because my browser stalls while trying to load website.org. It gets stuck on the new tab page and can’t load the page. I also know this because the terminal only shows [+]Request over and over. I also know its sending request to website.org because using .show() on the packet before its sent the packet is asking for website.org. And yes my browser works normally when no iptables rules are set. It loads website.org correctly when the script is not running with iptables rules set.
I hope you understand my problem now and what’s really happening I want to move on to other sections but this is holding me back.