473,396 Members | 1,834 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,396 software developers and data experts.

https dialog

Hello NG,

I'm looking for a while for doc's to understand how to delelop my own
https client to automate some tasks.
The website, I try to use for example, contains a javasript to provide
for login (URL: https://www.cortalconsors.de/euroWebDe/-).
I've attached the part of the code which is supplies the login fields
(probably easier to read when browsing the source code of the page).
I've no idea, how the POST should look like to do the login.

Any help is appreciated. Is there any literature I can read to get a
understanding of running a https-session with a own (Java)-programmed
client.

================================================== =======================
<td valign="top" class="login">
<div class="login">
<script src="parts/content/content.js" type="text/javascript"></script>
<form
action="/euroWebDe/-;jsessionid=GqL2n4hXxlsDHpcfQTp1FtMyYcYnqrvz4kyJM8 HyDnrp4d13CXGy!-732185349"
method="post" name="Home.login-status.visitor">
Kontonummer/UserID<input class="field" name="userId" style="width:
11em;" id="id468417253_userId"><br>
PIN/Passwort<input type='password' autocomplete='off' class="field"
name="nip" style="width: 11em;" id="id468417253_nip"><br>
<input name="$$event_loginStatusLogin" type="image"
src="images/euroPort/design/de/buttons/btxl_login.gif" title="Login"
class="form-button"><br>
<a
href="/euroWebDe/-;jsessionid=GqL2n4hXxlsDHpcfQTp1FtMyYcYnqrvz4kyJM8 HyDnrp4d13CXGy!-732185349?$part=Home.login-status.visitor&$event=forwardToAccountOpening"
class="form-field">Konto er&ouml;ffnen</a>
/
<a_href="/euroWebDe/-;jsessionid=.....$part=Home.login-status.visitor&$event=forwardToSecurityHint"
class="form-field">Sicherheitshinweis</a><br>
<input type="hidden" name="$part" value="Home.login-status.visitor" >
</form>
</div>
</td>
================================================== ================================================== ===

Ulrich
Apr 21 '07 #1
6 1938
VK
On Apr 21, 5:11 pm, Ulrich Schmidt <U...@gmx.dewrote:
I'm looking for a while for doc's to understand how to delelop my own
https client to automate some tasks.
I'm not sure what do you mean by "https client to automate some
tasks". Will it be running on server or on client? For the latter for
JavaScript there is no difference where to submit() form data - by
HTTP or by HTTPS.
The website, I try to use for example, contains a javasript to provide
for login (URL:https://www.cortalconsors.de/euroWebDe/-).
I've attached the part of the code which is supplies the login fields
(probably easier to read when browsing the source code of the page).
I've no idea, how the POST should look like to do the login.
document.forms['Home.login-status.visitor'].submit();

Apr 21 '07 #2
VK schrieb:
On Apr 21, 5:11 pm, Ulrich Schmidt <U...@gmx.dewrote:
>I'm looking for a while for doc's to understand how to delelop my own
https client to automate some tasks.

I'm not sure what do you mean by "https client to automate some
tasks". Will it be running on server or on client? For the latter for
JavaScript there is no difference where to submit() form data - by
HTTP or by HTTPS.
I want to write a java-client to "negotiate" with given webservers. I
want to replace the browser by my own program to automatically, what I'm
ought to do with my firefox. I want to retrieve special infos from a
list of pages and for some I need to do a login.
Retrieving data w/o login is not a problem, but I don't know and can't
find the syntax how to issue commands to do the login.
In this very sample I found by trace, that firefox issues the commands:
GET parts/content/content.js HTTP/1.0
Accept: */*
Accept-Language: de-de,en-us;q=0.8,en;q=0.5,de-at;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

I did this trace by copying the login-html-code from the page source to
a webserver. Though I don't have the script parts/content/content.js, I
don't know how to go further - and cannot trace mor data.
It would be helpful to be able to trace the browser; but a sniffer won't
help much because of the https-connection.

Ulrich
Apr 22 '07 #3
VK
On Apr 22, 12:50 pm, Ulrich Schmidt <U...@gmx.dewrote:
I want to write a java-client to "negotiate" with given webservers.
If you want java-client then ask at comp.lang.java.help

JavaScript !== Java

Apr 22 '07 #4
VK schrieb:
JavaScript !== Java
I know this. My question wasn't about java programming but about
http-protocol, html and javascript. I thought that people in this NG
might know about this.
Apr 22 '07 #5
VK
JavaScript !== Java
I know this.
If you do then why are you saying "java-client" with Javascript in
mind? It is like saying "- I need a PHP script (written in Perl of
course)". It is not pin-pointing from my side: both Java and
Javascript allow to write applications to communicate with server,
many times people mixes the language names while asking - so it is
normal to double check.
My question wasn't about java programming but about
http-protocol, html and javascript. I thought that people in this NG
might know about this.
They do and they will be glad to help I'm sure. It is just not clear
why are bothering with the low-level HTTP communication and especially
with HTTPS mechanics is you are making Javascript-client. Javascript
doesn't let to access local certificate store and to manually encrypt
data to send. As I said in my first post for say ajaxoid or plain old
submit() / iframe it is equal whether to POST http or https page - the
internal UA blocks will take care of it. For you it is the same
MyAJAX.open('POST', myURL, true);

Take a look to http://www.ajaxtoolbox.com and say that is missing in
the functionality you are seeking. That may be quicker than go by
question/answer.
Apr 22 '07 #6
VK schrieb:
>>JavaScript !== Java
>I know this.

If you do then why are you saying "java-client" with Javascript in
mind? It is like saying "- I need a PHP script (written in Perl of
course)". It is not pin-pointing from my side: both Java and
Javascript allow to write applications to communicate with server,
many times people mixes the language names while asking - so it is
normal to double check.
I had asked previously at a java group, but could not get help. I don't
want to use javascript for my task. I just wanted to find out the
http-commands I need to do the logon.
>
>My question wasn't about java programming but about
http-protocol, html and javascript. I thought that people in this NG
might know about this.

They do and they will be glad to help I'm sure. It is just not clear
why are bothering with the low-level HTTP communication and especially
with HTTPS mechanics is you are making Javascript-client. Javascript
doesn't let to access local certificate store and to manually encrypt
data to send. As I said in my first post for say ajaxoid or plain old
submit() / iframe it is equal whether to POST http or https page - the
internal UA blocks will take care of it. For you it is the same
MyAJAX.open('POST', myURL, true);
It's not just for using the low level http, though I'd like to
understand more of it. I couldn't really figure out what I need to
specify, to do the login; which fields with which values have to be
posted. In the meantime I found the hpptLiveHeader-plugin for firefox to
trace the commandflow - and its very helpful. But I'm still looking for
a "compendium" to get the whole picture. Just googeling is very time
consuming and I've got not much leisure-time to learn about this.
>
Take a look to http://www.ajaxtoolbox.com and say that is missing in
the functionality you are seeking. That may be quicker than go by
question/answer.
Thanks, I will have a look
>
Apr 24 '07 #7

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

Similar topics

9
by: Troot | last post by:
Hi all, In mind this is a daft question, but here goes. My hosts allow secure https logins on specific directories. What I want to do is have a login screen in flash, if the user enters the...
1
by: Ashutosh Bhalerao | last post by:
Hi all, I am trying to write a VB.Net application which communicates over SSL with an IIS server. I have got a temporary certificate from Verisign and installed it on IIS. I am using...
14
by: Peter Chant | last post by:
I'm currently authenticating a site I have built using basic http authentication built into apache. This has zero overhead on php which is a bonus but it seems to not quite work how I'd like. ...
4
by: Drew | last post by:
I have been looking all over the web for an example of how to accomplish this. I am trying to download a comma seperated file from a https server. I can't establish the connection - the error reads...
7
by: Ryan Taylor | last post by:
Hi. I have some code that dynamically generates a PDF and spits this content directly to the web browser. I use HTMLDoc to create the Pdf's from html. So the user can click on a button "Print...
6
by: Angelos | last post by:
Hello, For long time now I am trying to POST some variables from a form to a script and then that script POST them to another External page or payment gateway like worldpay. The reason I want...
3
by: tomb | last post by:
Saeid Bagheri asked a very good question, and I've seen this question here before but I have never seen it answered. Can VB.Net desktop apps utilize https? If so, how? Tom
1
by: jdp | last post by:
I've created an asp.net 2.0 site that has secure and non secure pages so, obviously, it has a login page. The web.sitemap file has the url set to the relative location of the page, meaning https...
1
by: phil.jacobs | last post by:
Hi there, I am very stuck and have tried everything on this one! I am trying to get to an https website and cannot work out how to logon. When I log on manually, I have to enter username and...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.