473,231 Members | 1,699 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,231 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 2684
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: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.