![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Write a program that automatically fill a Internet (web) formhi guys
I need to write a program that automatically fill a internet (web) form. Someone can help me ? Tanks. |
|||
|
#2
|
||||
|
||||
Re: help: network programingQuote:
Many HTML forms use the HTTP REQUEST POST method. The data format and structure of this kind of "request" is extremely well-documented. Search the RFCs starting with 1945, which is probably enough for most forms that will actually accept a post method and 2616 for those that might otherwise have "issues." (not that I'd know what they are, I'm not a "web" programmer) A very simple test would be to set up your own web site that echos back the contents of a form submission using the post method. You could also use the get method, but I'd probably start with post. Then I'd write a stupid-simple C++ (or even C) program that opens a socket, connects to the respective server on the assigned port (probably 80) and sends the HTTP REQUEST using the POST method. It ain't very tough and I haven't done it since about 1995 or 1996, so it may have changed somewhat. Experiment with your GET method, too. This will be the <form action="...get or post..."> part of the form. If you have some kind of working basis from which you're starting, use the HTTP REQUEST [method] specified in the form code. Basically, you'll be creating a query string with the variable name and the value and sending them to the server. telnet [host] [port] ...is your friend. So is creating a listener socket on the localhost that listens on the port that you would submit your request to so that you can see how your browser forms requests to various forms online that you would potentially use as guidelines for creating your own. The code is absolutely trivial (once you understand it!), so have some fun with it. There are literally dozens of websites that provide these kinds of fundamental services without fee. If you have a server that has a PHP processor, then you can very easily use "phpinfo" as an "echo server" for your requests with very little effort. The key to all of this is understanding the HTTP. See RFC 1945. There really isn't much too it and it is about as common as stars in the skies at night in the middle of nowhere. MxB |
|
#3
|
|||
|
|||
Re: Write a program that automatically fill a Internet (web) formDo you want to write malicious code ?
|
Recent GIDBlog
Vista ?Widgets? on Windows XP by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help Old Computer Linux Network Planning | 6795 | Computer Software Forum - Linux | 1 | 09-Dec-2007 21:56 |
| network card problem - cannot connect to Internet | newbie06 | Computer Software Forum - Linux | 4 | 01-Feb-2007 06:16 |
| Now You Can Network Play Red Alert Winxp | antoinefinch | Computer Software Forum - Games | 3 | 04-Aug-2006 08:48 |
| Working with Network !! | kaiser3519 | MS Visual C++ / MFC Forum | 1 | 08-Jun-2006 01:11 |
| Network etiquette article | crystalattice | Open Discussion Forum | 0 | 01-Oct-2004 14:38 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The