473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Simulate Web Form Input.

I need to log into a web page automatically.

The web page has a password text field and a login button.
(A form?)

How do I simulate that a user logged in and entered the password
and pressed the login button?

TIA.
Jul 23 '05 #1
10 2692
JustSomeGuy wrote:
I need to log into a web page automatically.
Then do it.
The web page has a password text field and a login button.
(A form?)
Thats what most use. A form that you submit.
How do I simulate that a user logged in and entered the password
and pressed the login button?


Hmmmm. Maybe by filling in the username password and clicking the login
button?

Maybe a little more explanation of what you are trying to do. Of the
three groups you posted to, only 2 can help you. You can't do what you
are describing with plain HTML.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #2
"JustSomeGuy" <no**@nottelling.com> wrote in message
news:zoGud.484253$%k.323851@pd7tw2no...
I need to log into a web page automatically. The web page has a password text field and a login button.
(A form?)

How do I simulate that a user logged in and entered the password
and pressed the login button?

"Tim Tyler" <ti*@tt1lock.org> wrote in message news:I8********@bath.ac.uk... I'm after some software that tracks down past postings on usenet, and
uses some heuristics to compose new messages along similar lines.

The same sort of thing that people use to make computer-generated
bach compositions - IOW.
__________
|im |yler http://timtyler.org/ ti*@tt1lock.org Remove lock to reply.


An insane child is posing as multiple users on usenet, "posting" clipped pages
from some paranoid delusion on the Kennedies, etc. The purpose of the identity
theft is to
offend the real person into replying to a cross-posted message, to flood
news.admin.net-abuse.email with irate users.

The person desiring to cause misery to usenet users is now asking for assistance
in programming the job. Consider this before helping: Do you actually want to
flood the newsgroups you read with spam?

-:|:-
AngleWyrm
Jul 23 '05 #3
JustSomeGuy wrote:
I need to log into a web page automatically.
Some browsers will let you store username/passwords for you. Is that
what you want?
The web page has a password text field and a login button. (A form?)
So it seems. Url?
How do I simulate that a user logged in and entered the password and
pressed the login button?


Simulate how? I'm not clear on what you want. Perhaps you can cofigure
your server to allow certain ip addresses access with a satisfy any command.

Your post is off-topic for ciwah, so I've trimmed this response's x-posting.

--
Brian (remove "invalid" to email me)
Jul 23 '05 #4
I'm not sure I know what to make of this response...
Jul 23 '05 #5
On Sun, 12 Dec 2004 17:58:57 GMT, JustSomeGuy <no**@nottelling.com> wrote:
I'm not sure I know what to make of this response...


I think the poster is expressing dismay that you would be attempting to
make a spider, or something like it, which would automatically fill in
forms and log into sites, and is speculating on the nature of your
motivations for doing such a thing.

I was going to reply to your original post, but I didn't know enough about
what you were trying to accomplish really, and wasn't sure what to ask to
fill out the information. But certainly a bit more detail on what you're
trying to do would help others give more relevant, perhaps even helpful,
responses.
Jul 23 '05 #6

"Neal" <ne*****@yahoo.com> wrote in message
news:op**************@news.individual.net...
On Sun, 12 Dec 2004 17:58:57 GMT, JustSomeGuy <no**@nottelling.com> wrote:
I'm not sure I know what to make of this response...


I think the poster is expressing dismay that you would be attempting to
make a spider, or something like it, which would automatically fill in
forms and log into sites, and is speculating on the nature of your
motivations for doing such a thing.

I was going to reply to your original post, but I didn't know enough about
what you were trying to accomplish really, and wasn't sure what to ask to
fill out the information. But certainly a bit more detail on what you're
trying to do would help others give more relevant, perhaps even helpful,
responses.


Yes I guess that might be a 'security' issue. Basically I'm logging into a
device that has a web interaface and I'm automating the interface. The
first step is to log into the device. Hence the first form is a login.
I have the html to this device and hence know the 'variables' that need to
be set. I'm simply not sure of the HTML POST/GET procedure at this point.
Jul 23 '05 #7
"JustSomeGuy" <no**@nottelling.com> wrote:
I need to log into a web page automatically.
The web page has a password text field and a login button.
(A form?)


wget is great for this sort of thing.

