How to submit data (form) to html page and grab data in the middle?

addres site: http://www.ynet.co.il/YediothPortal/Ext/TalkBack/CdaTalkBack/1,2497,L-3650194-0-68-544-0--,00.html

  • fill out the form with rubbish.
  • Click "Submit"
  • the form is submitting data in another HTML without any parsing of the data I just added.

How do they do it?

+1


source to share


3 answers


A likely option is that they are using a content management system where the "html" in the url does not actually mean a static html file.



+3


source


Edit based on clarified question:

Lots of frameworks can be configured to intercept an html request - for example, asp.net can be configured to handle any given extension, and the HTTPModule can do something about it. It really depends on the configuration of the web server, what it chooses to do with any request.



also: you really don't want to say "hijacking"

0


source


It might be off the left margin, but I definitely used a random JS function to grab everything in the header and either parse it or feed it to another script using AJAX.

I sometimes use this method on a 404.html page to grab the titles of the previous page, parse them to see where someone was trying to go and redirect them.

That is, as annakata said, one of the many options available.

0


source







All Articles