Get page with authentication code

Get page with authentication code

am 05.09.2007 11:46:27 von coldwind2010

Hi!
I want to post a form to a page,and get the output of the page.
But the post value includes a authentication code which is 13 figures
and change every time.
I use curl fuction to do so.
I try to get the authentication code at first time,and then post the
form with authentication code to the page.
But it's not help.

Do you have some good methods?
Thank you!

Re: Get page with authentication code

am 05.09.2007 11:53:09 von Erwin Moller

coldwind2010 wrote:
> Hi!
> I want to post a form to a page,and get the output of the page.
> But the post value includes a authentication code which is 13 figures
> and change every time.
> I use curl fuction to do so.
> I try to get the authentication code at first time,and then post the
> form with authentication code to the page.
> But it's not help.
>
> Do you have some good methods?

Contact the owner of the site and ask for a general authenticationcode?
My guess is they DO change the code every day to avoid leeching their site.
We cannot possibly help you with generating an always-working code.

Regards,
Erwin Moller

> Thank you!
>

Re: Get page with authentication code

am 05.09.2007 11:54:36 von Jerry Stuckle

coldwind2010 wrote:
> Hi!
> I want to post a form to a page,and get the output of the page.
> But the post value includes a authentication code which is 13 figures
> and change every time.
> I use curl fuction to do so.
> I try to get the authentication code at first time,and then post the
> form with authentication code to the page.
> But it's not help.
>
> Do you have some good methods?
> Thank you!
>

Without knowing a lot more details, no.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: Get page with authentication code

am 05.09.2007 12:00:00 von Bucky Kaufman

coldwind2010 wrote:
> Hi!
> I want to post a form to a page,and get the output of the page.
> But the post value includes a authentication code which is 13 figures
> and change every time.
> I use curl fuction to do so.
> I try to get the authentication code at first time,and then post the
> form with authentication code to the page.
> But it's not help.
>
> Do you have some good methods?
> Thank you!

It can be done, but it's a monumental task that duplicates processes
already established in the industry.

It's called Public Key Encryption.

Step 1 - forget about your existing 13-character passcode - it can be
hacked in about an hour.

When/If you're ready to take that step, lots of folks here will be happy
to help you.

Re: Get page with authentication code

am 05.09.2007 14:50:20 von colin.mckinnon

On 5 Sep, 11:00, Sanders Kaufman wrote:
> coldwind2010 wrote:
> > Hi!
> > I want to post a form to a page,and get the output of the page.
> > But the post value includes a authentication code which is 13 figures
> > and change every time.
> > I use curl fuction to do so.
> > I try to get the authentication code at first time,and then post the
> > form with authentication code to the page.
> > But it's not help.
>
> > Do you have some good methods?
> > Thank you!
>
> It can be done, but it's a monumental task that duplicates processes
> already established in the industry.
>
> It's called Public Key Encryption.
>

1) that's not really the solution to the OP's problem - presumably he
doesn't control the remote end to get the authentication system re-
written. The only sensible reason for using a 13 digit single use
password is to prevent leeching - it should be *very* straightforward
to strip this from the responses - I don't understand why the OP
thinks it's a problem.

2) Client side certificates are *not* a monumental task - they're very
easy to implement - not least because of the likes of cacert.org
providing a free CA service.

C.

Re: Get page with authentication code

am 05.09.2007 15:00:09 von Bucky Kaufman

C. wrote:
> On 5 Sep, 11:00, Sanders Kaufman wrote:

>> It can be done, but it's a monumental task that duplicates processes
>> already established in the industry.
>>
>> It's called Public Key Encryption.
>>
>
> 1) that's not really the solution to the OP's problem - presumably he
> doesn't control the remote end to get the authentication system re-
> written. The only sensible reason for using a 13 digit single use
> password is to prevent leeching - it should be *very* straightforward
> to strip this from the responses - I don't understand why the OP
> thinks it's a problem.


Because it puts the "secret code" in the HTML for the client's browser -
effectively publishing it to the world.

The kind of security he's asking for is not possible. To solve his
problem, he'll have to ditch his current method, and implement a PK
scheme of some sort.


> 2) Client side certificates are *not* a monumental task - they're very
> easy to implement - not least because of the likes of cacert.org
> providing a free CA service.

No - that's not monumental.
But rolling your own CA system would be.
The hardest part would probably be negotiating a partnership agreement
with Dow Jones.

Re: Get page with authentication code

am 05.09.2007 18:02:44 von Jerry Stuckle

Sanders Kaufman wrote:
> C. wrote:
>> On 5 Sep, 11:00, Sanders Kaufman wrote:
>
>>> It can be done, but it's a monumental task that duplicates processes
>>> already established in the industry.
>>>
>>> It's called Public Key Encryption.
>>>
>>
>> 1) that's not really the solution to the OP's problem - presumably he
>> doesn't control the remote end to get the authentication system re-
>> written. The only sensible reason for using a 13 digit single use
>> password is to prevent leeching - it should be *very* straightforward
>> to strip this from the responses - I don't understand why the OP
>> thinks it's a problem.
>
>
> Because it puts the "secret code" in the HTML for the client's browser -
> effectively publishing it to the world.
>
> The kind of security he's asking for is not possible. To solve his
> problem, he'll have to ditch his current method, and implement a PK
> scheme of some sort.
>
>
>> 2) Client side certificates are *not* a monumental task - they're very
>> easy to implement - not least because of the likes of cacert.org
>> providing a free CA service.
>
> No - that's not monumental.
> But rolling your own CA system would be.
> The hardest part would probably be negotiating a partnership agreement
> with Dow Jones.

Maybe I misread it, but it sounds like the op wanted to use CURL to
fetch a page which has the 13 digit code on it (which changes every
time), not create a page with the code.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================