Bill, for sym in $(cat symbs.txt); do for stat in $(cat stats.txt); do wget
"http://user:pa**@example.com/getdata.php?sym=$sym;stat=$stat"; done; done
Jul 23 '05 #8
comp.lang.javascript FAQ - http://jibbering.com/faq
"JustSomeGuy" <no**@nottelling.com> wrote in message
news:Z00vd.473380$Pl.75019@pd7tw1no...

"Neal" <ne*****@yahoo.com> wrote in message
news:op**************@news.individual.net...
On Sun, 12 Dec 2004 17:58:57 GMT, JustSomeGuy <no**@nottelling.com> wrote:
I'm not sure I know what to make of this response...
I think the poster is expressing dismay that you would be attempting to make a spider, or something like it, which would automatically fill in forms and log into sites, and is speculating on the nature of your
motivations for doing such a thing.

I was going to reply to your original post, but I didn't know enough about what you were trying to accomplish really, and wasn't sure what to ask to fill out the information. But certainly a bit more detail on what you're trying to do would help others give more relevant, perhaps even helpful, responses.


Yes I guess that might be a 'security' issue. Basically I'm logging

into a device that has a web interaface and I'm automating the interface. The first step is to log into the device. Hence the first form is a login. I have the html to this device and hence know the 'variables' that need to be set. I'm simply not sure of the HTML POST/GET procedure at this

point.

http://host/path/to/page.cgi?userNam...sword=password

The above will work assuming that the device accepts a GET. The text of
"userName" and "userPassword" would be the names of the inputs on the
login form. You may also need to include some additional hidden
parameters and values from the original form.

Note that if your device puts a unique session id into a hidden input on
the login form or something similar, then the above simply will not
work.

--
Grant Wagner <gw*****@agricoreunited.com>
Jul 23 '05 #9
In article <zoGud.484253$%k.323851@pd7tw2no>, no**@nottelling.com
says...
I need to log into a web page automatically.

The web page has a password text field and a login button.
(A form?)

How do I simulate that a user logged in and entered the password
and pressed the login button?


More info is definately needed here.
What development language are you talking about?
Is this to be a standalone program or...?
Jul 23 '05 #10

"Mr.Clean" <mrclean@p&g.com> wrote in message
news:1103143233.8faa1e2c2db71cd6f1c7d5b41952a2ee@t eranews...
In article <zoGud.484253$%k.323851@pd7tw2no>, no**@nottelling.com
says...
I need to log into a web page automatically.

The web page has a password text field and a login button.
(A form?)

How do I simulate that a user logged in and entered the password
and pressed the login button?


More info is definately needed here.
What development language are you talking about?
Is this to be a standalone program or...?


This is a c++ program for which html classes exist.
Jul 23 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Christian | last post by:
Hello, As the subject says it, is there a way to simulate a special keypress in JS ? In my case, on loading an HTML page, i'd like to set the cursor at the end of the input text of an <input...
3
by: q2005 | last post by:
Hi, all Is that possible I can do window.open("http://xserver1/app/typ/test/tesServer.php?aaa=111&bbb=222&ccc= 333","","") to simulate a POST ACTION with a form rather than a GET ACTION? Jack
8
by: JustSomeGuy | last post by:
I need to log into a web page automatically. The web page has a password text field and a login button. (A form?) How do I simulate that a user logged in and entered the password and pressed...
2
by: dast | last post by:
I want to simulate an input and post into a web page and than download the web page that is opened after the correct input! The web page exists of an user input form with userid and password, after...
0
by: Yandos | last post by:
Hello all, I'm sorry for a bit off-topic post, but curl does not have own newsgroup, so I hope someone might help me here... I need to feed form like the following using libcurl: <form...
2
by: Eli | last post by:
HI! I made some quiz using one HTML form (few question with few radio-button each like potential answers) that have one Submit button. I would like to simulate click on this button (e.g. named...
3
by: John Dalberg | last post by:
I have an app that keeps popping up a windows with a 'Yes' or 'OK' button on it. I am trying to write a little app that automates hitting the enter key so I don't have to do it myself. I used...
6
by: BarryX | last post by:
Hi, How do I simulate this from the server side: <form name="SearchForm" method="POST" id="SearchForm" action="http://SOMEURL/Search.ASP?Parm1=1&Parm2=2"> I have generally been posting data...
1
by: amphibian1 | last post by:
Hello, I am writing a C# command line application that uploads files to a website. Basically, imagine this form in a web application: <form method="post" enctype="mulipart/form-data"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.